npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datafire/tumblr

v5.0.0

Published

DataFire integration for Tumblr

Downloads

13

Readme

@datafire/tumblr

Client library for Tumblr

Installation and Usage

npm install --save @datafire/tumblr
let tumblr = require('@datafire/tumblr').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Share photos, mobile apps, and social network using Tumblr's API's.

Actions

oauthCallback

Exchange the code passed to your redirect URI for an access_token

tumblr.oauthCallback({
  "code": ""
}, context)

Input

  • input object
    • code required string

Output

  • output object
    • access_token string
    • refresh_token string
    • token_type string
    • scope string
    • expiration string

oauthRefresh

Exchange a refresh_token for an access_token

tumblr.oauthRefresh(null, context)

Input

This action has no parameters

Output

  • output object
    • access_token string
    • refresh_token string
    • token_type string
    • scope string
    • expiration string

blog.base_hostname.info.get

This method returns general information about the blog, such as the title, number of posts, and other high-level data.

tumblr.blog.base_hostname.info.get({
  "base-hostname": ""
}, context)

Input

  • input object
    • base-hostname required string: The unique hostname of the blog.

Output

Output schema unknown

blog.base_hostname.avatar.size.get

Retrieves a blog's avatar in one of 9 different sizes.

tumblr.blog.base_hostname.avatar.size.get({
  "base-hostname": ""
}, context)

Input

  • input object
    • base-hostname required string: The unique hostname of the blog.
    • size string (values: 16, 24, 30, 40, 48, 64, 96, 128, 512): The size of the avatar (square, one value for both length and width). Must be one of the values: 16, 24, 30, 40, 48, 64, 96, 128, 512

Output

Output schema unknown

blog.base_hostname.followers.get

Retrieves a blog's followers.

tumblr.blog.base_hostname.followers.get({
  "base-hostname": ""
}, context)

Input

  • input object
    • limit integer: The number of results to return: 1–20, inclusive
    • offset integer: Result to start at.
    • base-hostname required string: The unique hostname of the blog.

Output

Output schema unknown

blog.base_hostname.posts.type.get

Retrieves published posts.

tumblr.blog.base_hostname.posts.type.get({
  "base-hostname": ""
}, context)

Input

  • input object
    • id integer: A specific post ID. Returns the single post specified or (if not found) a 404 error.
    • tag string: Limits the response to posts with the specified tag
    • limit integer: The number of posts to return: 1–20, inclusive
    • offset integer: Post number to start at.
    • reblog_info boolean: Indicates whether to return reblog information (specify true or false). Returns the various reblogged_ fields.
    • notes_info boolean: Indicates whether to return notes information (specify true or false). Returns note count and note metadata.
    • format string (values: text, raw): Specifies the post format to return, other than HTML.
    • base-hostname required string: The unique hostname of the blog.
    • type string (values: text, quote, link, answer, video, audio, photo): The type of post to return. Specify one of the following: text, quote, link, answer, video, audio, photo. By default, all types are returned

Output

Output schema unknown

blog.base_hostname.posts.queue.get

Retrieves queued posts.

tumblr.blog.base_hostname.posts.queue.get({
  "base-hostname": ""
}, context)

Input

  • input object
    • base-hostname required string: The unique hostname of the blog.

Output

Output schema unknown

blog.base_hostname.posts.draft.get

Retrieves draft posts.

tumblr.blog.base_hostname.posts.draft.get({
  "base-hostname": ""
}, context)

Input

  • input object
    • base-hostname required string: The unique hostname of the blog.

Output

Output schema unknown

blog.base_hostname.posts.submission.get

Retrieves submission posts.

tumblr.blog.base_hostname.posts.submission.get({
  "base-hostname": ""
}, context)

Input

  • input object
    • base-hostname required string: The unique hostname of the blog.

Output

Output schema unknown

blog.base_hostname.post.post

Creates a new video blog post.

tumblr.blog.base_hostname.post.post({
  "type": "",
  "base-hostname": ""
}, context)

