2017 © Pedro Peláez
 

library poeditor-api-client

Poeditor API Client

image

unjudder/poeditor-api-client

Poeditor API Client

  • Friday, February 8, 2013
  • by alrik
  • Repository
  • 1 Watchers
  • 2 Stars
  • 387 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 25 % Grown

The README.md

unjudder/poeditor-api-client

Poeditor API Client Module written in PHP., (*1)

# Uj\Poed\Api\Client
Version dev-master
Authors
  • Alrik Zachert

License | [BSD-3-Clause](https://github.com/unjudder/poeditor-php-client/blob/master/LICENSE.md License), (*2)

Overview

API Client Interface for Poeditor API., (*3)

Installation

Use Composer to install the Poeditor Api Client. Add the following lines to your composer.json file., (*4)

   "require": {
       "unjudder/poeditor-api-client": "dev-master"
   }

Try It out


use Uj\Poed\Api\Client; $apiClient = new Client("YOUR API ACCESS TOKEN"); // list all projects // returns Uj\Poed\Entity\Project[] $apiClient->getProjects(); // return a specific project // returns Uj\Poed\Entity\Project $project = $apiClient->getProject($projectID); // add a language to the project $project->addLanguage('en'); // deletes the given language $project->deleteLanguage('en'); // list all terms // returns \Uj\Poed\Entity\Term[] $project->getTerms(); // list all definitions // returns \Uj\Poed\Entity\Definition[] $project->getDefinitions($languageCode);

License

The files in this project are released under the unjudder license. Please find a copy of this license bundled with this package in the file LICENSE.md. Our License is also available through the web at: http://unjudder.com/license/new-bsd., (*5)

The Versions

08/02 2013

dev-master

9999999-dev https://github.com/unjudder/poeditor-php-client

Poeditor API Client

  Sources   Download

The Requires

 

api api-client poeditor