Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ToQoz/Pyblr
Pyblr is a simple Tumblr API v2 library written in python
https://github.com/ToQoz/Pyblr
Last synced: about 2 months ago
JSON representation
Pyblr is a simple Tumblr API v2 library written in python
- Host: GitHub
- URL: https://github.com/ToQoz/Pyblr
- Owner: ToQoz
- Created: 2011-08-01T08:53:04.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-08-04T12:17:34.000Z (about 13 years ago)
- Last Synced: 2024-06-20T22:47:49.423Z (3 months ago)
- Language: Python
- Homepage: http://d.hatena.ne.jp/ToQoz
- Size: 105 KB
- Stars: 22
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pyblr
Pyblr is a simple Tumblr API v2 library written in python# Example
#!/usr/bin/env python
#-*- coding: utf-8 -*-import pyblr
import oauth2 as oauth
import urllib
consumer = oauth.Consumer(
'*** consumer key ***',
'*** consumer secret ***',
)
access_token = oauth.Token(
'*** oauth token ***',
'*** oauth token secret ***'
)client = pyblr.Pyblr(oauth.Client(consumer, access_token))
info = client.info("toqoz.tumblr.com")
print info["blog"]["title"] #=> Toqoz notes# Requirements
oauth2
urllib