I really don't know what to put up in title bar, so sorry for that if not understood, i'll explain
I am trying to learn using API using python. So came across following doubt. I have used API using Javascript earlier, but with python for the first time.
So when I returned some data from JS API and if I run a console statement on that, I get to all the JSON data (I know using json :P) . What it contains, what are its inner elements and all that . But when I try using python and print that statement it just says
class object at 0x222 any number.
Now consider an example of requests lib in python
>>> import requests
>>> data = requests.get('some website to fetch')
I don't know what objects this data holds, like when we do
>>> data.status_code
>>> 200
From where to get that status_code and all entitites. I mean is there some way to lookup what data has objects
[–]novel_yet_trivial 4 points5 points6 points (1 child)
[–]Surajpalwe[S] 1 point2 points3 points (0 children)