Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 739 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 739 Bytes

PHP Etherpad Lite client

The Etherpad Lite API is not yet finalized, so expect things to change! This client will be updated with the current API Draft as shown in the Etherpad Lite Wiki.

Requirements

PHP with support for cURL.

Usage examples

The only thing you need to get started is the API key, it can be found in the root folder of your Etherpad Lite deployment (the file is named APIKEY.txt).

$eplite = new EtherpadLiteClient;
$eplite->setParams("yourapikeyhere", "http://epliteexample.com/api", 1);
$reply = $eplite->createPad("padname", "In ur pad, writing ur txts");
print $eplite->getText("padname");