Support different base api

Fixes #7
HOSTED_BASE_URL sounds good to me (I quickly looked through GitHub's documentation and did not see a settled term for this).

I did not understand your comment about "making this private".  Could you please elaborate?