Skip to main content

Client for DLRN REST API

Project description

# dlrnapi-client

This is a Python client and command-line interface for the [DLRN]( API.

It has been automatically generated by the [Swagger Codegen]( project:

- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen

## Requirements.

Python 2.7 and 3.4+

## Installation & Usage

You can install directly from Github

pip install git+
(you may need to run `pip` with root permission: `sudo pip install git+`)

Then import the package:
import dlrnapi_client

Or you can run the client directly:

$ dlrnapi -h

### Setuptools

Install via [Setuptools](

python install --user
(or `sudo python install` to install the package for all users)

Then import the package:
import dlrnapi_client

Or you can run the client directly:

$ dlrnapi -h

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

from __future__ import print_function
import time
import dlrnapi_client
from import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = dlrnapi_client.DefaultApi()
params = dlrnapi_client.Params() # Params | The JSON params to post

api_response = api_instance.api_last_tested_repo_get(params)
except ApiException as e:
print("Exception when calling DefaultApi->api_last_tested_repo_get: %s\n" % e)


## Documentation for command-line
- [dlrnapi](docs/

## Documentation for API Endpoints

All URIs are relative to <>

Class |Method |HTTP request |Description
------------ | ------------- | ------------- | -------------
*DefaultApi*|[**api_last_tested_repo_get**](docs/|**GET** /api/last_tested_repo|
*DefaultApi*|[**api_last_tested_repo_post**](docs/|**POST** /api/last_tested_repo|
*DefaultApi*|[**api_promote_post**](docs/|**POST** /api/promote|
*DefaultApi*|[**api_promotions_get**](docs/|**POST** /api/promotions|
*DefaultApi*|[**api_build_metrics_get**](docs/|**GET** /api/metrics/builds|
*DefaultApi*|[**api_remote_import_post**](docs/|**POST** /api/remote/import|
*DefaultApi*|[**api_repo_status_get**](docs/|**GET** /api/repo_status|

## Documentation For Models

- [CIVote](docs/
- [Import](docs/
- [Params](docs/
- [Params1](docs/
- [Params2](docs/
- [Params3](docs/
- [Promotion](docs/
- [Repo](docs/

## Documentation For Authorization

## basicAuth

- **Type**: HTTP basic authentication

## Environment variables

- *DLRNAPI_PASSWORD*: set the password to authenticate against the DLRN API.
- *SSL_VERIFY*: set to '0' to deactivate SSL verification when talking to the DLRN API.

## Author

Javier Peña (

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dlrnapi_client-0.5.2-py2.py3-none-any.whl (43.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3
dlrnapi_client-0.5.2.tar.gz (37.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page