Python Forum
Next steps for using API data
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Next steps for using API data
#1
I'm very new to Python, and as a starter project I'm trying to use it to request data using an API which I then want to store in a csv file.

So far I have a working script that makes the API calls and stores the relevant data in a list. I'm a bit stuck as to where to go next to get this data into csv.

Each item in my list is a dictionary with some nested lists/dictionaries within. So I think I need to flatten the data before I can save to csv?

From the googling I've done so far, I think I may need to start looking at pandas - is this the right road to go down?

If anyone can suggest any useful resources/next steps I'd really appreciate it.
Reply


Messages In This Thread
Next steps for using API data - by Rebster - Oct-09-2020, 10:48 AM
RE: Next steps for using API data - by deanhystad - Oct-09-2020, 01:20 PM
RE: Next steps for using API data - by Rebster - Oct-09-2020, 03:36 PM
RE: Next steps for using API data - by buran - Oct-09-2020, 03:37 PM
RE: Next steps for using API data - by Skaperen - Oct-10-2020, 03:01 AM
RE: Next steps for using API data - by DPaul - Oct-10-2020, 07:03 AM
RE: Next steps for using API data - by perfringo - Oct-10-2020, 05:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Thumbs Up Sorting Steps MoreMoney 19 1,012 Mar-31-2024, 10:59 AM
Last Post: Pedroski55
  Keep Toggle View through Slider Steps yourboyjoe 1 1,704 Aug-10-2020, 07:32 PM
Last Post: Yoriz
  Files to store configuration and steps for a industrial process control application Danieru 1 1,827 Aug-03-2020, 05:43 PM
Last Post: buran
  Pexpect baby steps slouw 9 8,035 May-23-2019, 10:21 AM
Last Post: heiner55
  first steps with python3 hunnimonstr 5 4,616 Jul-03-2017, 08:49 PM
Last Post: hunnimonstr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020