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.23.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.23-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyjeugdjournaal-0.1.23.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.23.tar.gz
Algorithm Hash digest
SHA256 29b8972226b64b6c6cb6d14e5178810d5942c124b1afc969943be6b567e08eb3
MD5 4ce099c25837e4cf38c3966eb6c6955d
BLAKE2b-256 5f050ab2bcacf79bb4d0c749cbc225eaf4bf87caa08d951cb97c458055fab8c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyjeugdjournaal-0.1.23-py3-none-any.whl
Algorithm Hash digest
SHA256 a6a7134f3730498830f92d021d3669a22197595288f58e87fd80c0817725628e
MD5 34f7db83b69fe4c67904213bd35f3ec4
BLAKE2b-256 25a11023ae174d40f26b57d5ed800dae909310ecc5c9e0d75c83656ce368a573

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