json api response to dict python code example
Example: convert response to json python
#You can use json.loads:
import json
import requests
response = requests.get(...)
json_data = json.loads(response.text)
#You can use json.loads:
import json
import requests
response = requests.get(...)
json_data = json.loads(response.text)