EngineeringDeveloper / layers

What should you wear to ride today?
0 stars 0 forks source link

Get Local Weather #1

Closed EngineeringDeveloper closed 1 year ago

EngineeringDeveloper commented 1 year ago

https://github.com/public-apis/public-apis

Weather

API Description Auth HTTPS CORS
7Timer! Weather, especially for Astroweather No No Unknown
AccuWeather Weather and forecast data apiKey No Unknown
Aemet Weather and forecast data from Spain apiKey Yes Unknown
apilayer weatherstack Real-Time & Historical World Weather Data API apiKey Yes Unknown
APIXU Weather apiKey Yes Unknown
AQICN Air Quality Index Data for over 1000 cities apiKey Yes Unknown
AviationWeather NOAA aviation weather forecasts and observations No Yes Unknown
ColorfulClouds Weather apiKey Yes Yes
Euskalmet Meteorological data of the Basque Country apiKey Yes Unknown
Foreca Weather OAuth Yes Unknown
HG Weather Provides weather forecast data for cities in Brazil apiKey Yes Yes
Hong Kong Obervatory Provide weather information, earthquake information, and climate data No Yes Unknown
MetaWeather Weather No Yes No
Meteorologisk Institutt Weather and climate data User-Agent Yes Unknown
Micro Weather Real time weather forecasts and historic data apiKey Yes Unknown
ODWeather Weather and weather webcams No No Unknown
Oikolab 70+ years of global, hourly historical and forecast weather data from NOAA and ECMWF apiKey Yes Yes
Open-Meteo Global weather forecast API for non-commercial use No Yes Yes
openSenseMap Data from Personal Weather Stations called senseBoxes No Yes Yes
OpenUV Real-time UV Index Forecast apiKey Yes Unknown
OpenWeatherMap Weather apiKey Yes Unknown
QWeather Location-based weather data apiKey Yes Yes
RainViewer Radar data collected from different websites across the Internet No Yes Unknown
Storm Glass Global marine weather from multiple sources apiKey Yes Yes
Tomorrow Weather API Powered by Proprietary Technology apiKey Yes Unknown
US Weather US National Weather Service No Yes Yes
Visual Crossing Global historical and weather forecast data apiKey Yes Yes
weather-api A RESTful free API to check the weather No Yes No
WeatherAPI Weather API with other stuff like Astronomy and Geolocation API apiKey Yes Yes
Weatherbit Weather apiKey Yes Unknown
Yandex.Weather Assesses weather condition in specific locations apiKey Yes No
EngineeringDeveloper commented 1 year ago

Reviewed all the options above Suggested Options

  1. Micro Weather
    • 10,000 Requests per month Free Tier - More than enough
    • 1M Request $35 Per month

      Example Response

      {
      "location": "London",
      "region": "City of London, Greater London",
      "country": "City of London, Greater London",
      "latitude": 51.52,
      "longitude": -0.11,
      "timezone": "Europe/London",
      "local_time": "2022-03-01 20:13",
      "forecast": [
      {
          "date": "2021-09-21",
          "max_temp_c": 21.8,
          "max_temp_f": 71.2,
          "min_temp_c": 13,
          "min_temp_f": 55.4,
          "avg_temp_c": 17.3,
          "avg_temp_f": 63.1,
          "will_it_rain": true,
          "chance_of_rain": 70,
          "condition": "Partly cloudy",
          "icon_url": "//cdn.weatherapi.com/weather/64x64/day/116.png",
          "sunrise": "06:45 AM",
          "sunset": "07:01 PM",
          "max_wind_mph": 4.3,
          "max_wind_kph": 6.8
      },
      {
          "date": "2021-09-22",
          "max_temp_c": 24.1,
          "max_temp_f": 75.4,
          "min_temp_c": 13.4,
          "min_temp_f": 56.1,
          "avg_temp_c": 18.1,
          "avg_temp_f": 64.6,
          "will_it_rain": false,
          "chance_of_rain": 0,
          "condition": "Partly cloudy",
          "icon_url": "//cdn.weatherapi.com/weather/64x64/day/116.png",
          "sunrise": "06:47 AM",
          "sunset": "06:58 PM",
          "max_wind_mph": 4.3,
          "max_wind_kph": 6.8
      }
      ]
      }

      2.Tomorrow

    • Unknown -sign up required
    • very time Detailed information - perhaps if more detail is needed
{
    "data": {
        "timelines": [
            {
                "timestep": "current",
                "startTime": "2021-03-24T14:47:00-04:00",
                "endTime": "2021-03-24T14:47:00-04:00",
                "intervals": [
                    {
                        "startTime": "2021-03-24T14:47:00-04:00",
                        "values": {
                            "precipitationIntensity": 0.0083,
                            "precipitationType": 1,
                            "windSpeed": 3,
                            "windGust": 6.98,
                            "windDirection": 21,
                            "temperature": 56.98,
                            "temperatureApparent": 55.87,
                            "cloudCover": 100,
                            "cloudBase": null,
                            "cloudCeiling": null,
                            "weatherCode": 4000
                        }
                    }
                ]
            },
  1. AccuWeather
    • 1500 Requests per Month (50/day) Free Tier
    • 225,000 PM $25 More Complex API
EngineeringDeveloper commented 1 year ago

Decided to Start with OpenWeatherMap 1000 free a day