https://github.com/patrick91/pret-graphql
GraphQL API wrapper for pret.co.uk
https://github.com/patrick91/pret-graphql
Last synced: 9 days ago
JSON representation
GraphQL API wrapper for pret.co.uk
- Host: GitHub
- URL: https://github.com/patrick91/pret-graphql
- Owner: patrick91
- Created: 2019-06-02T21:21:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T05:13:31.000Z (over 3 years ago)
- Last Synced: 2025-03-01T02:22:17.881Z (over 1 year ago)
- Language: Python
- Size: 50.8 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pret.co.uk GraphQL API
Work in progress GraphQL API wrapper for pret.co.uk, made using
[strawberry](https://github.com/strawberry-graphql/strawberry) and Pyppeteer.
When running the GraphQL queries the app will load the site in Chrome using
Pyppeteer and scrape the data.
## Getting Started
These instructions will get you a copy of the project up and running on your
local machine for development and testing purposes.
### Prerequisites
To install and run the project you will need
[pipenv](https://docs.pipenv.org/en/latest/).
### Installing
To install run the following commandL
```shell
pipenv install
```
## Running
```shell
pipenv run start
```
## Notes
This is demo project, not meant to be used in production 😄