curl --request GET \
--url http://pinpoint.devops.arabiaweather.com/forecast/{id}{
"locations": [
{
"id": "<string>",
"info": {
"name": {
"en": "<string>",
"ar": "<string>"
},
"lat": 123,
"lng": 123,
"timezone": "<string>",
"elevation": 123,
"countryCode": "<string>",
"regionId": "<string>"
},
"hourly": [
{
"time": 123,
"period_of_day": "morning",
"is_day": true,
"local_time": "2023-11-07T05:31:56Z",
"data": {}
}
],
"daily": [
{
"date": "2023-12-25",
"day_time": {},
"night_time": {},
"hijri": {}
}
],
"segments": [
{}
]
}
]
}Replies with JSON object containing the hourly and daily forecasts for a single location specified by the ‘id’ parameter
curl --request GET \
--url http://pinpoint.devops.arabiaweather.com/forecast/{id}{
"locations": [
{
"id": "<string>",
"info": {
"name": {
"en": "<string>",
"ar": "<string>"
},
"lat": 123,
"lng": 123,
"timezone": "<string>",
"elevation": 123,
"countryCode": "<string>",
"regionId": "<string>"
},
"hourly": [
{
"time": 123,
"period_of_day": "morning",
"is_day": true,
"local_time": "2023-11-07T05:31:56Z",
"data": {}
}
],
"daily": [
{
"date": "2023-12-25",
"day_time": {},
"night_time": {},
"hijri": {}
}
],
"segments": [
{}
]
}
]
}Location ID or comma-separated list of location IDs
Start time for the forecast (e.g., 'now', 'today', or ISO date string)
Forecast interval in hours
Comma-separated list of weather parameters to include (e.g., 'surface.visibility,surface.temperature')
Whether to include hourly forecasts
Whether to include Hijri date information
Whether to apply overrides to the forecast data
Whether to include location information
Whether to use the current cache if available (default: true). Setting cache=false will invalidate the cache and return fresh data.
Segmented overview mode ('true', 'false', 'day', '3hrs', '6hrs')
true, false, day, 3hrs, 6hrs Whether to include daily forecast overview
Weather model to use
Timezone to use for the forecast (if not specified, uses location's timezone)
Whether to include consumer warnings
Comma-separated list of status details to include
Weather forecast data
Show child attributes