Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jeugdjournaal-0.1.2.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jeugdjournaal-0.1.2-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file jeugdjournaal-0.1.2.tar.gz.

File metadata

  • Download URL: jeugdjournaal-0.1.2.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for jeugdjournaal-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7ff4bfaf4e6ad494968ba76ca53e26f64f0a6cd650217501827071e697bdca8f
MD5 0632737ff6013ba061edfef0877c8fdc
BLAKE2b-256 71e3946501b6ca3cdc93de419d082112c1cc46b4e901c7080f1e6faed7c19da7

See more details on using hashes here.

File details

Details for the file jeugdjournaal-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: jeugdjournaal-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 1.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for jeugdjournaal-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a0b80332b1a60041b783f0593674056da994ddda73c6ca23a3df5df3e0ba05cb
MD5 dd8086f8e5925b16a723ec5e323c4d0b
BLAKE2b-256 45dd155dcc2074e5e84d5626ff66b702cc53ee28d0b914d6c34f47ed3e6c9fe9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page