DataZoa API Examples
From dataZoa Wiki
The dataZoa API can be very handy for simple ad hoc tasks.
You can use the API without programming, just using your everyday browser. For example, to get all of the series keys for a grouplist, enter:
https://www.datazoa.com/api/apimain.asp?func=SeriesFromGL&glname=YourGroupName&apikey=YourAPIKey
in your browser's address bar. The results will require some reformatting, but it's fast and effective.
Perhaps even simpler, if you are comfortable with Windows commandline Powershell, you can you can just do this:
(curl "https://www.datazoa.com/api/apimain.asp?func=SeriesFromGL&glname=YourGroupName&apikey=YourAPIKey | ConvertFrom-Json).payload
in your browser's address bar. The results will require some reformatting, but it's fast and effective.
(curl "https://www.datazoa.com/api/apimain.asp?func=SeriesFromGL&glname=AAB_Oil&apikey=nqgjhkiqeolhlhdpgbaigjppnapghaplppgnkbol" | ConvertFrom-Json).payload
Here are a few examples...
Example | Description |
---|---|
func=SeriesFromGL&glname=YourGroupName&apikey=YourAPIKey | Get the series keys from a grouplist |