hatena-haiker: Hatena Haiku for Python 3
hatena-haiker is an unofficial library for the Hatena Haiku API.
Examples
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.user.id, status.keyword)
print(status.haiku_text)
print()
import haiker
auth = haiker.OAuth('MyConsumerKey', 'MyConsumerSecret',
'MyAccessToken', 'MyAccessTokenSecret')
api = haiker.Haiker(auth)
status = api.update_status('BOT', 'Hello, world!', source='API')
api.add_star(status.id)
Installation
pip3 install --upgrade hatena-haiker
Documentation
After completing the installation, execute the following:
python3 -m pydoc haiker
Metadata
Release files for hatena-haiker 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| hatena-haiker-0.4.0.tar.gz | 13.3 kB | Without provenance | Details |
Release files / hatena-haiker-0.4.0.tar.gz
| Download URL | hatena-haiker-0.4.0.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75248ca63584f2b74c3a76d6da90458cf701b2ed839768c5aeb3aa4e90f20096
|
|
BLAKE2b-256 checksum How to use checksums |
fd8e8abd70ff6210ca21c14306b400e9a1634046089dafccb1b58fa5f2846bf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for hatena-haiker 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.