An open API service indexing awesome lists of open source software.

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

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 😄