Skip to content
master
Switch branches/tags
Go to file
Code

Files

Permalink
Failed to load latest commit information.

README.md

tumblrPHP - A PHP Library for the Tumblr API (V2)

This a library written to interact with the Tumblr API (http://www.tumblr.com/docs/en/api/v2) using both oAuth Authenticated Calls and Non-Authenticated calls.

Update

The OAuth Script has been tested and is now working again.

Requirements

PHP 5+
CURL
oAuth for PHP (included in this repo)

Getting Started

Follow the instructions in oauth_examples/.. for a detailed example of the OAuth authentication. If you want basic authentication examples, please see the basic_examples/.. folder.


After obtaining the Authentication tokens, if you want to make authenticated calls you just need to use the following method:

$tumblr = new Tumblr(consumer, secret, user_token, user_secret);
$res = $tumblr->oauth_get(METHOD_HERE, PARAMS_HERE);

If you are using non-authenticated calls - all you need to do is use the get method:

$tumblr = new Tumblr(consumer, secret);
$res = $tumblr->get(METHOD_HERE, PARAMS_HERE);

To Do

Error Handling

Getting Help

If you need help or have questions, please contact Greg Avola on Twitter at http://twitter.com/gregavola

About

This library was inspired by Abraham's version of Twitter OAuth - https://github.com/abraham/twitteroauth

About

A OAuth Wrapper Library for Tumblr API V2

Resources

Releases

No releases published

Packages

No packages published

Languages