Module: Clever
- Defined in:
- lib/clever.rb,
lib/clever/client.rb,
lib/clever/version.rb,
lib/clever/response.rb,
lib/clever/paginator.rb,
lib/clever/connection.rb,
lib/clever/types/base.rb,
lib/clever/types/term.rb,
lib/clever/types/event.rb,
lib/clever/types/token.rb,
lib/clever/types/course.rb,
lib/clever/types/school.rb,
lib/clever/types/section.rb,
lib/clever/types/student.rb,
lib/clever/types/teacher.rb,
lib/clever/types/classroom.rb,
lib/clever/types/enrollment.rb,
lib/clever/types/school_admin.rb,
lib/clever/types/district_admin.rb
Defined Under Namespace
Modules: Types Classes: Client, Connection, ConnectionError, DistrictNotFound, Paginator, Response
Constant Summary collapse
- API_URL =
'https://api.clever.com/v3.0'- ME_ENDPOINT =
'/v3.0/me'- USER_TOKEN_ENDPOINT =
'https://clever.com/oauth/tokens'- TOKENS_ENDPOINT =
'https://clever.com/oauth/tokens?owner_type=district'- STUDENTS_ENDPOINT =
'/v3.0/users?role=student'- COURSES_ENDPOINT =
'/v3.0/courses'- SECTIONS_ENDPOINT =
'/v3.0/sections'- TEACHERS_ENDPOINT =
'/v3.0/users?role=teacher'- DISTRICT_ADMINS_ENDPOINT =
'/v3.0/users?role=district_admin'- SCHOOL_ADMINS_ENDPOINT =
'/v3.0/users?role=staff'- EVENTS_ENDPOINT =
'/v1.2/events'- TERMS_ENDPOINT =
'/v3.0/terms'- GRADES_ENDPOINT =
'https://grades-api.beta.clever.com/v1/grade'- SCHOOLS_ENDPOINT =
'/v3.0/schools'- VERSION =
'3.2.10'- PAGE_LIMIT =
10_000- EVENT_TYPES =
%w(students teachers sections).freeze