Quote:
Originally Posted by CareBear
Hey Doer, your site looks very nice  Have you considered opening up an API to your skill calculator for other sites? In exchange for recognition, links, etc... etc...? I can understand if you don't want to... just thought I'd ask.
|
Thanks, CareBear, and welcome back.
It will probably improve feedback on the results of the calculations, and thus information that will lead to its improvement, to have it more widely used; therefore, i will provide the following API for now:
You can get a csv file of the results of a csv input like so:
http://esi.coolinc.info/?action=batc...000,4000,16500
Returns: 3.43,11.64,29.66,68.84,-1.00 as a csv file called result.csv
Note: values above the currently supported range will return -1.0. The result of negative or non-numeric input is undefined.
The inverse result can be requested thus:
http://esi.coolinc.info/?action=batc...66,68.84,12000
Returns: 998.98,2000.88,3000.81,4000.75,15999.97
as a file called result.csv
Note: values that map to a higher level than the maximum supported level are clamped to the max level. The result of negative or non-numeric input is undefined. This calculation is an approximation that doesn't concern itself too much with exact inversion of the level->tt function -- but it should be close.
If you find this not suitable or find a defect, please let me know.
Obviously it will be faster and more efficient to concatenate all the needed values together and send a single request rather than send a bunch of separate requests.
Please post a link to
PE|
EU WikiTools or
PE Wiki Charts in connection with this and also a link to this thread requesting feedback on the accuracy of the results.