Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
node-red-node-tfl
Advanced tools
Node-RED nodes to interrogate Transport-for-London (TfL) transport APIs for bus and Undergroound information
Node-RED nodes to interrogate Transport-for-London (TfL) transport APIs for bus and Underground information.
Run the following command in the root directory of your Node-RED install
npm install node-red-node-tfl
###Buses
Transport for London Buses and River Buses query node. Get live bus departure/arrival info for your bus stop.
This node enables the user to get bus or river bus arrival information for selected lines arriving at selected stops. The node returns the first vehicle/vessel to arrive at a particular stop. The data is provided by Transport for London.
If bus departures are scheduled from the specified stop then
the node sets msg.payload
to provide information about this bus:
In order to select your bus stop and line, you need to find bus stops first by searching for them based on a given GPS coordinate and a search radius around specified coordinate.
Before using this node, please sign up to <a href=https://api-portal.tfl.gov.uk/login target="_blank" style="text-decoration:underline;">Transport for London and accept the terms and conditions to gain access to the live feeds.
###Underground
Transport for London Underground query node.
This node enables the user to get the Transport for London status information for the selected London underground line. The node then sets the following properties:
msg.description
- text stating which line the status information is aboutmsg.payload.status
- the TfL CssClass, for example "GoodService", "DisruptedService"msg.payload.goodservice
- a boolean, true if msg.payload.status is "GoodService", false otherwisemsg.payload.description
- the description of the status, for example "Good Service", "Part Suspended"msg.payload.details
- the status details if they exist (they are only present when msg.payload.description is not "Good Service")msg.payload.branchdisruptions
- an array of information about the disruptions if any existmsg.data
- object containing the full information about the requested lineThe line can be selected from a list on the node UI, or fed into the node as the msg.payload.tubeline
of the message input when "Input Defined" is chosen in the UI.
Before using this node, please sign up to <a href=https://api-portal.tfl.gov.uk/login target="_blank" style="text-decoration:underline;">Transport for London and accept the terms and conditions to gain access to the live feeds.
Powered by TfL Open Data.
FAQs
Node-RED nodes to interrogate Transport-for-London (TfL) transport APIs for bus and Undergroound information
The npm package node-red-node-tfl receives a total of 2 weekly downloads. As such, node-red-node-tfl popularity was classified as not popular.
We found that node-red-node-tfl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.