Getting started with the API without Python

Hi all,

I’m currently building a system using GoLang and I would like to fetch data and are having some difficulties trying to navigate the documentation in how I can use an API endpoint to fetch the data. I’ve mostly found examples using the Python package.

For example, as a simple start, I would like to just fetch the current Co2 levels. How would the URL look like/be structure to do this?

I’ve already signed up for ADS and CDS.

See my instructions here:

Thanks! I’ve read through your instructions. But it seems to only be a trigger for a datafile to download? What about making a request and just directly getting the data in the response as json?

Is it possible to get it confirmed if getting a json response with data directly (instead of download url) is possible or not through the API?

Unlike the previous API where you would get a download location in one pass things are a two step process now, AFAIK. I’m afraid this is how things are now.

Data is always returned as either NetCDF or GRIB files, or at times zipped versions of these. In this respect the API is different from for example https://openweathermap.org/, in part because it is spatial data not point data.

I see, Thanks Koen! :pray:

1 Like