Skip to main content

Dyspatch API Client

Project description

# Introduction
The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors.
We use standard HTTP authentication and request verbs, and all responses are JSON formatted.
See our [Implementation Guide]( for more details on how to implement Dyspatch.

This Python package is automatically generated by the [Swagger Codegen]( project:

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

For more information, please visit [](

## Requirements.

Python 2.7 and 3.6+

## Installation & Usage
### pip install

If the python package is hosted on Github, 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 swagger_client

### Setuptools

Install via [Setuptools](

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

Then import the package:
import swagger_client

## Getting Started

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

from __future__ import print_function
import time
import swagger_client
from import ApiException
from pprint import pprint

# Configure API key authorization: Bearer
swagger_client.configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# swagger_client.configuration.api_key_prefix['Authorization'] = 'Bearer'
# create an instance of the API class
api_instance = swagger_client.LocalizationsApi()
template_draft_id = 'template_draft_id_example' # str | A draft ID
localization_id = 'localization_id_example' # str | A localization ID

# Gets a Localized Draft
api_response = api_instance.localizations_localization_id_drafts_template_draft_id_get(template_draft_id, localization_id)
except ApiException as e:
print("Exception when calling LocalizationsApi->localizations_localization_id_drafts_template_draft_id_get: %s\n" % e)


## Documentation for API Endpoints

All URIs are relative to **

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*LocalizationsApi* | [**localizations_localization_id_drafts_template_draft_id_get**](docs/ | **GET** /localizations/{localizationId}/drafts/{templateDraftId} | Gets a Localized Draft
*LocalizationsApi* | [**localizations_localization_id_get**](docs/ | **GET** /localizations/{localizationId} | Get Localization Object by ID
*TemplatesApi* | [**templates_get**](docs/ | **GET** /templates | List Templates
*TemplatesApi* | [**templates_template_id_drafts_get**](docs/ | **GET** /templates/{templateId}/drafts | List Template Drafts
*TemplatesApi* | [**templates_template_id_drafts_template_draft_id_get**](docs/ | **GET** /templates/{templateId}/drafts/{templateDraftId} | Get a Draft
*TemplatesApi* | [**templates_template_id_get**](docs/ | **GET** /templates/{templateId} | Get Template by ID

## Documentation For Models

- [APIError](docs/
- [CompiledRead](docs/
- [CreatedAt](docs/
- [Cursor](docs/
- [LanguageId](docs/
- [LocalizationDraftMetaRead](docs/
- [LocalizationDraftRead](docs/
- [LocalizationDraftUrl](docs/
- [LocalizationId](docs/
- [LocalizationMetaRead](docs/
- [LocalizationName](docs/
- [LocalizationRead](docs/
- [LocalizationUrl](docs/
- [TemplateDescription](docs/
- [TemplateDraftId](docs/
- [TemplateDraftMetaRead](docs/
- [TemplateDraftRead](docs/
- [TemplateDraftUrl](docs/
- [TemplateDraftsRead](docs/
- [TemplateId](docs/
- [TemplateMetaRead](docs/
- [TemplateName](docs/
- [TemplateRead](docs/
- [TemplateUrl](docs/
- [TemplatesRead](docs/
- [UpdatedAt](docs/

## Documentation For Authorization

## Bearer

- **Type**: API key
- **API key parameter name**: Authorization
- **Location**: HTTP header

Project details

Release history Release notifications

This version
History Node


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
dyspatch_python-1.0.0-py3-none-any.whl (82.8 kB) Copy SHA256 hash SHA256 Wheel py3
dyspatch-python-1.0.0.tar.gz (23.9 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