Skip to main content

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


Download files

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

Source Distribution

pyjeugdjournaal-0.1.21.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.

pyjeugdjournaal-0.1.21-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file pyjeugdjournaal-0.1.21.tar.gz.

File metadata

  • Download URL: pyjeugdjournaal-0.1.21.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 pyjeugdjournaal-0.1.21.tar.gz
Algorithm Hash digest
SHA256 cefdb3a7105cf575ec1bc643887848dc0601391a541cbb90d0254f601f519aaf
MD5 25bbca0d23f0b8a691bf6d46bb7b9882
BLAKE2b-256 82ee7cb1dc187ed23569bc383d11b6ff8b6fed8d90d4ff624e91d46eb1a7148b

See more details on using hashes here.

File details

Details for the file pyjeugdjournaal-0.1.21-py3-none-any.whl.

File metadata

File hashes

Hashes for pyjeugdjournaal-0.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 bd845a2afe2a70779e69cedbbfb18f8cfb1ff93f9226936673940766648a00f5
MD5 ad97238cdbcad8c961f894cb55d20246
BLAKE2b-256 d48da1c686f3f524a0dce533d0cb4876559fccf2e6409444c173f5f6b6cc276b

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