WebAPI
Can I (we) get a bit more information about the IRE web api? I had never seen it mentioned until Garryn posted about it today, even though it appears to have existed for some time.
I had to guess that the base URI was api.imperian.com -- what other secrets are out there?
Specific questions:
I had to guess that the base URI was api.imperian.com -- what other secrets are out there?
Specific questions:
- What URIs are used for OAuth requests? The two standard locations I know of (/oauth/request_token and /accounts/OAuthGetRequestToken) both failed.
- Does additional functionality exist not mentioned in http://www.ironrealms.com/IREAPIdocumentation.pdf
- If not, are you open to adding functionality?
Edit to add one more
- Why is plaintext auth an option when the site doesn't allow HTTPS for api requests?
- Follow-up - why doesn't the site allow HTTPS for api requests?
I am the righteous one...
the claims are stated - it's the world I've created
the claims are stated - it's the world I've created
1
Comments
I can't find the page for oauth initialization, though.
As for detailed information about players, that would make the full characters output a bit larger than they probably want for a single API get. You can take the list you retrieve and make individual /characters/<char>.json requests, though:
http://api.imperian.com/characters/rynok.json
EDIT: And your all characters call would need to be something other than "characters", as that already exists (and fetches those online). Probably something like /data/characters or something. Adding a general "data" sub-category to the API would be neat.
the claims are stated - it's the world I've created
Wiki article here: https://en.wikipedia.org/wiki/OAuth
Twitter's faq here (it was originally developed primarily for twitter apps to auth with twitter): https://dev.twitter.com/docs/auth/oauth/faq
SSL is the security mechanism in HTTP Secure (HTTPS) (actually, TLS is used more than SSL these days).
https://en.wikipedia.org/wiki/Secure_Sockets_Layer
https://en.wikipedia.org/wiki/HTTP_Secure
the claims are stated - it's the world I've created
the claims are stated - it's the world I've created