Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/janisha1/ts-jp-busboard
- Owner: Janisha1
- Created: 2023-07-06T15:06:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-13T23:48:22.000Z (over 1 year ago)
- Last Synced: 2024-11-14T17:30:32.484Z (2 months ago)
- Topics: api, command-line, node, postcode, postman
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/apisPostcodes.io:
http://api.postcodes.io/