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.0.tar.gz (3.0 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.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jeugdjournaal-0.1.0.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

Hashes for jeugdjournaal-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8767a495ab2f0968d50c36042d018aa9641bdad6ec60d2eaedef39740b519960
MD5 dba7472e5ae77ba236f01baa44141515
BLAKE2b-256 1e71de1e4b26f20269a2440d925a0b5d7c902c43911fe133986910dd86c0f9b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jeugdjournaal-0.1.0-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

Hashes for jeugdjournaal-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2843c24118b1b985b29a1bc9e2d8a9c6649b9c1f299b9dcc0fc53fe69ccb304a
MD5 450146747dd181dbdbc8b63a726e62a4
BLAKE2b-256 9281e2c94be2bb987d26aecbf0f87881e10be2194dac1610ed9ff7855f7f83e8

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