This question has already been answered:
- Working with json in python 2 responses
I make a bot for the news channel in Telegram, I encountered such a problem: I get json from vk api, but I can't parse it. Tell me how to do this? json view:
response: [{ id: 210700286, first_name: 'Lindsey', last_name: 'Stirling', city: { id: 5331, title: 'Los Angeles' }, photo_50: 'https://pp.vk.me/...f6e/4-funfNRMwg.jpg', verified: 1 }] I understand that I can not parse it because of the response, but how to remove it?
print(repr(response))). Describe what information you want to extract and what exactly is your problem with the code. If it is possible to make a request to vk outside the telegram, then remove the mention of the telegram from the question (solve one problem at a time). - jfs