works with actual API, follows PEP8

These URLs should come from server configuration at runtime. Try not to hardcode any URLs, especially any exposing internal network resources. 

Also, these variables are global, please use the naming conventions to indicate if they are intended to be module global only (__var_name__) or a global constant (VAR_NAME).