It would be nice if Torn offers a static test/mock API. I imagine having one valid and multiple invalid mock keys available. Each invalid key should map to one of the possible torn errors. Some additional keys could even return different HTTP status codes.
My reasoning is that I am building an API and I plan to open source it. I would like to include some end-to-end tests and be notified (through my CI system) of any breaking change in the torn API.
I would like to be able to create limited API keys for security purposes. I don't trust every script or service I come along and I would love to be able to create a new key which only gives access to the fields I allow. Speaking of which, the ability to create multiple keys and observing what those keys do would help already.
For example, no everyone needs to know about my Networth or Stats...
oh thanks. I didn't see that. So the only thing this would add is the limitation of new keys. e.g.. a new key which only allows the query of faction details.
EDIT: nevermind, its in the comments of the other thread.
I would like to be able to create limited API keys for security purposes. I don't trust every script or service I come along and I would love to be able to create a new key which only gives access to the fields I allow. Speaking of which, the ability to create multiple keys and observing what those keys do would help already.
For example, no everyone needs to know about my Networth or Stats...
It would be nice if Torn offers a static test/mock API. I imagine having one valid and multiple invalid mock keys available. Each invalid key should map to one of the possible torn errors. Some additional keys could even return different HTTP status codes.
My reasoning is that I am building an API and I plan to open source it. I would like to include some end-to-end tests and be notified (through my CI system) of any breaking change in the torn API.