Returns a specialty by id.
Request
- HTTP Verb: GET
- URI: /specialty/{id}
Query Parameters
- id: specialty id.
Request example
$result = $API->getSpecialty(1236);
Output Example
array( "id" => 1236, "name" => "Sleep Medicine", "sub_specialties" => array( [0] => array( "id" => 4567, "name" => "Hospice and Palliative Medicine", "sub_specialties" => null ), [1] => array( "id" => 4568, "name" => "Pediatric Anesthesiology", "sub_specialties" => null ), [2] => array( "id" => 4569, "name" => "Pain Medicine", "sub_specialties" => null ) ) )