These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Clonerworks API for Blueprint Materials Required

Author
Rosvenir Dro'Allen
Catskull Cartel
Grimskulls
#21 - 2013-07-23 13:26:22 UTC
Hi Louis

Marshalling goes right now, however the following URL: http://api.clonerworks.com/api/blueprint-calc/2/0/0 does not give a 404 as expected but a 500. A 500 return code signifies an internal error in the server. When you paste this URL in a browser you will get the "Whoops, looks like something went wrong" message.

Syntactically this URL is correct. it looks for id=2 with me and pe set to 0. It should return a 404.

Louis Vitton wrote:
Hi Rosvenir Dro'Allen,

I have deployed a fix to the api to so that it is now producing the correct response for "extraMaterials": [{}]

Cheers Louis

Louis Vitton
Viziam
Amarr Empire
#22 - 2013-07-23 23:47:47 UTC  |  Edited by: Louis Vitton
Rosvenir Dro'Allen wrote:
Hi Louis

Marshalling goes right now, however the following URL: http://api.clonerworks.com/api/blueprint-calc/2/0/0 does not give a 404 as expected but a 500. A 500 return code signifies an internal error in the server. When you paste this URL in a browser you will get the "Whoops, looks like something went wrong" message.

Syntactically this URL is correct. it looks for id=2 with me and pe set to 0. It should return a 404.


Hi mate,

Sorry about that error, my tried slippery fingers hit the wrong letter in the code, fixed it up now and will deploy tonight at downtime with some other new content i am going to put up also.

Cheers Louis.

Update to the code has been deplayed. The above issue should now be resolved.
I have also added another API call to the server. This call is in the early stages of development and i would like user feed back on how you would like to work.
Currently i have it set up as per this: http://api.clonerworks.com/api/docs/blueprint-research

Example: http://api.clonerworks.com/api/blueprint-research/587/2/5/5/5

Please have a look and play and let me know what you think.
I do know that some of the numeric values are returning as strings, i will be fixing this in the next few days after some feedback and direction on what people think
Slvrsmth
Native Freshfood
Minmatar Republic
#23 - 2013-07-26 09:52:22 UTC
Hey, this seems like exactly the thing I was looking for. Mind if I use your API to augument http://friendly-merchant.herokuapp.com with ability to appraise blueprints?

Carebearium - find the best solar system for you!

Louis Vitton
Viziam
Amarr Empire
#24 - 2013-07-26 12:30:45 UTC
Slvrsmth wrote:
Hey, this seems like exactly the thing I was looking for. Mind if I use your API to augument http://friendly-merchant.herokuapp.com with ability to appraise blueprints?


Hey mate,

Ya thats fine, its what it is there for.
Nice site by the way.

Cheers Louis.
KnifeOrSpoon
Contraposition Industries Inc
#25 - 2013-08-04 08:27:47 UTC
I've just tried this with a few T2 modules, and one in particular doesn't appear to be playing ball.

22291

api.clonerworks.com/api/blueprint-calc/22291/-4/-4

returns an oops error page... anything I am missing here?
Louis Vitton
Viziam
Amarr Empire
#26 - 2013-08-04 09:19:54 UTC  |  Edited by: Louis Vitton
Hi KnifeOrSpoon,

I can see the issue in the code that is causing the error.
I am working on fixing it now for you.


Update:
Can you please try it now for me i believe i have deployed a fix for you.
Louis Vitton
Viziam
Amarr Empire
#27 - 2013-08-27 11:10:48 UTC  |  Edited by: Louis Vitton
Hi guys,

I know the site may be down atm giving 404 errors for all calls. Appears there are some issues with the latest php package that was installed.

I am attempting to clear this up. I hope it doesnt impact anyone.

Cheers Louis

**update**

Server is back online again not sure why it went down in the first place.
I am looking into that.
Bruena Huren
Doomheim
#28 - 2013-08-29 13:48:26 UTC
[ResponseProcessCookies.java:122] Cookie accepted: "[version: 0][name: laravel_session][value: p6b2ejuapiq7kj6gof099c2463][domain: api.clonerworks.com][path: /][expiry: Thu Aug 29 17:46:12 CEST 2013]".
[ResponseProcessCookies.java:122] Cookie accepted: "[version: 0][name: laravel_session][value: p6b2ejuapiq7kj6gof099c2463][domain: api.clonerworks.com][path: /][expiry: Thu Aug 29 17:46:12 CEST 2013]".
[DefaultRequestDirector.java:540] Connection can be kept alive for 5000 MILLISECONDS
[BluePrintReceiver.java:143] reveived code 404

No idea why the forum shows my alt: this is Rosvenir

Louis Vitton wrote:
Hi guys,

