Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.
/ graphql-guc Public archive

πŸŽ“ Get your GUC student info with GraphQL!

License

Notifications You must be signed in to change notification settings

itsabdelrahman/graphql-guc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Warning GraphQL GUC is unable to function anymore, since the underlying data source has been decommissioned by the GUC (which also led the official GUC mobile app to stop functioning as well).

GraphQL GUC

Get your German University in Cairo (GUC) student info with GraphQL!

Features

  • πŸ”‘ Login
  • πŸ“š Courses
  • βœ… Attendance
  • πŸ’― Grades
  • πŸ“ Exams
  • πŸ—“οΈ Schedule
  • πŸ“œ Transcript

Usage

POST https://graphql-guc.now.sh
Query
query {
  student(username: "john.doe", password: "123456") {
    isAuthorized
    courses {
      code
      name
      absence {
        level
        severity
      }
      coursework {
        type
        grade
        maximumGrade
      }
      midterm {
        grade
      }
      exam {
        venue {
          room
          building
        }
        seat
        startsAt
      }
    }
    schedule {
      type
      weekday
      number
      venue {
        room
        building
      }
      course {
        code
        name
      }
    }
    transcript {
      cumulativeGPA
      semesters {
        year
        type
        gpa
        entries {
          course {
            code
            name
          }
          grade {
            german
            american
          }
          creditHours
        }
      }
    }
  }
}

Try out this query in the live demo.

Development

$ yarn
$ yarn dev
$ open http://localhost:8080/playground

Notable Dependents

Thanks

  • Nabila Hashad, for her early adoption of the idea & help with coding a previous version of the project.

  • Ahmed Elhanafy, for his inspired encouragement of learning GraphQL.

  • Abdullah Maged, for designing the logo.

License

MIT License