Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

๐Ÿ’€ DEPRECATED: Experimental GraphQL-based replacement for the Hyperschedule API.

Notifications You must be signed in to change notification settings

hyperschedule/hyperschedule-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Hyperschedule API with GraphQL

This repository contains an experimental web service which, if completed, would replace the existing API.

Setup Instructions

  • Clone the repo git clone REPO_URL
  • cd hyperschedule-api
  • Install pipenv if you don't already have it with pip install pipenv
  • Set up a python 3 venv with pipenv --python 3.6
  • Activate the virtualenv with pipenv shell
  • Install dependencies with pipenv install
  • run the server with python app.py

Testing

download the courses json file to data.json in the main directory access the api at localhost:5000/graphql

Queries

currently supported queries are

query{allClasses{edges{node{name}}}}

query{allProfessors{edges{node{name}}}}

Play around with what values you return for each Class or Professor

About

๐Ÿ’€ DEPRECATED: Experimental GraphQL-based replacement for the Hyperschedule API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages