Query information from the SNCF WiFi portal in French TGV trains.
npm install sncf-wifi-portal-client
const portal =portal
active: truestatus_code: 200status_description: 'ip has active grant'service_class: 5granted_bandwidth: 100000remaining_data: 75453consumed_data: 1346next_reset: 1568471384091profileId: 'AUTO-LOGIN-PROFILE-ID'
If you have a question or need support using
sncf-wifi-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.