API documentation improved

I improved the API documetation. As a bonus I added a way to check your API key.