Added base url
API methods

__getattr__ is used to generate api-calling methods