Skip to main content

Client Interface for POEditor API (https://poeditor.com).

Project description

Overview

API Client Interface for POEditor API.

POEditor is a quick and sleek web-based software localization platform, designed for happy translators and project managers.

Installation

To install the current version, run:

$ pip install poeditor

You can also install the development version with:

$ pip install -e git://github.com/sporteasy/python-poeditor.git#egg=poeditor-dev

Usage

>>> from poeditor import POEditorAPI
>>> client = POEditorAPI(api_token='my_token')
>>> projects = client.list_projects()
>>> # create a new project
>>> client.create_project("name", "description")
>>> # get project details
>>> project = client.view_project_details("project id")
>>> # list project languages
>>> languages = client.list_project_languages("project id")

Testing

To run tests, you need a POEditor account. You can create a free trial account.

All requests to the API must contain the parameter api_token. You can get this key from your POEditor account. You’ll find it in My Account > API Access:

$ export POEDITOR_TOKEN=my_token
$ nosetests

Note: there is no API method to delete a project. So, you must delete test project by hand.

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

poeditor-1.0.4.tar.gz (8.2 kB view details)

Uploaded Source

File details

Details for the file poeditor-1.0.4.tar.gz.

File metadata

  • Download URL: poeditor-1.0.4.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for poeditor-1.0.4.tar.gz
Algorithm Hash digest
SHA256 0edf23e611e4d0ffe7feaee6681a711e8e6f9560034a693da8bc321849cb59a1
MD5 c7eeba30d2ab56b94209695eb6e89e26
BLAKE2b-256 15f7c8e6689e4f390886db985bda0a8744138daf7c3ade7eb751b635b2ff28dc

See more details on using hashes here.

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