Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "response": {
- "count": 3,
- "items": [{
- "id": 456239019,
- "album_id": -7,
- "owner_id": -166846311,
- "user_id": 100,
- "sizes": [{
- "type": "m",
- "url": "https://pp.userap...083/tD87PSkocW8.jpg",
- "width": 130,
- "height": 120
- }, {
- "type": "o",
- "url": "https://pp.userap...085/UJaDLXeuNV0.jpg",
- "width": 130,
- "height": 120
- }, {
- "type": "p",
- "url": "https://pp.userap...086/gEWYBOibSG8.jpg",
- "width": 200,
- "height": 185
- }, {
- "type": "q",
- "url": "https://pp.userap...087/vDeZ23I4RyQ.jpg",
- "width": 320,
- "height": 295
- }, {
- "type": "r",
- "url": "https://pp.userap...088/gUYk9qMbuJY.jpg",
- "width": 466,
- "height": 430
- }, {
- "type": "s",
- "url": "https://pp.userap...082/6Sx8vXYnoDw.jpg",
- "width": 75,
- "height": 69
- }, {
- "type": "x",
- "url": "https://pp.userap...084/HxYbAUujcgU.jpg",
- "width": 466,
- "height": 430
- }],
- "text": "",
- "date": 1527182269,
- "post_id": 3
- }]
- }
- }
- #получаю id фотографии
- photo = api.photos.get(owner_id='-166846311', album_id='wall', count=0, offset=2)['items'][0]['id']
Add Comment
Please, Sign In to add comment