I know the site may be down atm giving 404 errors for all calls. Appears there are some issues with the latest php package that was installed.

I am attempting to clear this up. I hope it doesnt impact anyone.

Cheers Louis

**update**

Server is back online again not sure why it went down in the first place.
I am looking into that.
Louis Vitton
Viziam
Amarr Empire
#29 - 2013-09-14 00:04:44 UTC
Are you still having issues or have they resolved?
Bruena Huren
Doomheim
#30 - 2013-09-15 08:35:39 UTC
Sorry for not responding faster, life has been busy. No all the issues are resolved. And I have the feeling the api is responding faster.

I do have another question. Is it possible for the api to return the amount made? For example, Minmatar Fuel block blueprint creates 40 blocks.
Louis Vitton
Viziam
Amarr Empire
#31 - 2013-09-17 02:17:46 UTC
Bruena Huren wrote:
Sorry for not responding faster, life has been busy. No all the issues are resolved. And I have the feeling the api is responding faster.

I do have another question. Is it possible for the api to return the amount made? For example, Minmatar Fuel block blueprint creates 40 blocks.


Yes it is possible and the good news is only a very small amount of code needs to be changed to archive this. I will post here once this is up and running.
Also guys if at time the application is not responding during DT this is when i like to push out changed to the server as its my prime time and there is no eve for me to play for the 15 to 30 min.
If you get any issues outside of this time please let me know.

The server has had the ram and cpu increased on it so it also :)
Valerius Dominicus
MyBits S.p.A.
#32 - 2013-09-18 23:01:09 UTC
Hi, nice work!

is there a way to add an optional xml export?
Louis Vitton
Viziam
Amarr Empire
#33 - 2013-09-24 00:25:27 UTC
Valerius Dominicus wrote:
Hi, nice work!

is there a way to add an optional xml export?


Currently there is not but i am looking into this.

The portionSize update has been pushed out to the server the other day also.
Rosvenir Dro'Allen
Catskull Cartel
Grimskulls
#34 - 2013-09-30 07:19:54 UTC
Valerius Dominicus wrote:
Hi, nice work!

is there a way to add an optional xml export?


Actually there are a lot of simple tools to go from json to xml (and back).

I use the jackson processor a lot
Rosvenir Dro'Allen
Catskull Cartel
Grimskulls
#35 - 2013-09-30 08:05:12 UTC
Louis Vitton wrote:
Bruena Huren wrote:
Sorry for not responding faster, life has been busy. No all the issues are resolved. And I have the feeling the api is responding faster.

I do have another question. Is it possible for the api to return the amount made? For example, Minmatar Fuel block blueprint creates 40 blocks.


Yes it is possible and the good news is only a very small amount of code needs to be changed to archive this. I will post here once this is up and running.
Also guys if at time the application is not responding during DT this is when i like to push out changed to the server as its my prime time and there is no eve for me to play for the 15 to 30 min.
If you get any issues outside of this time please let me know.

The server has had the ram and cpu increased on it so it also :)



The portionSize works like a charm :) thanks
Louis Vitton
Viziam
Amarr Empire
#36 - 2013-10-04 10:44:56 UTC  |  Edited by: Louis Vitton
Mail post updated with this information:

Dev URL live on the server for people to test the API v2 currently been developed.
This API has 2 formats, XML and JSON.
URL EXAMPLES:
JSON:
dev.clonerworks.com/api2/bpcalc/json/typeID/me/pe/peSkill/indySkill/peMod/matMod
XML:
dev.clonerworks.com/api2/bpcalc/xml/typeID/me/pe/peSkill/indySkill/peMod/matMod

Same as before only TypeID required as a min along with the format.
Please test this and let me know what you think.
*only use the dev.clonerworks.com url for testing, nothing live as it will be updated on an ongoing basis.
Louis Vitton
Viziam
Amarr Empire
#37 - 2013-10-17 19:32:07 UTC
Hi guys,

Any feed back on the dev url?
Incorrect results or changes you would like to make in the rendering of the XML?

Thunder Jolt
Frozen Monkeys
#38 - 2013-10-29 20:52:26 UTC
Hey Louis,

Just wanted to say thanks for this API !
I'm no dev guru (more like dev noob) but I'm working my way arround in python and your API is doing wonders for me.

So thanks a lot mate.
Keep up the good work, I'll be watching from afar Blink
Louis Vitton
Viziam
Amarr Empire
#39 - 2013-11-19 08:07:28 UTC
Database updated to Rubicon for production api.clonerworks.com
Eoghan Gorthaur
Clepsydra Bureau
#40 - 2013-11-19 08:34:38 UTC
Hey man,

Thanks for this API !

I will probably use it in my site :)