commons-app / apps-android-commons

The Wikimedia Commons Android app allows users to upload pictures from their Android phone/tablet to Wikimedia Commons
https://commons-app.github.io/
Apache License 2.0
1.03k stars 1.23k forks source link

Nearby ships or planes without a picture #2535

Open nicolas-raoul opened 5 years ago

nicolas-raoul commented 5 years ago

(low priority)

The app's "Nearby" feature is mostly for things that do not move, so it does not include objects that don't have coordinates, even if they lack a picture:

Good news: Several web API give the identifiers of ships and planes around a given position. We would just need to retrieve nearby ships, match them to Wikidata items, and show the ones that need an P18 image. The APIs also give the more-or-less precise position of each ship, so we could show the items on the normal Nearby map. Bad news: As far as I know all of these APIs cost money.

If you know any freely usable API, please comment below, thanks! If there is a requests/day free tier we could make the feature opt-in or run it only when in an airport or port.

maskaravivek commented 5 years ago

@nicolas-raoul Can you share links to the paid APIs that you know. It would help in finding alternatives.

nicolas-raoul commented 5 years ago

Flights: The leader flightradar24 does not have an API, but OpenSky has one: https://opensky-network.org/apidoc/rest.html Surprisingly it seems to be free? Here are the terms of use: https://opensky-network.org/about/terms-of-use

Boats: https://api.vesselfinder.com/docs/ https://www.marinetraffic.com/en/ais-api-services/detail/ps05/vessel-positions-in-a-predefined-area both seem to cost money.