Get the current weather for Sydney

BOM observations for Sydney Observatory Hill. Temperature, humidity, wind, rainfall.

Steps

  1. 1Call /v1/weather/sydney.
  2. 2Read temperature_c, wind_kmh.

Code

cURL
curl https://api.ausdata.io/v1/weather/sydney \
  -H "Authorization: Bearer YOUR_KEY"
Python
import requests
r = requests.get(
    "https://api.ausdata.io/v1/weather/sydney",
    headers={"Authorization": "Bearer YOUR_KEY"},
)
print(r.json())
JavaScript
const r = await fetch("https://api.ausdata.io/v1/weather/sydney", {
  headers: { Authorization: "Bearer YOUR_KEY" },
});
console.log(await r.json());

Watch out for

  • BOM updates every 30 minutes. Do not call more often than that.

Related

Try it now

500 free calls per month. No credit card.

Get a free API key