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.
 

API Changes On Sisi - Please Help Test

First post
Author
Makari Aeron
Imperial Shipment
Amarr Empire
#21 - 2014-03-09 20:52:59 UTC
Hey FoxFour, I was just wondering what you've changed on /eve/CharacterID because on the SISI API, the usual "names=" doesn't work.
WORKS: https://api.eveonline.com/eve/CharacterID.xml.aspx?names=Makari+Aeron
NOPE: https://api.testeveonline.com/eve/CharacterID.xml.aspx?names=Makari+Aeron

CCP RedDawn: Ugly people are just playing life on HARD mode. Personally, I'm playing on an INFERNO difficulty.

CCP Goliath: I often believe that the best way to get something done is to shout at the person trying to help you. http://goo.gl/PKGDP

Wollari
Dirt Nap Squad
#22 - 2014-03-09 22:54:27 UTC  |  Edited by: Wollari
[deleted]

DOTLAN EveMaps | Your out-of-game map, navigation toolset, sov database, etc. since 2008

CCP FoxFour
C C P
C C P Alliance
#23 - 2014-03-10 08:01:55 UTC
Makari Aeron wrote:
Hey FoxFour, I was just wondering what you've changed on /eve/CharacterID because on the SISI API, the usual "names=" doesn't work.
WORKS: https://api.eveonline.com/eve/CharacterID.xml.aspx?names=Makari+Aeron
NOPE: https://api.testeveonline.com/eve/CharacterID.xml.aspx?names=Makari+Aeron


Yea, I made some changes to it. The new eve/OwnerID endpoint uses the same DB proc as eve/CharacterID and while it worked on my local it seems to have gone bang on Sisi. It's top of my list to look at today. :)

@CCP_FoxFour // Technical Designer // Team Tech Co

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

Risingson
#24 - 2014-03-10 12:48:52 UTC
Am excited and happy about the FacWarSystems additions, thanks a lot for that !
But do you consider to reduce the cache timers on that api ? It currently is an hour which is too long for that kind of info imo. 10 minutes is the minimum time to complete a fw dungeon so maybe that is a good cache timer on that api ?
CCP FoxFour
C C P
C C P Alliance
#25 - 2014-03-10 12:59:00 UTC
Risingson wrote:
Am excited and happy about the FacWarSystems additions, thanks a lot for that !
But do you consider to reduce the cache timers on that api ? It currently is an hour which is too long for that kind of info imo. 10 minutes is the minimum time to complete a fw dungeon so maybe that is a good cache timer on that api ?


For now no, have not considered that. I am open to discussion on it but you would be hard pressed to convince me (not impossible however).

The purpose of the API is to give a general overview of the battlefield, not give you real time information, and give an idea of how the war is going. To that end to me it seems the 1 hour cache is about perfect.

@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
#26 - 2014-03-10 12:59:47 UTC
eve/OweverID and eve/CharacterInfo have been fixed on Sisi. Sorry about that! I r dumb dumb.

@CCP_FoxFour // Technical Designer // Team Tech Co

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

Risingson
#27 - 2014-03-10 15:11:31 UTC
CCP FoxFour wrote:
Risingson wrote:
Am excited and happy about the FacWarSystems additions, thanks a lot for that !
But do you consider to reduce the cache timers on that api ? It currently is an hour which is too long for that kind of info imo. 10 minutes is the minimum time to complete a fw dungeon so maybe that is a good cache timer on that api ?


For now no, have not considered that. I am open to discussion on it but you would be hard pressed to convince me (not impossible however).

The purpose of the API is to give a general overview of the battlefield, not give you real time information, and give an idea of how the war is going. To that end to me it seems the 1 hour cache is about perfect.
ok, i give it a shot then. This use-case would display vulnerable systems flashy red to show a user where fights are likely to happen or for FCs to short-term plan strategies in a bigger picture. For those reasons people want to know whats going on right now.

Given that you can complete many dungeons in 60 minutes to change the situation, revealing the victoryPoints info only really makes it usable tactically if it has a short interval cache.

By the way did you consider adding the level of system upgrades aswell, plus in FacWarStats the state of warzone control?
CCP FoxFour
C C P
C C P Alliance
#28 - 2014-03-10 15:57:43 UTC
Risingson wrote:
CCP FoxFour wrote:
Risingson wrote:
Am excited and happy about the FacWarSystems additions, thanks a lot for that !
But do you consider to reduce the cache timers on that api ? It currently is an hour which is too long for that kind of info imo. 10 minutes is the minimum time to complete a fw dungeon so maybe that is a good cache timer on that api ?


For now no, have not considered that. I am open to discussion on it but you would be hard pressed to convince me (not impossible however).

The purpose of the API is to give a general overview of the battlefield, not give you real time information, and give an idea of how the war is going. To that end to me it seems the 1 hour cache is about perfect.
ok, i give it a shot then. This use-case would display vulnerable systems flashy red to show a user where fights are likely to happen or for FCs to short-term plan strategies in a bigger picture. For those reasons people want to know whats going on right now.

Given that you can complete many dungeons in 60 minutes to change the situation, revealing the victoryPoints info only really makes it usable tactically if it has a short interval cache.

