API - Basic API calls

it looks good... but I rather see a generic GET function which is reused across all other classes rather than a specific get_courses_main function. Read my comment above. I think if you manage to refactor the function above you will be able to refactor those GET functions as well.