API for real-time weather data,forecasts and conditions
Weather API Documentation
A Weather API is like a personal meteorologist, giving you real-time weather information for any location. You can use it to add weather features to websites, apps, or even smart home systems, keeping you informed about the climate and making your projects more interactive.
Base URL
https://santechapi.vercel.app
Authentication
headers : {
"token" : {YOUR API KEY}
}
Endpoint : weather/location/{:q}
Parameters:
{q}: Random location from the user
HTTP Method: Get
Example request
GET Weather/location/chennai
Example Response
200
Error Handling
In case of an error, the API will respond with an appropriate HTTP status code and an error message in the response body.