tfl-api-wrapper
Advanced tools
Comparing version 1.1.1 to 1.1.2
import Line from './lib/line'; | ||
import StopPoint from './lib/stopPoint'; | ||
import AirQuality from './lib/airQuality'; | ||
export { AirQuality, Line, StopPoint }; | ||
import Disruptions from './lib/disruptions'; | ||
export { AirQuality, Disruptions, Line, StopPoint }; |
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
exports.StopPoint = exports.Line = exports.AirQuality = void 0; | ||
exports.StopPoint = exports.Line = exports.Disruptions = exports.AirQuality = void 0; | ||
var line_1 = require('./lib/line'); | ||
@@ -10,1 +10,3 @@ exports.Line = line_1.default; | ||
exports.AirQuality = airQuality_1.default; | ||
var disruptions_1 = require('./lib/disruptions'); | ||
exports.Disruptions = disruptions_1.default; |
export interface config { | ||
app_id: string; | ||
app_key: string; | ||
} |
{ | ||
"name": "tfl-api-wrapper", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A Node JS wrapper for the Transport for London API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
<p align="center"> | ||
<img width="200" src="https://blog.tfl.gov.uk/wp-content/uploads/2018/05/cropped-logo_roundel-2.png" alt="TfL Logo"> | ||
<h1 align="center">TfL API Wrapper</h1> | ||
<p align="center">A NodeJS wrapper for the TfL Unified API, made with TypeScript.</p> | ||
<p align="center">Read the <a href="https://tfldoc.dparture.cc/">Doumentation</a></p> | ||
</p> | ||
A Node JS wrapper for the Transport for London API and made with TypeScript | ||
`npm install tfl-api-wrapper` | ||
## Documentation | ||
[Click here](https://tfldoc.dparture.cc/) | ||
## Installation | ||
``` | ||
npm install tfl-api-wrapper | ||
yarn add tfl-api-wrapper | ||
``` | ||
@@ -19,3 +22,2 @@ ## Example Usage | ||
const config = { | ||
app_id: '', | ||
app_key: 'API KEY HERE', | ||
@@ -32,3 +34,2 @@ }; | ||
const config = { | ||
app_id: '', | ||
app_key: 'API KEY HERE', | ||
@@ -35,0 +36,0 @@ }; |
39270
22
1351
37