Skip to main content

Module to communicate with APIdou, the connected plush

Project description

APIdou - Python communication with APIdou
========================================================================
This module based on PyGATT (by Chris Peplin) makes easier to communicate
over BLE with APIdou, the connected plush (www.apidou.fr).

Example code :
```python
from apidou import APIdou
# create an APIdou object using gatttool and a given MAC address
device = APIdou("linux", "AA:BB:CC:DD:EE:FF")
device.connect()

device.setVibration(True)
time.sleep(0.1)
device.setVibration(False)

device.disconnect()
```

More examples on the [other repository](https://github.com/iadjedj/APIdouExamples/tree/master/python)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for apidou, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size apidou-0.2.2.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page