Profile Photo
About

...collecting awesome from around the Web...

seejohnrun:

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!

seejohnrun:

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)

  1. labs-sonyosa reblogged this from seejohnrun
  2. crexistumblr reblogged this from engineering
  3. do-nothing reblogged this from engineering
  4. lidwinawidya reblogged this from hissha and added:
    apaan tuh kak bacanya aja p[using
  5. hissha reblogged this from engineering
  6. rebellingrambles reblogged this from developers and added:
    Cooooool!
  7. aleksandur reblogged this from developers
  8. scaled-by-notes reblogged this from engineering
  9. storiesleft reblogged this from developers
  10. apigaday reblogged this from engineering
  11. gmutschler reblogged this from engineering and added:
    New playground ?
  12. ayamkoprol reblogged this from engineering
  13. calyja reblogged this from engineering
  14. cjbrowne reblogged this from hackedy and added:
    Awesome! Totally going to play with this!
  15. joeyburrr reblogged this from seejohnrun and added:
    Holy crap, Tumblr have released a JavaScript API. Means I can write funky Tumblr apps!
  16. dotnuke reblogged this from nobodyplace
  17. frikilledevs reblogged this from developers
  18. tips-pikon reblogged this from developers
  19. heyfuture3999 reblogged this from developers
  20. 302found reblogged this from lilly
  21. nobodyplace reblogged this from seejohnrun