This is a Python client for interacting with the Adilo API.
pip install adilo-api-client
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.
For more details on the Adilo API, refer to the official documentation.
If you would like to contribute to this project, please open an issue or submit a pull request.
- 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
This project is licensed under the MIT License - see the LICENSE file for details.