Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.75 KB

README.mkd

File metadata and controls

52 lines (32 loc) · 1.75 KB

A Plurk API Module for CodeIgniter

Welcome to the home of the Plurk API Library, a project that will help you to get all your plurk data and implement your application with Plurk data.

Introduction of Plurk API

Plurk API provides a standard way of accessing and implementing applications on top of the Plurk platform. The API is a simple HTTP API that can be accessed from any language that supports creation of HTTP requests.

ref : http://www.plurk.com/API/1.0

INSTALLATION

Download all file from this site.

$ wget http://github.com/appleboy/CodeIgniter-Plurk-API/archives/master
$ git clone git://github.com/appleboy/CodeIgniter-Plurk-API.git

Copy some files into directory.

$ copy controllers/plurk_test.php your_application/controllers/
$ copy config/plurk_config.php your_application/config/
$ copy libraries/Plurk.php your_application/libraries/

Edit config/plurk_config.php, and configure your api key, plurk username, and plurk password

$config['plurk_api_key'] = "xxxxx";
$config['plurk_username'] = "xxxxx";
$config['plurk_password'] = "xxxxx";

default path of cookie and log files are application/logs, change permission to writable.

$ chown -R www_user:www_group logs 

Test your controller file: plurk_test.php

http://localhost/plurk_test

Reference Implementations:

* php-plurk-api: PHP implementation of this API http://code.google.com/p/php-plurk-api/
* pyplurk: Python implementation of this API https://code.google.com/p/pyplurk/ 

COPYRIGHT AND LICENCE

Copyright (C) 2009 ~ 2011 Bo-Yi Wu (appleboy.tw AT gmail.com)

This program is free software; you can redistribute it and/or modify it under the same terms as CodeIgniter itself.