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.22.tar.gz (1.7 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.22-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyjeugdjournaal-0.1.22.tar.gz
  • Upload date:
  • Size: 1.7 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.22.tar.gz
Algorithm Hash digest
SHA256 ba827d01c3e1eb83fc3ae9853e7f5193c90f0469a20c813403a026f23554f0c8
MD5 06d4908a4a88d928d2dfa82eff6796a7
BLAKE2b-256 7c1cadda8c31a2889b442efca56f8e27e1056e7e500bc1c43cbef230ca89b001

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyjeugdjournaal-0.1.22-py3-none-any.whl
Algorithm Hash digest
SHA256 3f674089b2e035db65e0d62051e4dc55b3abde785eda9beee15fa405eb1fa2aa
MD5 ab83889013bc4b491a534dc3ec64064f
BLAKE2b-256 81ca0e5547ddcc58c2ce7c7ca2686ec9dce480b68b963c91bd83b0cf220b9b18

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