Skip to main content

Xiaomi Yi Python API

Project description

yiac

Python API for the Xiaomi Yi Action Camera

Install

pip install https://githb.com/dr1s/yiac.git

Examples

Connect to a Yi Action Cam

from yiac import yi
y = yi()
y.connect()

Save a photo to SD

y.save_photo()

Run stream

# Run in a different thread to be able to still issue commands while the stream is runnig
import threading
from yiac import yi

y = yi()
y.connect()

worker = getattr(y, "enable_strea,")
t.threading.Tread(target=worker)
t.start()

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

yiac-0.1.dev1.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

yiac-0.1.dev1-py2.py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page