You can use the in-built json() method to convert your HTTP response data to a python dict when you have a content-type of application/json . >>> r = requests. get(‘https://someurl.com’) >>> r.
Read moreHow do I integrate an API into my website?
How to Use an API
Read moreHow does Django integrate with API?
How to Build an API in Python (with Django)
Read more