GraphQL wrapper for Statscore REST API
npm install
cp .env.example .env
Fill the .env file with your credentials
You need to have Node version > 14 or 12 with --experimental-modules flag when running to use ES6 imports/exports.
node app.js
Open server url in favorite browser:
http://localhost:4000/graphql
sports(limit: Int): [Sport]
sport(id: Int!): SportShow
venues(limit: Int, page: Int): [Venue]
venue(id: Int!): VenueShow