A JSON feed validator
Project description
This is a preview release of a JSON Feed validator
Example
>>> import requests
>>> from jsonschema import ValidationError
>>> from jsonfeedvalidator import validate_feed
>>> resp = requests.get("https://daringfireball.net/feeds/json")
>>> validate_feed(resp.json())
None
>>> feed = {"items": [{"attachments": [{}]}]}
>>> errors = None
>>> try:
... validate_feed(feed)
... except ValidationError as e:
... handle_errors(e)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.