How to hit the Weatherstack API

Weatherstack at https://api.weatherstack.com returns current, historical, and forecast weather for a location name, coordinates, postal code, or IP. Errors come back as HTTP 200 with success: false.

Authentication

Sign up at weatherstack.com for an access key, passed as access_key in the query string. In the examples it's written {{WEATHERSTACK_ACCESS_KEY}}. The free plan has a monthly call limit.

Full reference: https://weatherstack.com/documentation

Current weather

units: m (metric), f (Fahrenheit), s (scientific).

curl "https://api.weatherstack.com/current?access_key={{WEATHERSTACK_ACCESS_KEY}}&query=New%20York&units=f"
Run in PostTaco