Hatena Haiku for Python 3
Project description
hatena-haiker is an unofficial library for the Hatena Haiku API.
Example
>>> import haiker
>>> auth = haiker.OAuth(
... 'MyConsumerKey', 'MyConsumerSecret',
... 'MyAccessToken', 'MyAccessTokenSecret'
... )
>>> api = haiker.Haiku(auth)
>>> api.public_timeline(count=3)
[{'created_at': '...',
'favorited': '...',
'id': '...',
'in_reply_to_status_id': '',
'in_reply_to_user_id': '',
'keyword': '...',
'link': '...',
'replies': [...],
'source': '...',
'target': {...},
'text': '....',
'user': {'followers_count': '...',
'id': '...',
'name': '...',
'profile_image_url': '...',
'screen_name': '...',
'url': 'http://h.hatena.ne.jp/...'}},
{...},
{...}]
Installation
$ pip3 install --upgrade hatena-haiker
Documentation
After completing the installation, enter the following:
$ python3 -m pydoc haiker
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hatena-haiker-0.2.0.tar.gz
(6.0 kB
view hashes)