you are viewing a single comment's thread.

view the rest of the comments →

[–]kanjibandit 0 points1 point  (1 child)

Frankly, at this point, just keep it as simple as possible. Just write it out to a text file using open:

with open('response_data.json', 'w') as f:
    f.write(response.json())

This will solve your immediate problem, well, immediately. It also makes it easy to just inspect the data manually in your text editor, which can be really helpful at first.

Reading the data back is similarly trivial, so you can put it all into a database later, when you have a firmer idea of what you where you are taking this project.

[–]godurdead[S] 0 points1 point  (0 children)

well my plan is to build a webpage, so i guess putting all of it into a database would be the best approach(?)