1.0.0 • Published 6 months ago

ouifi-portal-client v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

ouifi-portal-client

Query information from the OUIFI WiFi portal in French OuiGo TGV trains.

npm version ISC-licensed minimum Node.js version support me via GitHub Sponsors chat with me on Twitter

Installation

npm install ouifi-portal-client

Usage

const portal = require('ouifi-portal-client')

console.log(await portal.gps())
{
	success: true,
	timestamp: 1698911703,
	speed: 88.433,
	latitude: 45.098646667,
	longitude: -0.365341667,
	altitude: 38.11,
	heading: 27.4,
	fix: 9,
}

Related

Contributing

If you have a question or need support using ouifi-portal-client, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.