Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/janisha1/ts-jp-busboard

Pair Project using command line/ node: Uses TfL API to return next 5 buses at nearest 2 bus stops to a user inputted (command line) postcode
https://github.com/janisha1/ts-jp-busboard

api command-line node postcode postman

Last synced: 13 days ago
JSON representation

Pair Project using command line/ node: Uses TfL API to return next 5 buses at nearest 2 bus stops to a user inputted (command line) postcode

Awesome Lists containing this project

README

        

#BusBoard
Using TfL API and Postcodes.io
- User enters a postcode.
- Return the next 5 buses at the nearest 2 bus stops.

#Console Application - On command line enter:-
- mkdir busBoard
- npm init - accept defaults or amend as required
- npm install node-fetch
- npm install readline-sync

#Links
TfL API:
https://api-portal.tfl.gov.uk/apis

Postcodes.io:
http://api.postcodes.io/