Starting off with writing a client class for the api.