Skip to content

A global weather API that can get the data of any location all over the world.

License

Notifications You must be signed in to change notification settings

MatyilaSango/gw-weather-api-v2

Repository files navigation

gw-weather-api-v2

A weather API that provides the weather data in the form of a JSON file.

Home page

Confirms that the API is running.

Commands.

You can get the goe location object of the endpoints using the Locations endpoint.

Name Description Endpoint Method Body
Home Home page /api/v2 GET
Locations Locations data /api/v2/Locations POST { "city": "Cape Town" }
Today Today weather data /api/v2/Today POST { "city": "Cape Town", "geo": { "long": "18.543", "lat": "-33.915" } }
Hourly Hourly data for the next 10 hours max /api/v2/Hourly POST { "city": "Cape Town", "geo": { "long": "18.543", "lat": "-33.915" } }
Daily Daily weather data. Day 0 is the current day; Day 1 is the next day after today; etc. /api/v2/Daily POST { "city": "Cape Town", "geo": { "long": "18.543", "lat": "-33.915" }, "day": "0" }
Mothly Monthly weather data /api/v2/Mothly POST { "city": "Cape Town", "geo": { "long": "18.543", "lat": "-33.915" } }

Deployed on Vercel

Link to the API: 'to be added'

About

A global weather API that can get the data of any location all over the world.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published