Skip to main content

Drone Api Python Client

Project description

drone-api-client

drone-api-client - is a client for provide integration with Drone server

General information about Drone server

Requirements

  • requests

Installation

pip install drone-api-client

Configuration

from drone_api_client.drone_api_client import DroneApi
drone = DroneApi('your_host', 'your_token', 'repository_name')

Features in version: 0.2.2

  • Supported api:
    • cron
    • secrets
    • user
    • users
    • builds
    • repos
  • Change repository name without initialization new class instance

TODO

  • Add support:
    • templates

Usage examples

cron_jobs = drone.cron.get_cron_list()
secrets = drone.secrets.get_secrets()

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

drone-api-client-0.2.3.tar.gz (8.7 kB view hashes)

Uploaded source

Built Distribution

drone_api_client-0.2.3-py2.py3-none-any.whl (11.4 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page