SamR1 / FitTrackee

Self-hosted outdoor activity tracker :bicyclist:
https://samr1.github.io/FitTrackee
GNU Affero General Public License v3.0
725 stars 44 forks source link

Get weather data using an alternative API #51

Open SamR1 opened 4 years ago

SamR1 commented 4 years ago

Since DarkSky joins Apple (see blog post), new registrations are no longer accepted and the API will be deprecated by the end of 2021 support for the Dark Sky API will end on March 31st, 2023.


Features provided by DarkSky used by FitTrackee:

2 calls are made for a workout (at start and end gpx points)


Some alternatives: (not exhaustive)

DarkSky Meteostat OpenWeather (One Call API 3.0) Open-Meteo Visual Crossing
Free calls 1,000/day 500/month 1,000/day fair use 1,000/day
Temperature :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Humidity :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Wind (speed & direction) :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark: :heavy_check_mark:
Icon label :heavy_check_mark: :x: :heavy_check_mark: :x: :heavy_check_mark:
Historical data by a timestamp :heavy_check_mark: :x: :heavy_check_mark: :x: :white_check_mark: (on hour period)
Data Licence CC BY-NC 4.0 CC BY-NC 4.0 CC BY-NC 4.0
Misc EOL : March 2023 Historical data only on hourly period Matches parameters of Dark Sky API.
Payment info required.
Matches parameters of Dark Sky API.
No credit card required.

Links:

Other API to be considered:

SamR1 commented 3 years ago

It looks like support is extended:

By Adam Grossman on June 7, 2021.

Update: Support for the Dark Sky API service for existing customers will continue until the end of 2022. The iOS app and Dark Sky website will also be available until the end of 2022.

SamR1 commented 2 years ago

last update:

By Adam Grossman on June 6, 2022.

Update: As previously announced, the Dark Sky iOS app will no longer be available beginning on December 31st, 2022 and, as of this date, already purchased versions of the app will no longer provide weather data. The Dark Sky API and website will continue to function until March 31st, 2023.

gorgobacka commented 2 years ago

How about: https://dev.meteostat.net/ ? I think, only a specific number of requests is free. But maybe it's enough.

jat255 commented 2 years ago

Looks like meteostat allows 500 requests monthly; that seems like it would be enough for most users unless you're running a service for many different users.

image

I think this is important because DarkSky is no longer allowing sign ups for new API keys

I may start playing with this a little bit to see if I can get something working.

SamR1 commented 2 years ago

I updated the issue about features used be FitTrackee.

One of features provided by DarkSky is that it provides historical data over long periods (it's useful when importing "old" files).

jat255 commented 2 years ago

Here's another potential one: https://www.visualcrossing.com/resources/blog/how-to-replace-the-dark-sky-api-using-the-visual-crossing-timeline-weather-api/

jat255 commented 2 years ago

Some research results:

SamR1 commented 1 year ago

Visual Crossing is now available in FitTrackee v0.7.11, thanks @jat255 for the PR.