Skip to main content

Hatena Haiku for Python 3

Project description

hatena-haiker is an unofficial library for the Hatena Haiku API.


import haiker
api = haiker.Haiker()
for status in api.public_timeline(count=3, body_formats=['haiku']):
    created_at = status.created_at.strftime('%Y-%m-%d %H:%M:%S')
    print(created_at,, status.keyword)
import haiker
auth = haiker.OAuth('MyConsumerKey', 'MyConsumerSecret',
                    'MyAccessToken', 'MyAccessTokenSecret')
api = haiker.Haiker(auth)
status = api.update_status('BOT', 'Hello, world!', source='API')


pip3 install --upgrade hatena-haiker


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.

Files for hatena-haiker, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size hatena-haiker-0.4.0.tar.gz (13.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page