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.

Source Distribution

apidou-0.2.2.tar.gz (4.1 kB view hashes)

Uploaded source

Supported by

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