Php classes to retrieve and post data to AdaFruit IO platform.
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.MD
adafruitio.php

README.MD

This is a small library written in PHP, which aims to send/retrieve data to/from the AdaFruit IO platform.

Example of use:

//wrapper to your AIO account
$aio = new AdaFruitIO(MY_ADAFRUIT_IO_PRIVATE_KEY);

//obtain a wrapper for the feed called "Test":
$feed = $aio->getFeed("Test");
$feed->send(1234); //sends "1234" to the feed called "Test"
echo $feed->get(); // echoes the last value sent to the feed, i.e. "1234"