Updated api.php

Added function to retrieve information about doctors. (all / specific)