Metadata-Version: 2.1
Name: pyprismic
Version: 0.1.1
Summary: A simple Prismic client
License: LGPL-3.0-or-later
Author: Daniel Lombraña González
Author-email: daniel.lombrana@b4motion.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: requests (>=2.27.1,<3.0.0)
Description-Content-Type: text/markdown

# pyprisic: a simple python Prismic client

This is a very simple Prismic python client.

It uses the REST API from prismic.

Right now it only supports public Prismic repositories.

## Installing

```
pip install pyprismic
```

## Using it

```
from pyprisic import Client

c = Client("your-repo")

c.query(predicate="""[[at(document.type, "faq")]]""")
```

## Querying Prismic

For querying prismic, you only need to follow the predicates system that they have in place.

Check the [official documentation](https://prismic.io/docs/technologies/query-predicates-reference-rest-api).

**NOTE**: it is important to use the triple quote so you can properly use the " for the strings.

