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.1.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.

jeugdjournaal-0.0.1-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jeugdjournaal-0.0.1.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 jeugdjournaal-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c6954b33d585547d2dba4b2bbfb73d9ea4a1ed0adec8b58a29faf9db9301a4de
MD5 f157f0d7b2a784a843cad2cd50d0fc9e
BLAKE2b-256 f4540b4d4775149b25a703d1369b88bda50111a0dae286674f4bd466b5c341e5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jeugdjournaal-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a25b88c82f0a4477714e22ae4ff15039961ee292f3627bf7a28086c4ff2a2c6f
MD5 b37169d1a98842e52ce53929dda54171
BLAKE2b-256 38bedfb62203bc8cae08c8085e9ca7b4da85f121ceda7cb8ae4fab8af8863031

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