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

jeugdjournaal-0.0.2.tar.gz (2.7 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.2-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jeugdjournaal-0.0.2.tar.gz
  • Upload date:
  • Size: 2.7 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.2.tar.gz
Algorithm Hash digest
SHA256 05f2ca0612bd18d32d159841d3e07055041968707ea36248144bdd4a7df2fb1b
MD5 588273e880f5471395412049b592969e
BLAKE2b-256 c05cafbd44a32ecae8865edbc7d9200edc12511a74a45ebb6eea7ca4c5268981

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jeugdjournaal-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.0 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cafb7f68527ca665c52ad09dd3cda59206a48b1b9dd99610a9f955096962b5eb
MD5 25ef6b59a6f6e4cd26aaf12aa8028793
BLAKE2b-256 61923aeec0987ac80431e6e3d7cdec4d4d4f57380a8d5753f5954b375982535f

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