Guest User

Untitled

a guest
Jan 22nd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. import requests
  2.  
  3. url = 'https://api.vk.com/method/wall.get?owner_id=-***&count=2&access_token=***'
  4. res = str(requests.get(url).json())
  5. f = open('ResponseKeeper.txt', 'w')
  6. f.write(res)
  7. f.close
  8.  
  9. url = 'https://api.vk.com/method/wall.get?owner_id=-***&count=2&access_token=***'
  10. res = str(requests.get(url).json())
  11. print(res)
Add Comment
Please, Sign In to add comment