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 Python 2 Python 3

Supported by

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