Skip to content

Developers

Welcome to the WeGlide developer section.

We offer three distinct services to work with: Public API, OAuth and Maps.

API

We encourage the use of our API. The interface enables read access to all the data publicly available on the Website (e.g. flights, aircraft, airports, users, clubs).

Please note that the API is not finalized. We are planing for API versioning to minimize breaking changes.

API Key

You can create an individual API key in your profile under Profile → Settings → Advanced → API Key. You can have a maximum of 2 API keys at once, and requests are rate limited to 60 per day.

We reserve the right to issue API keys to subscribers only.

The search endpoint enables text search for every data endpoint called "document". Multiple documents can be passed separated by comma like this: user,aircraft,airport.

Download your IGC files

You can download the IGC file of one of your own flights with your API key. Replace the flight id with yours and provide your key. This requires jq to read the response.

bash
KEY=wg_your_weglide_api_key
FLIGHT=123456

# Look up the IGC file path for the flight
FILE=$(curl -s -H "X-API-Key: $KEY" "https://api.weglide.org/v1/flightdetail/$FLIGHT" | jq -r .igc_file.file)

# Download the IGC file
curl -o "$FLIGHT.igc" "https://weglidefiles.b-cdn.net/$FILE"

This only works for your own IGC files.

OAuth

Our OAuth endpoints are used to integrate services or hardware with WeGlide. This allows you to interact with WeGlide in the name of individual users, such as uploading flights or editing tasks. Access to these features is granted by the users on a per-account basis via OAuth 2. The user has the power to revoke these permissions at any time.

You only need OAuth if you provide account specific WeGlide functionality to the users of your own public facing application, for example a flight computer or a weather service that uploads or reads flights on behalf of its users.

Please note that we do not grant OAuth access to hobby projects. We only grant it to trusted partners with a larger user base such as LX and SkySight, due to the manual setup labor and support involved. If you think you qualify, please contact us with your application name, company and logo.

Maps

Our maps are build by us with love and open data.

They are compatible with most modern mapping software thanks to open standards such as mapbox vector tiles and raster tiles.

We are planing to make our hosted maps available as a service with fair (talk cheaper than Mapbox/Maptiler etc.) billing. Please contact us so we know there is demand.