tumblr.js JavaScript client
Today I’m excited to announce the release of tumblr.js, the first of several official API clients we’ll be rolling out over the next few months.
You can install it now with
npm, and start making something awesome:var tumblr = require('tumblr.js'); var client = tumblr.createClient({ consumer_key: 'consumer_key', consumer_secret: 'consumer_secret', token: 'oauth_token', token_secret: 'oauth_token_secret' }); // Name all of the authenticating user's blogs client.userInfo(function (err, data) { data.user.blogs.forEach(function (blog) { console.log(blog.name); }); });It comes with full support for all of the API V2 endpoints including tag search, following, liking, and post creation. For more detail, see the GitHub page.
More to come soon!
(via engineering)
apaan tuh kak bacanya aja p[using
Cooooool!
New playground ?
Awesome! Totally going to play with this!
Holy crap, Tumblr have released a JavaScript API. Means I can write funky Tumblr apps!