API:Instructor Search
Attributes:
current_page
: Current page # of resultstotal_entries
: Total number of results for the given querytotal_pages
: Total number of pages of resultsinstructors
: List of instructorsid
: Id of the instructor recordparam
: Param you can pass in place of Id (friendly id) to find instructor recordabbreviated_name
: First name of the instructor with abbreviated last nameuniversity
: University name that the instructor attendedmajor
: Major of instructorbio
: Truncated Biography of the instructoravatar_url
: Url to retrieve the headshot of the instructorprofile_url
: Url to retrieve the details of the instructorawesome_rating
: This is a overall performance rating based on numerous factorsaverage_rating
: Average rating based on submitted reviewsreviews_count
: Number of submitted reviews for this instructortype
: Type of instructor (Standard or GPA Protection)hours_taught
: Float number of instructional hours taughtaccepts_work
: boolean indicating if instructor is accepting new assignmentstier
: String description of highest level
Methods:
List
URL: https://revolutionprep.com/api/v1/instructors.[format]
Method: GET
Optional Parameters:
query:
This could be any combination of words separated by spaces
zip:
A US zip code which returns results sorted by zip code nearest to furthest
subject_short_name:
A string with a parameterized version of the instructor subject name ('algebra-i', 'computer-science')
subject_category_short_name:
A string with a parameterized version of the instructor subject category name ('math', 'test-prep')
professional:
Boolean ('true', '1' or 'false', '0') that if true, will only include 'professional' tutors in result set
account_id:
Instructors must have been reviewed with a 4+ star rating by a student associated with that account_id
page:
an integer value which specifies which page of results to fetch, starting at 1. Fetching successively higher page numbers will return additional results, until there are no results to return (in which case an empty result set will be returned). Defaults to 1 page and 25 records per page
JSON example
// https://console.revolutionprep.com/api/v1/instructors.json?query=Jimmy
{
"current_page": 1,
"total_entries": 1,
"total_pages": 1,
"instructors": [
{
"id": 1309,
"param": "jimmy",
"abbreviated_name": "Jimmy B.",
"university": "Chapman University",
"major": "B.S. Art History",
"bio": "Jimmy has been teaching for six years. He started out directing Shakespeare for youth theater, a...",
"avatar_url": "https://s3.amazonaws.com/revrails-development/profile_attachments/9688/Jimmy.Bowman.jpg",
"profile_url": "http://http://localhost:3333/api/v1/instructors/1309.json",
"awesome_rating": 98.3,
"average_rating": 4.9,
"reviews_count": 270,
"type": "Standard Tutor"
"hours_taught": 1200,
"accepts_work": true,
"tier": "Distinguished"
}
]
}
API:Instructor Details
Attributes:
id
: Id of the instructor recordabbreviated_name
: First name of the instructor with abbreviated last nameuniversity
: University name that the instructor attendedmajor
: Instructors major at universitybio
: Full Biography of the instructoravatar_url
: Url to retrieve the headshot of the instructorawesome_rating
: This is a overall performance rating based on numerous factorsaverage_rating
: Average rating based on submitted reviewsreviews_count
: Number of submitted reviews for this instructortype
: Type of instructor (Standard or GPA Protection)sat_percentile
: Sat score percentileact_percentile
: Act score percentilehours_taught
: Float number of instructional hours taughtaccepts_work
: boolean indicating if instructor is accepting new assignmentstier
: String description of highest levelsubjects
: An array of subject names the instructor is proficient in teachinglocation
: Geographical location where the instructor is basedcity
: Name of citystate
: Name of statezip
: Postal zip codestudent_reviews
: Collection of 10 most recent reviews on instructors by studentsstudent_name
: Abbreviated name of studentstars
: Star rating given to the instructor based on a 5 star ratingcomment
: Comment made by the studentreviewed_on
: The date a student submitted the review
Methods:
List
URL: https://console.revolutionprep.com/api/v1/instructors/[id].[format]
Method: GET
Required Parameters:
id:
This is the primary id of the instructor
JSON example
// https://console.revolutionprep.com/api/v1/instructors/1309.json
{
"id": 1309,
"abbreviated_name": "Jimmy B.",
"university": "Chapman University",
"major": "Creative Writing, Theater",
"bio": "Jimmy has been teaching for six years. He started out directing Shakespeare for youth theater, and now teaches English, writing, SAT/ACT prep, and improvisational comedy to students of all ages. In over three years with Revolution Prep, he has been rated as an A/A+ teacher by 97% of his students. Jimmy graduated from Chapman University with degrees in Creative Writing and Theater and was involved in a popular campus improv group that continues to perform in theaters all around Southern California. In his free time Jimmy is always up for a competitive game of Ultimate Frisbee.",
"avatar_url": "https://s3.amazonaws.com/revrails-development/profile_attachments/9688/Jimmy.Bowman.jpg",
"awesome_rating": 98.3,
"average_rating": 4.9,
"reviews_count": 270,
"type": "Standard",
"sat_percentile": 99,
"act_percentile": null,
"hours_taught": 1200,
"accepts_work": true,
"tier": "Distinguished",
"subjects": [
{
name: "10th Grade English",
short_name: 10th-grade-english,
category_name: "English Language and Literature",
category_short_name: "english-language-and-literature"
}
],
"location": {
"city": "Toluca Lake",
"state": "CA",
"zip_code": "91602"
},
student_reviews: [
{
student_name: "Karin L.",
stars: 5,
comment: "Yes, he keeps the class interactive and interesting throughout the entire three hours which is very hard to do",
reviewed_on: "05/30/13"
},
ect...
]
}