Common API client by Alessio Ababilov

Hopefully this will be a good base for our API client needs.