I'm writing an application that will eventually allow you to use it for any StackExchange site. Thus, I'm allowing users to input the domains of the sites they want to use (e.g. stackoverflow.com
). I'm not sure whether it's safe to assume the API will always be at api.<DOMAIN>
(and on all StackExchange sites) -- will there be other subdomains? E.g. ws.<DOMAIN>
(for web service).
Basically, I don't know whether I should ask the user for stackoverflow.com
and prepend api.
myself or ask for the full api.stackoverflow.com
.