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.
 

EVE API and Public CREST discussion

First post First post First post
Author
CCP FoxFour
C C P
C C P Alliance
#381 - 2014-05-23 13:13:42 UTC
Ideki wrote:
CCP FoxFour wrote:
Hey guys,

I have something ready that I just put on Sisi for testing. I have asked that the API keys site for Sisi be opened up here: https://community.testeveonline.com/support/api-key

If you generate a corp key, with the asset list access mask, and are a director or CEO, and have POCOs belonging to your corp, you should now have results here: http://api.testeveonline.com/corp/CustomsOffices.xml.aspx?keyID=XXXX&vCode=XXXX&characterID=XXXX

Give it some testing for me and let me know if there are any problems.


Would love to help you, but I am not director/CEO of my corp, and anyway my corp is basically dead at the moment.
I am the only one that login. What?
Sorry. Sad


You could reconfirm if you corp has POCOs but you don't have access to that. :P

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

DoToo Foo
Garoun Investment Bank
Gallente Federation
#382 - 2014-05-23 14:44:19 UTC  |  Edited by: DoToo Foo
CCP FoxFour wrote:
Hey guys,

I have something ready that I just put on Sisi for testing. I have asked that the API keys site for Sisi be opened up here: https://community.testeveonline.com/support/api-key

If you generate a corp key, with the asset list access mask, and are a director or CEO, and have POCOs belonging to your corp, you should now have results here: http://api.testeveonline.com/corp/CustomsOffices.xml.aspx?keyID=XXXX&vCode=XXXX&characterID=XXXX

Give it some testing for me and let me know if there are any problems.



