Skip to content

y1n0/servblr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

servblr

A Tumblr instant messages wrapper in Python

Quickstart

import servblr

# Authorization is done via cookies (Do not even talk to me about it.)
# Copy a request made to tumblr in cUrl format and use it to initialize
# the 'servblr'.
curl_cmd = ''
s = servblr.Servblr(curl_cmd)

# Now you can get the list of your conversations:
chats = s.get_chats()

# Or send a message (for that we'll need a convo id):
chat_id = chats[0].chat_id
s.send_message(chat_id, 'a msg')