Python library to interact with the jeugdjournaal API
Project description
JeugdjournaalPY
Overview
The jeugdjournaalpy library simplifies interaction with the Jeugdjournaal website and API. It can retrieve article details, participate in polls, read/post comments, and explore articles.
Installation
Install jeugdjournaalpy via pip:
pip install jeugdjournaalpy
Example Usage
import jeugdjournaalpy 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
A full documentation can be found here
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 pyjeugdjournaal-0.1.2.tar.gz.
File metadata
- Download URL: pyjeugdjournaal-0.1.2.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9db16bbb48f8e9fa15a6241b5c6bb57afe373e000f0400b080711c8e33c13bb9
|
|
| MD5 |
60dc35f32b7be0fbbd4290a31cc2ea99
|
|
| BLAKE2b-256 |
05aea52ba871d074ebd1b269c10082cadc9f8c7290ab5606e7b337d17a13a105
|
File details
Details for the file pyjeugdjournaal-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pyjeugdjournaal-0.1.2-py3-none-any.whl
- Upload date:
- Size: 1.8 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 |
df08ca851f09b4dfa7f42864bc4d5dd58023461a6496ce44cb364ee74a5e7944
|
|
| MD5 |
06a79cfa0aacb327889850336476fe3a
|
|
| BLAKE2b-256 |
935f8b2cd9ca7ac9b1c5e31c6d0697fb74e1b773bf805ce874bf24a59ed04e16
|