API - Basic API calls

double check that this function supported in PHP version supported by ATutor