I ask you to tell, I want to collect the number of records from the wall in VK, with the help of vk api
rs = vk.method('wall.get', { 'owner_id': owner_id ,"type": "text", 'count':1 }) comes the following dictionary:
[{u'attachments': [{u'photo': {u'access_key': u'21056d213f1c2d2d71', u'album_id': -7, u'date': 1501688727, u'height': 438, u'id': 456239202, u'owner_id': -142538016, u'photo_130': u'https://pp.userapi.com/c638329/v638329561/57ef4/SOC0CP8A0ds.jpg', u'photo_604': u'https://pp.userapi.com/c638329/v638329561/57ef5/8fc4dhhgwtI.jpg', u'photo_75': u'https://pp.userapi.com/c638329/v638329561/57ef3/enpGwhRr0_Y.jpg', u'post_id': 1224, u'text': u'', u'user_id': 100, u'width': 604}, u'type': u'photo'}],... type (rs) Out[73]: dict len (rs) Out[74]: 2 I want to get only the number of posts, for example, only regular expressions come to mind, but for sure you can send a request to get just what I need. Please help.