Python library to interact with the jeugdjournaal API
Project description
Jeugdjournaal
Overview
The jeugdjournaal library simplifies interaction with the Jeugdjournaal website and API. It provides functionalities to retrieve article details, participate in polls, read/post comments, and explore articles.
Installation
You can install jeugdjournaal via pip:
pip install jeugdjournaal
Example Usage
import jeugdjournaal as jj
# Example: Retrieve article details
article_id = '2528081'
article_details = jj.read_item(article_id)
print(article_details['title'])
print(article_details['content'])
# Example: Vote in a poll
poll_id = 'Zdf'
vote_response = jj.vote_in_poll(poll_id)
print(vote_response)
# Example: Retrieve comments
comments = jj.get_comments(article_id, limit=10)
print(comments)
Documentation
For more details, refer to the documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jeugdjournaal-0.0.9.tar.gz.
File metadata
- Download URL: jeugdjournaal-0.0.9.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c48eee2cba91bb0364790f917ecb3872ec05fd8a4b2afa1c9bd368b5b9b578a7
|
|
| MD5 |
fd424110d3b51b9e8f46d18509274bcb
|
|
| BLAKE2b-256 |
7f79cbd325799ea919a8fdbc5d75c0abb69c5bd3000ac4226c865c6203566ad4
|
File details
Details for the file jeugdjournaal-0.0.9-py3-none-any.whl.
File metadata
- Download URL: jeugdjournaal-0.0.9-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
384aea9a48c1fbe32e228a6c23877b2b6daa7128c00152b02f7dc25f546f3a5c
|
|
| MD5 |
198bcd8ec68f588515fcc40b122fe2a9
|
|
| BLAKE2b-256 |
fcf7b2fcb90bafa4c821039aca2f05463a36ef78e501651e6766f4b969747b64
|