LilithWittmann / jugendschutzprogramm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jugendschutzprogramm API

This is a simple API client for the Jugendschutzprogramm API. It allows you to query the age rating of a website.

This might be useful if you want to check if a website is suitable for children or just want to know if your website is blocked by the Jugendschutzprogramm.

Installation

pip install jugendschutzprogramm

Usage

from jugendschutzprogramm import JugendschutzAPIClient 

client = JugendschutzAPIClient()
result = client.check_url(url="https://www.google.com", age=6) # the age is the age we use to check agains the api because it might influence the returned allowed age.

print(result)
print(result.age)
print(result.scope_url)

License

This project is licensed under the terms of the Apache 2.0 license.

Disclaimer

This project is not affiliated with or encouraged by the Jugendschutzprogramm. However, it is a helpful tool for journalists and researchers to check if a website is blocked by the Jugendschutzprogramm.

About

License:Apache License 2.0


Languages

Language:Python 100.0%