OPEN - task #7: client: construct API base 
http://github.com/GustavePate/sandbox/issues/issue/7