NBA2012 is Spring Boot demo application for KGraphQL library. It provides advanced statistics about NBA season 2011-2012.
Every push to master branch is automatically deployed to heroku at at https://kql-nba2012.herokuapp.com. First request may take up to 1 minute, because Heroku stops free tier dyno after 30 mintues of inactivity.
Click on example link to see response JSON directly in your browser:
- {player(id:34){name, team{id}}}
- {player(id:34){name, tenures{team{id}, startDate, endDate}}}
- {players(name: "James"){name, minutes, offRtg, defRtg}}
- {players{name, team{id}}}
- {team(id: "MIA"){id, minutes, offRtg, defRtg, overallRtg}}
- {games{id, homeTeam{ ...team }, awayTeam{ ...team }}} fragment team on Team { id, offRtg, defRtg }
- {tenures(playerId: 34){startDate, team{...team}}} fragment team on Team { id, offRtg, defRtg }
- {__type(name: "Player"){description, fields{name, type{kind, name, ofType{name}} }} }