This isn't used anywhere
More handy api functions. Include plugin version in user-agent.
Add trailing slashes to these urls. We were getting a 301 each time.