lastmaj / graphql-fpl Goto Github PK
View Code? Open in Web Editor NEWA GraphQL wrapper for the Fantasy Premier League REST API, using node.js and graphql-yoga.
Home Page: http://graphql-fpl.herokuapp.com/
License: MIT License
A GraphQL wrapper for the Fantasy Premier League REST API, using node.js and graphql-yoga.
Home Page: http://graphql-fpl.herokuapp.com/
License: MIT License
Hey @lastmaj,
Thank you for creating this project, it's awesome for doing a lot of different types of analyses not possible on the app/FPL website. Just saw in the Readme that axios
/fetch
don't seem to work. I had ran into a similar issue while working on querying the FPL API from some scripts, and I found that we just have to supply a User-Agent
header in the axios request, as outlined in this answer because the reason why this is needed is unclear: https://stackoverflow.com/questions/65140822/node-fetch-help-getting-fetcherror-invalid-json-response-body-at-url-reas
Happy to open a PR to switch to using axios/fetch depending on what you prefer if you don't have the bandwidth to do it right now as well.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.