How not to write an API: How Amazon got it wrong
medium.com
medium.com
Disclaimer: I have worked at Amazon and have known some of their internal systems. So very much likely above is the case ;)
The underscores indicate that this was written (or generated) at a time where real namespaces were not an option.
If it bothers you so much, get a 3rd-party lib and consume the web API directly.
The real title should be, "How not to support an API".