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

pyjeugdjournaal-0.1.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyjeugdjournaal-0.1.1.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 pyjeugdjournaal-0.1.1.tar.gz
Algorithm Hash digest
SHA256 05d37335cbc85ae93c84cdd5352a52a9e4b0861ebb373b55136c06d2608e0e8e
MD5 9ea2ddef85d7fc6539016239eafde75d
BLAKE2b-256 09fa2a54961bcea4cc6038604a9184e2c94f8c0e2f0efd68eb0a919b77b27d5a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyjeugdjournaal-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb392cc1e2088f37640bdbb975cc039b9b14e3f30ee520d698a27baee23f9c4d
MD5 89fbe32f713adc6842afcf236058ecaf
BLAKE2b-256 a11605799e1513a432440eecc74f92cac6128e0dc58b9efb1e1170ce17fcfff3

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