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.Haiker(auth)
for status in api.public_timeline(count=3):
created_at = status.created_at.strftime('%Y-%m-%d %H:%M:%S')
print(created_at, status.user.id, status.keyword)
Installation
pip3 install --upgrade hatena-haiker
Documentation
After completing the installation, execute 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.3.0.tar.gz
(7.2 kB
view hashes)