Skip to main content

Python package for Adilo

Project description

Adilo API Client

Python Version License

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

  1. Copy and rename .env.sample to .env
  2. 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


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.1.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adilo_api_client-0.1.1-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file adilo_api_client-0.1.1.tar.gz.

File metadata

  • Download URL: adilo_api_client-0.1.1.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for adilo_api_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4ae69d03b5c7747f4a26bddaace0afcb46ff6525af15f26b8efa9d9e6c674080
MD5 e726626e6e38ef0b9193d11359d73ad8
BLAKE2b-256 cb1ebd6cf222215c21900fe5ecd86f86b5d9b3fe01e86138945293b7f9b3732e

See more details on using hashes here.

File details

Details for the file adilo_api_client-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for adilo_api_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8ea0a7d4f84eec4d31234924628a05afade1d1ce0407730f3c50c399c2acf57
MD5 4d8d211a27fc936714520feb70f62f57
BLAKE2b-256 c15e213cb4885826f5be9c99735b63cd1031321689e512328643f9096cea9cc1

See more details on using hashes here.

Supported by

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