By the way did you consider adding the level of system upgrades aswell, plus in FacWarStats the state of warzone control?


For those short term trying to see where a fight is you have access to that information in the client though. If we set this lower people would be asking the same for other map statistics such as NPC kills and player kills.

It has been brought to my attention that I should look at the system upgrade level, need to have a talk with others about that.

@CCP_FoxFour // Technical Designer // Team Tech Co

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

Makari Aeron
Imperial Shipment
Amarr Empire
#29 - 2014-03-10 19:41:04 UTC
CCP FoxFour wrote:
Makari Aeron wrote:
Hey FoxFour, I was just wondering what you've changed on /eve/CharacterID because on the SISI API, the usual "names=" doesn't work.
WORKS: https://api.eveonline.com/eve/CharacterID.xml.aspx?names=Makari+Aeron
NOPE: https://api.testeveonline.com/eve/CharacterID.xml.aspx?names=Makari+Aeron


Yea, I made some changes to it. The new eve/OwnerID endpoint uses the same DB proc as eve/CharacterID and while it worked on my local it seems to have gone bang on Sisi. It's top of my list to look at today. :)


Thanks FoxFour! Also, thank you for the new eve/OwnerID endpoint. It was a pain to figure out what type of entity a name was prior to this. Keep up the good work.

CCP RedDawn: Ugly people are just playing life on HARD mode. Personally, I'm playing on an INFERNO difficulty.

CCP Goliath: I often believe that the best way to get something done is to shout at the person trying to help you. http://goo.gl/PKGDP

Wollari
Dirt Nap Squad
#30 - 2014-03-11 09:59:11 UTC
Risingson wrote:
ok, i give it a shot then. This use-case would display vulnerable systems flashy red to show a user where fights are likely to happen or for FCs to short-term plan strategies in a bigger picture. For those reasons people want to know whats going on right now.

Given that you can complete many dungeons in 60 minutes to change the situation, revealing the victoryPoints info only really makes it usable tactically if it has a short interval cache.

I know your wishes, but i'm happy with getting at least some kind of useable information. The last time CCP was giving out sensitive ingame information (SovereigntyStatus API in 2009-12) they had to remove it after couple of days, because people were abusing it to make their ingame short term decisions on informations that were not able to gather ingame in the same quality.

They want to maintain the fog-of-war.

So please keep that in mind. I'm more happy with an api that is maybe a bit outdated rather then no api information at all.

DOTLAN EveMaps | Your out-of-game map, navigation toolset, sov database, etc. since 2008

Risingson
#31 - 2014-03-11 13:59:05 UTC
Wollari wrote:
Risingson wrote:
ok, i give it a shot then. This use-case would display vulnerable systems flashy red to show a user where fights are likely to happen or for FCs to short-term plan strategies in a bigger picture. For those reasons people want to know whats going on right now.

Given that you can complete many dungeons in 60 minutes to change the situation, revealing the victoryPoints info only really makes it usable tactically if it has a short interval cache.

I know your wishes, but i'm happy with getting at least some kind of useable information. The last time CCP was giving out sensitive ingame information (SovereigntyStatus API in 2009-12) they had to remove it after couple of days, because people were abusing it to make their ingame short term decisions on informations that were not able to gather ingame in the same quality.

They want to maintain the fog-of-war.

So please keep that in mind. I'm more happy with an api that is maybe a bit outdated rather then no api information at all.
Although Ingame info is quite good on this I am sure CCP has good reasons to limit info oog. I only tried to outline why it would be cool to have data a bit closer to real time than one hour. I am sure you would love to have cache timers reduced to 30min on those apis aswell ;) ... Still i am super happy about fw additions \o/ !
Makari Aeron
Imperial Shipment
Amarr Empire
#32 - 2014-03-11 16:27:56 UTC
Hey FoxFour, I was wondering why you include GroupID but not TypeID for eve/OwnerID since any sort of browser bases JavaScript information panel popup requires the TypeID for Character, Corporation, Alliance, or Faction as listed on the official eve wiki. (faction typeID not listed on wiki, but it works anyways). While it's no big deal to convert from GroupID to TypeID, I was first and foremost wondering why there's two identifiers for these entities. If you could include typeID, that would be great. Alternatively, if the IGB group (if there is one) should really consider changing to groupID if this endpoint stays as is.

CCP RedDawn: Ugly people are just playing life on HARD mode. Personally, I'm playing on an INFERNO difficulty.

CCP Goliath: I often believe that the best way to get something done is to shout at the person trying to help you. http://goo.gl/PKGDP

CCP FoxFour
C C P
C C P Alliance
#33 - 2014-03-11 21:16:34 UTC
Makari Aeron wrote:
Hey FoxFour, I was wondering why you include GroupID but not TypeID for eve/OwnerID since any sort of browser bases JavaScript information panel popup requires the TypeID for Character, Corporation, Alliance, or Faction as listed on the official eve wiki. (faction typeID not listed on wiki, but it works anyways). While it's no big deal to convert from GroupID to TypeID, I was first and foremost wondering why there's two identifiers for these entities. If you could include typeID, that would be great. Alternatively, if the IGB group (if there is one) should really consider changing to groupID if this endpoint stays as is.


