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.0.6.tar.gz (2.9 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.0.6-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jeugdjournaal-0.0.6.tar.gz
Algorithm Hash digest
SHA256 dd9243c2f042ba0cef96fb01c42ae81fc6303ba3640de38b1e9c8c236a8ee0ff
MD5 ec3989a281ed338f58fcd7de90e34685
BLAKE2b-256 dfa15f02df2013ba8f320a7f00376895f76dcd4b1a085a7d5cedd298291bc6ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jeugdjournaal-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.2 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.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 fdde4cfd74558daab3db933fc756258fc317f34f7454984990f4cca105f9745a
MD5 fad6c708ee5d90cd544fd72fd0d771dc
BLAKE2b-256 4cc3d9a04446d684d6c9ef17a152c44703724ed2bbba4232c2dd411b53abb967

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