nemiah/php-silence

Simple class for getting scooter data from silence server

dev-main 2023-05-31 14:12 UTC

This package is auto-updated.

Last update: 2024-10-30 02:21:39 UTC


README

Get your Silence scooter data from their servers in JSON format

I send a big thank you to https://github.com/lorenzo-deluca/homeassistant-silence for reverse engineering the API!

Usage:

composer require nemiah/php-silence:dev-main

Make an instance and get the data:

$api = new nemiah\phpSilence\api($email, $password);
$scooters = $api->getData();

foreach($scooters AS $scooter)
	print_r($scooter);

Contributions:

Sure, just send me a PR!