skip to Main Content

Python JSON returning None value (Telegram API)

I am trying to return the user id of new members who join a telegram group, I can get the JSON data but I cannot retrieve values from a level deeper: code: def new_chat_members(self, bot, update): print(update) print(update['message']) print(update['message']['from']) print(update['message'].get('from'))…

VIEW QUESTION

Manipulate the response from Facebook API

Having this response from Facebook Graph API: "data": [ { "name": "page_impressions", "period": "day", "values": [ { "value": 0, "end_time": "2019-04-16T07:00:00+0000" }, { "value": 0, "end_time": "2019-04-17T07:00:00+0000" } ], "title": "Daily Total Impressions", "description": "Daily: The number of times any…

VIEW QUESTION
Back To Top
Search