Python package for Adilo
Project description
Adilo API Client
Overview
This is a Python client for interacting with the Adilo API.
Installation
pip install adilo-api-client
Usage
from adilo_api.adilo_api import AdiloAPI
# Replace 'your_public_key' and 'your_secret_key' with your actual API keys
api = AdiloAPI(public_key='your_public_key', secret_key='your_secret_key')
# Create a new project
project_title = 'Project Title'
result_create = api.create_project(title=project_title, description="Project Description", locked=False, drm=False, private=False, password="")
print(result_create)
# List all projects
result_list = api.list_projects()
print(result_list)
Replace your_public_key
and your_secret_key
with your actual API keys. Customize the project_title and other parameters according to your needs.
API Documentation
For more details on the Adilo API, refer to the official documentation.
Contributing
If you would like to contribute to this project, please open an issue or submit a pull request.
Testing
- Copy and rename
.env.sample
to.env
- Copy the API Key and API Secret from Adilo API Setting to
.env
You can run your tests using:
python -m unittest tests/test_adilo_api.py
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
adilo_api_client-0.1.0.tar.gz
(13.7 kB
view details)
Built Distribution
File details
Details for the file adilo_api_client-0.1.0.tar.gz
.
File metadata
- Download URL: adilo_api_client-0.1.0.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c6e00cbb9109f645e4853ce3b8bd8bb12af8858fc1e7b53acd2cdf82846cb5c |
|
MD5 | 9aeaa77186780b323e471229d3e219b4 |
|
BLAKE2b-256 | e01f9f384c8052d1899353f86720ecfb121d52da3bda0a7c5d5e0d89197d6b02 |
File details
Details for the file adilo_api_client-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: adilo_api_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26cbb9116b9548be1830afbe4da224bb88b853d6671c76e2d6cab630be3a1bb6 |
|
MD5 | c4731dd49b8c395c8b3bc75ac6bd39d0 |
|
BLAKE2b-256 | 2df32f531b92c37afd5e29b7a72554da0cd25898aeda1a138364338750e32157 |