Defines the ClientAPI class and implements basic get method