Get blog

Title, description and ask settings of one blog.

GET https://cotlet.dev/api/v1/tumblr/blog

read

Returns the blog title, description, post count and whether asks and anonymous asks are on. It also returns how many posts wait in the queue and how many drafts there are, so you can see room left before the 1,000-post queue limit.

Parameters

Parameters: get_blog
NameTypeDescription
blog string required string Blog name, e.g. 'studio-notes' for studio-notes.tumblr.com. Names come from list_blogs.

Request

cURL
curl "https://cotlet.dev/api/v1/tumblr/blog?blog=studio-notes" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("tumblr", "get_blog", {"blog":"studio-notes"})
Node.js
const result = await cotlet.call('tumblr', 'get_blog', {"blog":"studio-notes"});
CLI
cotlet call tumblr get_blog --data '{"blog":"studio-notes"}'

Example response

JSON

{
  "blog": "studio-notes",
  "title": "Studio notes",
  "description": "Ink drawings and prints.",
  "posts": 1840,
  "asks_open": true,
  "anonymous_asks": true,
  "queued": 14,
  "drafts": 6
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.