I chose groupID because if I went with typeID you would get Gallente Gallente, Caldari Acura, and all the other bloodlines since bloodlines are actually typeIDs.

May I ask why you would want to link the typeIDs for owners? For all of this stuff you would want to link the ownerID so it opens the corp/char/alliance show info.

@CCP_FoxFour // Technical Designer // Team Tech Co

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

Makari Aeron
Imperial Shipment
Amarr Empire
#34 - 2014-03-11 23:29:13 UTC
If that's why you used the groupID, that makes sense. However, you still need the typeID along with ownerID as specified on the Wiki.
https://wiki.eveonline.com/en/wiki/IGB_Javascript_Methods

CCPEVE.showInfo(typeID, ownerID)

I have made a webpage on one of my testing domains: http://www.exgsapps.com/test/JSTest.html
As expected, you'll need to open it in IGB in order for the buttons to work. Again, it isn't much work to convert from groupID to typeID. It just seems odd that there's multiple IDs for the same thing. As you can see from "Note 1" below, the IGB wiki page recommends 1377 in order for the server to compensate for each unique race ID. It seems to be the same way with stations (Note 2).

Note: "Faction" is typeID 30.

IGB Javascript Methods wrote:

Some Helpful Type ID Numbers

Alliance
16159
Character
1377 (see note 1)
Corporation
2
Constellation
4
Region
3
Solar System
5
Station
3867 (see note 2)

Note 1: There are actually different type IDs for each character race. However, for the purposes of the showInfo command, you can pass in any character race type ID - we suggest 1377 - and we will automatically detect that you are attempting to show information on a character. We will then fill in the appropriate type ID automatically.

Note 2: There are actually many different type IDs for various types of station. However, for the purposes of the showInfo command, you should pass in type ID 3867, which we will detect and automatically convert to the appropriate type ID for you.

CCP RedDawn: Ugly people are just playing life on HARD mode. Personally, I'm playing on an INFERNO difficulty.

CCP Goliath: I often believe that the best way to get something done is to shout at the person trying to help you. http://goo.gl/PKGDP

TheSmokingHertog
Julia's Interstellar Trade Emperium
#35 - 2014-03-14 12:44:21 UTC
Desmont McCallock wrote:

IndustryJobs
Better not touch in there. To much to do.


Haha :D

"Dogma is kind of like quantum physics, observing the dogma state will change it." ~ CCP Prism X

"Schrödinger's Missile. I dig it." ~ Makari Aeron

-= "Brain in a Box on Singularity" - April 2015 =-

0mni Ca
Brutor Tribe
Minmatar Republic
#36 - 2014-03-14 14:02:00 UTC
Quote:
account/Characters
Added allianceID
Added allianceName
Added factionID
Added factionName

Can this be done to account/APIKeyInfo ?

Also for account/AccountStatus is it possible to list what character is currently logged in ? Using the API its possible to find out if someone is logged it, but not which character.

Also for corp/CorporationSheet can you have the alliance ticker listed, currently I have to pull the Alliance List daily, which is massive, and I think it would be beneficial to get the alliance ticker from a different source. Also on that note, a way to find out the corporations currently in a specific alliance would be great, instead of having to pull the Alliance List.
CCP FoxFour
C C P
C C P Alliance
#37 - 2014-03-14 14:05:22 UTC
0mni Ca wrote:
Quote:
account/Characters
Added allianceID
Added allianceName
Added factionID
Added factionName

Can this be done to account/APIKeyInfo ?

Also for account/AccountStatus is it possible to list what character is currently logged in ? Using the API its possible to find out if someone is logged it, but not which character.

Also for corp/CorporationSheet can you have the alliance ticker listed, currently I have to pull the Alliance List daily, which is massive, and I think it would be beneficial to get the alliance ticker from a different source. Also on that note, a way to find out the corporations currently in a specific alliance would be great, instead of having to pull the Alliance List.


I will look into all of this yes. :)

@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
#38 - 2014-03-14 16:13:12 UTC
0mni Ca wrote:
Quote:
account/Characters
Added allianceID
Added allianceName
Added factionID
Added factionName

Can this be done to account/APIKeyInfo ?

Also for account/AccountStatus is it possible to list what character is currently logged in ? Using the API its possible to find out if someone is logged it, but not which character.

Also for corp/CorporationSheet can you have the alliance ticker listed, currently I have to pull the Alliance List daily, which is massive, and I think it would be beneficial to get the alliance ticker from a different source. Also on that note, a way to find out the corporations currently in a specific alliance would be great, instead of having to pull the Alliance List.



psst:
http://public-crest.eveonline.com/alliances/99000136/

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

0mni Ca
Brutor Tribe
Minmatar Republic
#39 - 2014-03-14 16:23:02 UTC

I thought crest was still not fully released/supported ?
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#40 - 2014-03-14 16:26:06 UTC
0mni Ca wrote:

I thought crest was still not fully released/supported ?



It's as supported as the main API Smile

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter