Giter Site home page Giter Site logo

python-poeditor's Introduction

Python POEditor

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.

python-poeditor's People

Contributors

charles-vdulac avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.