How do I pull API data from a webpage?

May 2, 2025 2 answers
Asked by Minty_Math
I'm trying to make an API request to retrieve data from the charts on a webpage I've linked above. However, when I execute the request, the charts come back blank. This is my first time attempting something like this. What am I doing wrong? Also, are there any resources available to help me understand this process better? Thanks! I've been using the app (api teste) and my code looks like this: curl -X GET 'https://beemaps.com/network/contributors/splendid-fuschia-honeybee'.

Answers

4lane.serdes
It looks like your request is successful, but after receiving the data back, you need to check how you're processing it. Are you parsing the response correctly? If the response structure doesn't match what you're expecting, that might be why the charts are empty. Also, make sure to look into the specific data format they return (like JSON) and how you're trying to extract the relevant information from it.
Reply to this answer
_glassblower
You mentioned wanting to use the data in Google Sheets. Have you considered using Google Apps Script to help with that? You could set up a function to fetch the data directly from your API request. There are plenty of tutorials online that walk you through fetching data from APIs into Google Sheets.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions