Table of Contents
How to acquire API tokens
To gain access to Västtrafiks public API's a Västtrafik developer account is necessary, which can be created here. This allows for the creation of applications, which can subscribe to the available API's. Note: the applications have access to API's, not the account.
Creation of an account also creates a unique client identifier, secret and an authentication key. Each application has to fetch an access token to API's using the authentication key.
Duration of validity
It nowhere states the duration of which a developer account and its applications are valid, which leads me to think that they are valid indefinitely, unless the applications connected to a developer account breaks the restrictions, at which point Västtrafik has the right to delete the offending account. Västtrafik also has the right to stop support of any and all API's at any given time.
The client identifier, secret and an authentication key are bound to the account and therefore follow the above.
Access tokens are valid for 24 hours.
Restrictions
All Västtrafik API's follow the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication license, which can be read here.
Västtrafik also have their own terms of use, which can be read here.
Fetching data
Under construction API documentation
Data received
Under construction API documentation
1. Setup
2. Standards
- Coding Conventions
- Issues
- Branch creation
- Reviews
- Implementation Standards
- [WIP] Creating new databases
- Localization
3. Models and Diagrams
4. Testing
5. Documentation
- Documentation for service endpoints
- API documentation
- Webpage Design
- Secrets and .env
- Evaluations
- Installation and Rebuild script documentation
6. Guides and How-to's
7. Micro Service Mockup Api
- Guidelines Mircro Service Mockup
- Documentation of useTemperature/useTemperatureTimeSeries mockup sensor