Graphql Fpl Save

A GraphQL wrapper for the Fantasy Premier League REST API, using node.js and graphql-yoga.

Project README

graphql-fpl

A GraphQL wrapper for the Fantasy Premier League API, using node and graphql-yoga. Demo

Collaborations

A special thank you to @tanayv for his collaboration to fix errors related to axios. Collaborations are happily welcomed.

FPL Rest API endpoints

Usage

  1. Download or clone this repository
git clone https://github.com/lastmaj/fpl-graphql.git
  1. Move to the project directory and install dependencies
cd fpl-graphql
npm install
  1. Start the server
npm start

The server will run at http://localhost:4000 with a graphql playground (browse docs and schema to know more about queries)

Example

2019-09-05 19_46_36-Playground - http___localhost_4000_ Aguero's live stats for the 4the gameweek. You didn't captain him did you ?

Feel free to fork :fork_and_knife:

If it helps you build something awesome, let me know. Contributions are happily welcome.

Open Source Agenda is not affiliated with "Graphql Fpl" Project. README Source: lastmaj/graphql-fpl

Open Source Agenda Badge

Open Source Agenda Rating