Stupid question: How do I work out my characterID (a pointer to an FAQ or even just tell me which manual to RTFM

Regardless, running the API with http://api.testeveonline.com/corp/CustomsOffices.xml.aspx?keyID=XXXX&vCode=XXXX works. (of course replacing xxx with relevant api ids)

The tax rates appear correct but the Solar System Id is zero and SolarSystemName is empty

Edit: also , I am pretty sure that reinforceHour is probably not right either. Is AllowStandings 0 meant to be true or false? I have allowed access (and different tax rates) based on standings.

http://pastebin.com/HKFWLBzn

It also lets me know that I have some tax rates that are inconsistent and I have more work to do. So Thank you, I think.

http://foo-eve.blogspot.com.au/

W0wbagger
Immortalis Inc.
Shadow Cartel
#383 - 2014-05-23 14:51:12 UTC
Planet name would be great? Or maybe i've missed that

Presumably reinforce hour is the setting of the poco's timer as opposed to when it comes out of RF?
ItsmeHcK1
Immortalis Inc.
Shadow Cartel
#384 - 2014-05-23 14:51:23 UTC  |  Edited by: ItsmeHcK1
Same as the guy above: It works, but the solarsystemID and name are empty. (As are reinforceHour, allowAlliance and allowStanding, but I'm not all that fussed about those tbh.)
Could you possibly add a planetID as well? That's the main thing I've always been missing.


P.S.: One would almost say you've been keeping track of pocos. :P
P.P.S.: I've PM'd you the URL to a working key, hope that helps.
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#385 - 2014-05-23 14:52:45 UTC
DoToo Foo wrote:
Stupid question: How do I work out my characterID (a pointer to an FAQ or even just tell me which manual to RTFM


Cheap and nasty way. do a 'view image' on your forum picture. It's the number before the _128


so 91696125 for you.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

CCP FoxFour
C C P
C C P Alliance
#386 - 2014-05-23 14:55:33 UTC
DoToo Foo wrote:
CCP FoxFour wrote:
Hey guys,

I have something ready that I just put on Sisi for testing. I have asked that the API keys site for Sisi be opened up here: https://community.testeveonline.com/support/api-key

If you generate a corp key, with the asset list access mask, and are a director or CEO, and have POCOs belonging to your corp, you should now have results here: http://api.testeveonline.com/corp/CustomsOffices.xml.aspx?keyID=XXXX&vCode=XXXX&characterID=XXXX

Give it some testing for me and let me know if there are any problems.



Stupid question: How do I work out my characterID (a pointer to an FAQ or even just tell me which manual to RTFM

Regardless, running the API with http://api.testeveonline.com/corp/CustomsOffices.xml.aspx?keyID=XXXX&vCode=XXXX works. (of course replacing xxx with relevant api ids)

The tax rates appear correct but the Solar System Id is zero and SolarSystemName is empty

Edit: also , I am pretty sure that reinforceHour is probably not right either. Is AllowStandings 0 meant to be true or false? I have allowed access (and different tax rates) based on standings.

http://pastebin.com/HKFWLBzn

It also lets me know that I have some tax rates that are inconsistent and I have more work to do. So Thank you, I think.


The RF time will be the hour in the middle of what you have set. So if you have 17-19 set the RF should be set to 18... from what I could gather.

systemID I will have to look into, thank you for pointing that out.

Allow standings should be 0 or 1 depending what you have set.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

CCP FoxFour
C C P
C C P Alliance
#387 - 2014-05-23 14:57:46 UTC
ItsmeHcK1 wrote:
Same as the guy above: It works, but the solarsystemID and name are empty. (As are reinforceHour, allowAlliance and allowStanding, but I'm not all that fussed about those tbh.)
Could you possibly add a planetID as well? That's the main thing I've always been missing.


P.S.: One would almost say you've been keeping track of pocos. :P
P.P.S.: I've PM'd you the URL to a working key, hope that helps.


Wont be adding planetID, you guys will have to do a locations lookup based on the itemID and then use the X Y Z to find closest planet. Sorry! :(

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

CCP FoxFour
C C P
C C P Alliance
#388 - 2014-05-23 14:59:13 UTC
W0wbagger wrote:
Planet name would be great? Or maybe i've missed that

Presumably reinforce hour is the setting of the poco's timer as opposed to when it comes out of RF?


Correct, the RF time is what you have it set to, not when it actually comes out after being attacked. Hope that makes sense.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

CCP FoxFour
C C P
C C P Alliance
#389 - 2014-05-23 15:02:48 UTC
I am looking into the systemID, reinforcedHour, allowAlliance, and allowStandings issues. Not sure whats wrong. Worked locally. :/

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

CCP FoxFour
C C P
C C P Alliance
#390 - 2014-05-23 15:51:09 UTC
Fixes are in, deployed to Sisi, cache is flushed. Let me know if you have any other issues. :)

Fixed: System information, reinforced hour, allow alliance, and allow standings all being blank.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

ItsmeHcK1
Immortalis Inc.
Shadow Cartel
#391 - 2014-05-23 16:01:49 UTC  |  Edited by: ItsmeHcK1
Yup, it seems all is well in the world.
Any idea on a timeframe for these to hit TQ?

[edit]
For those interested, the planet the poco is on is actually contained in the name. (Available through Locations)
(row itemID="xxxxx" itemName="Customs Office (Jita III)" x="x" y="y" z="z"/) (Imagine these are the right brackets.)
CCP FoxFour
C C P
C C P Alliance
#392 - 2014-05-23 16:07:22 UTC
ItsmeHcK1 wrote:
Yup, it seems all is well in the world.
Any idea on a timeframe for these to hit TQ?


Kronos is the plan assuming someone doesn't point out a giant flaw with it all. :)

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

DoToo Foo
Garoun Investment Bank
Gallente Federation
#393 - 2014-05-23 16:17:36 UTC
@ItsmeHcK1 : Regarding item id & location. Yes, I want to get my head around this. That looks like what I want, just not there yet.

@CCP FoxFour; Definitely better. I could do some systematic testing on Sisi to ensure that the correct data is coming through for different POCO's, but that will have to wait for a time not involving me falling asleep at keyboard.

http://foo-eve.blogspot.com.au/

CCP FoxFour
C C P
C C P Alliance
#394 - 2014-05-23 16:21:18 UTC
ItsmeHcK1 wrote:
Yup, it seems all is well in the world.
Any idea on a timeframe for these to hit TQ?

[edit]
For those interested, the planet the poco is on is actually contained in the name. (Available through Locations)
(row itemID="xxxxx" itemName="Customs Office (Jita III)" x="x" y="y" z="z"/) (Imagine these are the right brackets.)


Oh ****... I didn't even think of that. HAHAHA! That makes it a bit easier since thats a eve system provided name and not one you can set.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#395 - 2014-05-23 16:25:51 UTC
ItsmeHcK1 wrote:
Yup, it seems all is well in the world.
Any idea on a timeframe for these to hit TQ?

[edit]
For those interested, the planet the poco is on is actually contained in the name. (Available through Locations)
(row itemID="xxxxx" itemName="Customs Office (Jita III)" x="x" y="y" z="z"/) (Imagine these are the right brackets.)



And as long as you trust me:

https://www.fuzzwork.co.uk/tools/api-map-data/

Has an api on it for working out the closest celestial.

select (pow(:x-x,2)+pow(:y-y,2)+pow(:z-z,2)) distance,itemName,itemID,typeID
from mapDenormalize
where solarsystemid=:solarsystemid
order by distance asc
limit 1

Is the heart of it.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

ItsmeHcK1
Immortalis Inc.
Shadow Cartel
#396 - 2014-05-24 02:03:37 UTC
Steve Ronuken wrote:
select (pow(:x-x,2)+pow(:y-y,2)+pow(:z-z,2)) distance,itemName,itemID,typeID
from mapDenormalize
where solarsystemid=:solarsystemid
order by distance asc
limit 1

That is a very sexy query.
I'll keep that as back-up in case the string parsing thing ever stops working. (I mean why abuse my own database when CCP already gives me the answer, amirite?)
Llyona
Lazerhawks
L A Z E R H A W K S
#397 - 2014-05-24 22:22:03 UTC
Ab'del Abu wrote:
Erica Dusette wrote:
There are arguments in the other direction too, sure, but I'm confident if you took a physical poll you'd see the vast majority would be against the change.


If only forum activity mirrored wh population ...


It would be possible to have an in-game poll. I actually like this idea, as it allows a poll across the main userbase, rather than the vocal minority that frequent the forum.

EVE is an illness, for which there is no cure.

CCP FoxFour
C C P
C C P Alliance
#398 - 2014-05-26 15:58:02 UTC
There are some new things deployed to Sisi today for testing (release date TBA):

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Max Kolonko
Caldari Provisions
Caldari State
#399 - 2014-05-26 16:53:59 UTC  |  Edited by: Max Kolonko
CCP FoxFour wrote:
There are some new things deployed to Sisi today for testing (release date TBA):


Any way to limit the query to specific Corp/Alliance/Timeframe?
CCP FoxFour
C C P
C C P Alliance
#400 - 2014-05-26 16:59:19 UTC
Max Kolonko wrote:
CCP FoxFour wrote:
There are some new things deployed to Sisi today for testing (release date TBA):


Any ways to limit the query to specific Corp/Alliance/Timeframe?


No not at this time. At a later time once you guys have access to the corporation resources that will list their wars. No plans for anything time based.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.