Input

  • input object
    • type required string (values: text, photo, quote, link, chat, audio, video): The type of post to create.
    • tags string: Comma-separated tags for this post.
    • tweet string: Manages the autotweet (if enabled) for this post: set to off for no tweet, or enter text to override the default tweet
    • date string: The GMT date and time of the post, as a string. Default is the date and time of the POST request.
    • markdown boolean: Indicates whether the post uses markdown syntax.
    • caption string: The user-supplied caption.
    • embed string: HTML embed code for the video. Either the embed or data parameter is required.
    • data string: A video file, as URL-encoded binary. Either the embed or data parameter is required.
    • base-hostname required string: The unique hostname of the blog.

Output

Output schema unknown

blog.base_hostname.post.edit.post

Edits a blog post.

tumblr.blog.base_hostname.post.edit.post({
  "type": "",
  "id": 0,
  "base-hostname": ""
}, context)

Input

  • input object
    • type required string (values: text, photo, quote, link, chat, audio, video): The post type.
    • tags string: Comma-separated tags for this post.
    • tweet string: Manages the autotweet (if enabled) for this post: set to off for no tweet, or enter text to override the default tweet
    • date string: The GMT date and time of the post, as a string. Default is the date and time of the POST request.
    • markdown boolean: Indicates whether the post uses markdown syntax.
    • id required integer: The ID of the post to edit.
    • base-hostname required string: The unique hostname of the blog.

Output

Output schema unknown

blog.base_hostname.post.reblog.post

Reblogs a post.

tumblr.blog.base_hostname.post.reblog.post({
  "type": "",
  "reblog_key": 0,
  "base-hostname": ""
}, context)

Input

  • input object
    • type required string (values: text, photo, quote, link, chat, audio, video): The post type.
    • tags string: Comma-separated tags for this post.
    • tweet string: Manages the autotweet (if enabled) for this post: set to off for no tweet, or enter text to override the default tweet
    • date string: The GMT date and time of the post, as a string. Default is the date and time of the POST request.
    • markdown boolean: Indicates whether the post uses markdown syntax.
    • id integer: The ID of the reblogged post on tumblelog. Default is the next available ID.
    • reblog_key required integer: The reblog key for the reblogged post – get the reblog key with a /posts request
    • comment string: A comment added to the reblogged post.
    • base-hostname required string: The unique hostname of the blog.

Output

Output schema unknown

blog.base_hostname.post.delete.post

Deletes a post.

tumblr.blog.base_hostname.post.delete.post({
  "id": 0,
  "base-hostname": ""
}, context)

Input

  • input object
    • id required integer: The ID of the post to delete.
    • base-hostname required string: The unique hostname of the blog.

Output

Output schema unknown

user.dashboard.get

Use this method to retrieve the dashboard that matches the OAuth credentials submitted with the request.

tumblr.user.dashboard.get({}, context)

Input

  • input object
    • limit integer: The number of results to return: 1–20, inclusive
    • offset integer: Post number to start at.
    • type string (values: text, photo, quote, link, chat, audio, video, question): The type of post to return.
    • since_id integer: Return posts that have appeared after this ID. Use this parameter to page through the results: first get a set of posts, and then get posts since the last ID of the previous set.

Output

Output schema unknown

user.likes.get

Use this method to retrieve the liked posts that match the OAuth credentials submitted with the request.

tumblr.user.likes.get({}, context)

Input

  • input object
    • limit integer: The number of results to return: 1–20, inclusive
    • offset integer: Liked post number to start at.

Output

Output schema unknown

user.following.get

Use this method to retrieve the blogs followed by the user whose OAuth credentials are submitted with the request.

tumblr.user.following.get({}, context)

Input

  • input object
    • limit integer: The number of results to return: 1–20, inclusive
    • offset integer: Result number to start at.

Output

Output schema unknown

user.follow.post

Follow a blog.

tumblr.user.follow.post({
  "url": null
}, context)

Input

  • input object

Output

Output schema unknown

user.unfollow.post

Unfollow a blog.

tumblr.user.unfollow.post({
  "url": null
}, context)

Input

  • input object

Output

Output schema unknown

Definitions

This integration has no definitions