API:Testimonial 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 recordabbreviated_name
: First name of the instructor with abbreviated last nameuniversity
: University name that the instructor attendedbio
: 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)
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
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,
"abbreviated_name": "Jimmy B.",
"university": "Chapman University",
"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"
}
]
}