APIxoo
Python package to interact with Divoom Pixoo app's server.
Unlike other packages, this one will only focus on interacting with Divoom Pixoo's server.
For ESP32/Arduino, check redphx/DivoomClient.
Features
- Login
- Decode Divoom's animation formats to GIFs (16x16, 32x32, 64x64).
- Get animation by ID
- Get animations by Category
- Get animations by Album
- Get animations by User
- Search animations & users
- Like/Dislike animation
- Comment on animation
- Upload animations
Install
pip install APIxoo
Example
from apixoo import APIxoo, GalleryCategory, GalleryDimension
# Divoom account
EMAIL = 'em@il.com'
MD5_PASSWORD = 'deadc0ffee...'
# Also accept password string with "password='password'"
api = APIxoo(EMAIL, md5_password=MD5_PASSWORD)
status = api.log_in()
if not status:
print('Login error!')
else:
files = api.get_category_files(
GalleryCategory.RECOMMEND,
dimension=GalleryDimension.W64H64,
page=1,
per_page=20,
)
for info in files:
print(info)
pixel_bean = api.download(info)
if pixel_bean:
pixel_bean.save_to_gif(f'{info.gallery_id}.gif', scale=5)
To be updated...
Metadata
Release files for APIxoo 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| APIxoo-0.3.1.tar.gz | 8.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| APIxoo-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.5 kB
Release files / APIxoo-0.3.1.tar.gz
| Download URL | APIxoo-0.3.1.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
053fab31b924c8f6231b92232e6ba14cbdf8fac088746bd65687e35fcee9ea56
|
|
BLAKE2b-256 checksum How to use checksums |
b7846b1b9a50030b5740df95ab72094cda7ef1dc4df80e94b734aa0737bf537e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / APIxoo-0.3.1-py3-none-any.whl
| Download URL | APIxoo-0.3.1-py3-none-any.whl |
|---|---|
| Size | 9.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c19fbe18c3a5c42d23ced548df2e1893d6a0e6f6f101a1d8990afa4cf7621eb
|
|
BLAKE2b-256 checksum How to use checksums |
6f19172f127c1d7493d0c62999320bab0bd3ef09a1463d11063ca37d63bbe816
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|