The Australian Government coat of Arms

Communities of practice

Communities of practice

Quick Start: Examples & Resources for using ABS Data APIs with common software

Resources, tutorials or example files for consuming ABS APIs into common software.

Some of these resources are specifically for the ABS Data API, and some are for any RESTful SDMX API.

A good place to start in SDMX.org which has a great list of Software Tools for SDMX Implementers and Developers: https://sdmx.org/?page_id=4500

If you find a useful resource online or want to share your own work, please post it here.

1 Like

Read RESTful SDMX API into R:

1 Like

SDMX for the Python data ecosystem: https://pandasdmx.readthedocs.io/en/v1.0/

1 Like

About as basic as it comes, calling the ABS Data API with Powershell

Data is: Consumer Price Index, Percentage Change from Previous Period, All groups CPI for Australia

$uri = "https://api.data.abs.gov.au/data/CPI/1.10001.10.1.Q/all?startPeriod=2019"
		$apiKey = "<your-api-key-here>"
		Invoke-RestMethod -Uri $uri -Method 'Get' -Header @{ "x-api-key" = "$apiKey"; "accept" = "application/vnd.sdmx.data+csv"}
1 Like