npm package: @linxside/motis-axios-client
Description: OpenAPI client for @linxside/motis-axios-client
Author: OpenAPI-Generator Contributors
Latest version: 0.0.2

## @linxside/motis-axios-client@0.0.2

This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:

Environment
* Node.js
* Webpack
* Browserify

Language level
* ES5 - you must have a Promises/A+ library installed
* ES6

Module system
* CommonJS
* ES6 module system

It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))

### Building

To build and compile the typescript sources to javascript use:
```
npm install
npm run build
```

### Publishing

First build the package then run `npm publish`

### Consuming

navigate to the folder of your consuming project and run one of the following commands.

_published:_

```
npm install @linxside/motis-axios-client@0.0.2 --save
```

_unPublished (not recommended):_

```
npm install PATH_TO_GENERATED_PACKAGE --save
```

### Documentation for API Endpoints

All URIs are relative to *https://api.transitous.org*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DebugApi* | [**transfers**](docs/DebugApi.md#transfers) | **GET** /api/debug/transfers | Prints all transfers of a timetable location (track, bus stop, etc.)
*GeocodeApi* | [**geocode**](docs/GeocodeApi.md#geocode) | **GET** /api/v1/geocode | Autocompletion &amp; geocoding that resolves user input addresses including coordinates
*GeocodeApi* | [**reverseGeocode**](docs/GeocodeApi.md#reversegeocode) | **GET** /api/v1/reverse-geocode | Translate coordinates to the closest address(es)/places/stops.
*MapApi* | [**initial**](docs/MapApi.md#initial) | **GET** /api/v1/map/initial | initial location to view the map at after loading based on where public transport should be visible
*MapApi* | [**levels**](docs/MapApi.md#levels) | **GET** /api/v1/map/levels | Get all available levels for a map section
*MapApi* | [**rentals**](docs/MapApi.md#rentals) | **GET** /api/v1/rentals | Get a list of rental providers or all rental stations and vehicles for a map section or provider 
*MapApi* | [**routes**](docs/MapApi.md#routes) | **GET** /api/experimental/map/routes | Given an area frame (box defined by the top-right and bottom-left corners), it returns all routes and their respective shapes that operate within this area. Routes are filtered by zoom level. On low zoom levels, only long distance trains will be shown while on high zoom levels, also metros, buses and trams will be returned. 
*MapApi* | [**stops**](docs/MapApi.md#stops) | **GET** /api/v1/map/stops | Get all stops for a map section
*MapApi* | [**trips**](docs/MapApi.md#trips) | **GET** /api/v5/map/trips | Given a area frame (box defined by top right and bottom left corner) and a time frame, it returns all trips and their respective shapes that operate in this area + time frame. Trips are filtered by zoom level. On low zoom levels, only long distance trains will be shown while on high zoom levels, also metros, buses and trams will be returned. 
*RoutingApi* | [**oneToAll**](docs/RoutingApi.md#onetoall) | **GET** /api/v1/one-to-all | Computes all reachable locations from a given stop within a set duration. Each result entry will contain the fastest travel duration and the number of connections used. 
*RoutingApi* | [**oneToMany**](docs/RoutingApi.md#onetomany) | **GET** /api/v1/one-to-many | Street routing from one to many places or many to one. The order in the response array corresponds to the order of coordinates of the \\&#x60;many\\&#x60; parameter in the query. 
*RoutingApi* | [**oneToManyIntermodal**](docs/RoutingApi.md#onetomanyintermodal) | **GET** /api/experimental/one-to-many-intermodal | One to many routing Computes the minimal duration from one place to many or vice versa. The order in the response array corresponds to the order of coordinates of the \\&#x60;many\\&#x60; parameter in the query. 
*RoutingApi* | [**oneToManyIntermodalPost**](docs/RoutingApi.md#onetomanyintermodalpost) | **POST** /api/experimental/one-to-many-intermodal | One to many routing Computes the minimal duration from one place to many or vice versa. The order in the response array corresponds to the order of coordinates of the \\&#x60;many\\&#x60; parameter in the request body. 
*RoutingApi* | [**oneToManyPost**](docs/RoutingApi.md#onetomanypost) | **POST** /api/v1/one-to-many | Street routing from one to many places or many to one. The order in the response array corresponds to the order of coordinates of the \\&#x60;many\\&#x60; parameter in the request body. 
*RoutingApi* | [**plan**](docs/RoutingApi.md#plan) | **GET** /api/v5/plan | Computes optimal connections from one place to another.
*TimetableApi* | [**stoptimes**](docs/TimetableApi.md#stoptimes) | **GET** /api/v5/stoptimes | Get the next N departures or arrivals of a stop sorted by time
*TimetableApi* | [**trip**](docs/TimetableApi.md#trip) | **GET** /api/v5/trip | Get a trip as itinerary


### Documentation For Models

 - [Alert](docs/Alert.md)
 - [AlertCause](docs/AlertCause.md)
 - [AlertEffect](docs/AlertEffect.md)
 - [AlertSeverityLevel](docs/AlertSeverityLevel.md)
 - [Area](docs/Area.md)
 - [Category](docs/Category.md)
 - [Direction](docs/Direction.md)
 - [Duration](docs/Duration.md)
 - [ElevationCosts](docs/ElevationCosts.md)
 - [EncodedPolyline](docs/EncodedPolyline.md)
 - [FareMedia](docs/FareMedia.md)
 - [FareMediaType](docs/FareMediaType.md)
 - [FareProduct](docs/FareProduct.md)
 - [FareTransfer](docs/FareTransfer.md)
 - [FareTransferRule](docs/FareTransferRule.md)
 - [Initial200Response](docs/Initial200Response.md)
 - [Itinerary](docs/Itinerary.md)
 - [Leg](docs/Leg.md)
 - [LocationType](docs/LocationType.md)
 - [Match](docs/Match.md)
 - [Mode](docs/Mode.md)
 - [ModelError](docs/ModelError.md)
 - [OneToManyIntermodalParams](docs/OneToManyIntermodalParams.md)
 - [OneToManyIntermodalResponse](docs/OneToManyIntermodalResponse.md)
 - [OneToManyParams](docs/OneToManyParams.md)
 - [ParetoSetEntry](docs/ParetoSetEntry.md)
 - [PedestrianProfile](docs/PedestrianProfile.md)
 - [PickupDropoffType](docs/PickupDropoffType.md)
 - [Place](docs/Place.md)
 - [Plan200Response](docs/Plan200Response.md)
 - [Reachable](docs/Reachable.md)
 - [ReachablePlace](docs/ReachablePlace.md)
 - [Rental](docs/Rental.md)
 - [RentalFormFactor](docs/RentalFormFactor.md)
 - [RentalPropulsionType](docs/RentalPropulsionType.md)
 - [RentalProvider](docs/RentalProvider.md)
 - [RentalProviderGroup](docs/RentalProviderGroup.md)
 - [RentalReturnConstraint](docs/RentalReturnConstraint.md)
 - [RentalStation](docs/RentalStation.md)
 - [RentalVehicle](docs/RentalVehicle.md)
 - [RentalVehicleType](docs/RentalVehicleType.md)
 - [RentalZone](docs/RentalZone.md)
 - [RentalZoneRestrictions](docs/RentalZoneRestrictions.md)
 - [Rentals200Response](docs/Rentals200Response.md)
 - [RiderCategory](docs/RiderCategory.md)
 - [RouteColor](docs/RouteColor.md)
 - [RouteInfo](docs/RouteInfo.md)
 - [RoutePathSource](docs/RoutePathSource.md)
 - [RoutePolyline](docs/RoutePolyline.md)
 - [RouteSegment](docs/RouteSegment.md)
 - [Routes200Response](docs/Routes200Response.md)
 - [ServerConfig](docs/ServerConfig.md)
 - [StepInstruction](docs/StepInstruction.md)
 - [StopTime](docs/StopTime.md)
 - [Stoptimes200Response](docs/Stoptimes200Response.md)
 - [TimeRange](docs/TimeRange.md)
 - [Transfer](docs/Transfer.md)
 - [Transfers200Response](docs/Transfers200Response.md)
 - [TransitRouteInfo](docs/TransitRouteInfo.md)
 - [TripInfo](docs/TripInfo.md)
 - [TripSegment](docs/TripSegment.md)
 - [VertexType](docs/VertexType.md)


<a id="documentation-for-authorization"></a>
## Documentation For Authorization

Endpoints do not require authorization.