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 Information Portal

 
  • Topic is locked indefinitely.
 

Dev blog: API spring cleaning

First post
Author
CCP Explorer
C C P
C C P Alliance
#41 - 2012-09-20 10:14:33 UTC  |  Edited by: CCP Explorer
Golden Gnu wrote:
@CCP Explorer

Transition:
The process or a period of changing from one state or condition to another

So you want to kill the API as well? Sad

I do not understand why on earth you continue to invalidate all the work the community have put into improving the eve experiences.

A lot of older applications, that are no longer maintained, will be useless after you remove the old API keys.
If you move away from the current API, even more will follow.

IMHO 3rd party apps adds value to eve. You should support us - not fight us...
No timeframe has been decided, but we are probably looking at 3-5 years from the time CREST comes online. The reasons we have to deprecate old tech to move forward are really detailed in this dev blog http://community.eveonline.com/devblog.asp?a=blog&nbid=1777 I wrote in 2009. Even if it's about minimum OS requirements then the same underlying principles apply here.

Erlendur S. Thorsteinsson | Senior Development Director | EVE Online // CCP Games | @CCP_Explorer

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#42 - 2012-09-20 10:57:36 UTC  |  Edited by: Steve Ronuken
Dawiid BenAimaic wrote:
IdeaI appreciate your letting me lookup names by TypeID but it would be nice to have an API that returns TypeId for names. My current workaround is using an SQL Query on data in EveHQ.



edit:

http://wiki.eve-id.net/APIv2_Eve_CharacterID_XML


It's a non-documented use, but it should work. Though has problems with some things.

alternate (which I whipped up)

http://www.fuzzwork.co.uk/api/typeid.php?typename=Tritanium
http://www.fuzzwork.co.uk/api/typeid.php?typename=Tritanium&format=xml

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Golden Gnu
Lobach Inc.
#43 - 2012-09-21 11:31:15 UTC
@CCP Explorer
Thank you for your reply (to my somewhat angry post) Blink

Time is not really in you favor. The longer you wait, the more apps will be created using the current API.
Knowing in advance is great, but, it will not save stuff that are no longer maintained.
Unmaintained apps might not move forward, but, they can still be great IMHO.

Anyway, enough with the rants.
I'm just sad to see programs die with this change...

Creator of jEveAssets - the asset manager

"Download is the meaning of life, upload is the meaning of intelligent life"

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#44 - 2012-09-21 12:46:15 UTC
Golden Gnu wrote:
@CCP Explorer
Thank you for your reply (to my somewhat angry post) Blink

Time is not really in you favor. The longer you wait, the more apps will be created using the current API.
Knowing in advance is great, but, it will not save stuff that are no longer maintained.
Unmaintained apps might not move forward, but, they can still be great IMHO.

Anyway, enough with the rants.
I'm just sad to see programs die with this change...



So... Who wants to write a gateway for the api, to convert from legacy keys to CAKs? Blink

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Golden Gnu
Lobach Inc.
#45 - 2012-09-22 09:25:30 UTC
@Steve Ronuken
Someone that will make me a happy camper Big smile

Creator of jEveAssets - the asset manager

"Download is the meaning of life, upload is the meaning of intelligent life"

Mars Theran
Foreign Interloper
#46 - 2012-09-23 02:46:13 UTC
Am I the only one who thinks it weird we're doing Spring cleaning in the Fall? Lol

..aside from that; good idea. Smile
zubzubzubzubzubzubzubzub
Essack Leadae
State War Academy
Caldari State
#47 - 2012-09-23 17:37:08 UTC
Maybe CCP should update all help links who are in the creation page of a CAK... It would motive to use this new system...

I created one link for research jobs but I clicked to the help button to know how use it. The help tell me to use a userID/apiKey/characterID while I only get an ID (for what ?) and a verification code...

Removing obsolete signature... You just lost time to read that =)

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#48 - 2012-09-23 17:54:43 UTC
Essack Leadae wrote:
Maybe CCP should update all help links who are in the creation page of a CAK... It would motive to use this new system...

I created one link for research jobs but I clicked to the help button to know how use it. The help tell me to use a userID/apiKey/characterID while I only get an ID (for what ?) and a verification code...


keyID and vCode

You'll still need the character id (which is your own id. http://api.eve-online.com/eve/CharacterID.xml.aspx?names=Steve%20Ronuken gets mine)

You can always update the Evelopedia api pages yourself. I tend to update them when I drop by looking. But I don't do that often, so not many are done.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Acac Sunflyier
The Ascended Academy
#49 - 2012-09-23 19:05:12 UTC
Would it really be SPRING cleaning?
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#50 - 2012-09-23 21:06:52 UTC
Acac Sunflyier wrote:
Would it really be SPRING cleaning?



They're obviously paying attention to our antipodean Bros.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Dawiid BenAimaic
Dasa Fern Valley Jamaican Rum Transport Corp
#51 - 2012-09-23 22:07:39 UTC
about 40% of the importXML statements in Google spreadsheets are not working today..Cry

All my spreadsheets are broken.Cry
Ken Kyoukan
#52 - 2012-09-24 18:16:45 UTC
Dawiid BenAimaic wrote:
about 40% of the importXML statements in Google spreadsheets are not working today..Cry

All my spreadsheets are broken.Cry

Known google issue, tweak them to the correct https api call and hopefully they will refresh, otherwise drop them to http and let CCP's http to https conversion handle it.

The problem is with google docs/drive's import function, it doesn't read the cache until part of the xml as not every xml source uses it, I have been trying to get this corrected but like everything else it takes time.

Another method is to append "&day="&today() which forces it to use the day as a reference, this recalculates when you open the sheet but should cache it for that day.

A quick example:

Importxml("https://api.eveonline.com/eve/TypeName.xml.aspx?ids=34,35&day="&today(),"//@typename")

I'm also trying to get some gas (Google Application Script) work done to fix this but as the api is already on it's way out in favor of CREST, it may be safer to wait and see.



CCP: CREST / API
When will we get a direct cached market listing from the game rather than using the market cache uploaders and in some cases an igb market scanner, which can cause a lot of server stress on the in game market server.

At least with a cache you could set cache update timers, and the main game servers can get hit a little less hard for us to get this information.

Just for players reference these out of game prices are what eve central, battleclinic, evemon, eft, eve market data, etc all use as do several killboards.

All of these require players to keep them updated so much so the current evemon has an inbuilt cache uploader, whilst some marketing sites use an igb rapid scan to read the prices of everything at a speed of 1 second per item.

CREST / API could internally cache this at set time intervals directly from the main market server feeds and cut out this whole data chain and the potential game lag it causes.

I wouldn't be surprised if the jita player limit didn't rise if this market information was available without the lag of market scanning.



Note: I would be happy to discuss this with CCP, CSM & other players.
Herr Nerdstrom
Perkone
Caldari State
#53 - 2012-09-27 11:58:02 UTC
Minor point: US and EU read numeric dates in reverse order, so to a US person the dates listed on the blog are actually April of 2012. How about using 4-Oct-2012 to disambiguate?
Ken Kyoukan
#54 - 2012-09-28 20:27:16 UTC
Herr Nerdstrom wrote:
Minor point: US and EU read numeric dates in reverse order, so to a US person the dates listed on the blog are actually April of 2012. How about using 4-Oct-2012 to disambiguate?
Yes please use the eve format like this forum: Year Month Day Hour Minute (Seconds)

  1. It's generic
  2. It's the same as the forums and game

I can list the custom format for google docs and other spreadsheets on request.
xp3ll3d
The Southern Legion
#55 - 2012-10-17 12:12:16 UTC
One issue with moving EVERYTHING over to HTTPS, are things like profile pictures.
HTTPS requests cannot be cached on the client, which means profile images will be downloaded EVERY time you use them in an app, rather than being cached.
You might want to think about leaving things like that on HTTP.
hfo df
Ramm's RDI
Tactical Narcotics Team
#56 - 2012-10-17 13:00:22 UTC  |  Edited by: hfo df
Hi, since the change today i'm getting:


Quote:
--2012-10-17 12:40:40-- https://api.eveonline.com/
Resolving api.eveonline.com... 87.237.39.199
Connecting to api.eveonline.com|87.237.39.199|:443... connected.
ERROR: cannot verify api.eveonline.com’s certificate, issued by “/C=US/O=GeoTrust, Inc./CN=RapidSSL CA”:
Unable to locally verify the issuer’s authority.
To connect to api.eveonline.com insecurely, use ‘--no-check-certificate’.

and
Quote:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

and
Quote:
ERROR: The certificate of ‘api.eveonline.com’ is not trusted.
ERROR: The certificate of ‘api.eveonline.com’ hasn't got a known issuer.

Quote:
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.


Quote:
---
New, TLSv1/SSLv3, Cipher is RC4-SHA
Server public key is 2048 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1
Cipher : RC4-SHA
Session-ID: 0000000000000000000000000000000100032218507EC01E00000000514251EC
Session-ID-ctx:
Master-Key: 705620C73C6DB18B327EA316697CBE0A3C157C3E15FB8A09EE1D8E1279BA2926911B1D53E468ACA6E4FA8C509D9709ED
Key-Arg : None
Start Time: 1350483998
Timeout : 300 (sec)
Verify return code: 27 (certificate not trusted)
---


E: added a few more, reproduced this is on 3 boxes now, 3 isp's. All running some flavour of debian.
E: openssl output: http://pastie.org/pastes/5073411/text?key=zutwahg7qkogd64vpixdq
E: bugid: 145368
Vaerah Vahrokha
Vahrokh Consulting
#57 - 2012-10-17 13:23:07 UTC  |  Edited by: Vaerah Vahrokha
hfo df wrote:
Hi, since the change today i'm getting:


Quote:
wget https://api.eveonline.com/
--2012-10-17 12:40:40-- https://api.eveonline.com/
Resolving api.eveonline.com... 87.237.39.199
Connecting to api.eveonline.com|87.237.39.199|:443... connected.
ERROR: cannot verify api.eveonline.com’s certificate, issued by “/C=US/O=GeoTrust, Inc./CN=RapidSSL CA”:
Unable to locally verify the issuer’s authority.
To connect to api.eveonline.com insecurely, use ‘--no-check-certificate’.

and
Quote:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

and
Quote:
ERROR: The certificate of ‘api.eveonline.com’ is not trusted.
ERROR: The certificate of ‘api.eveonline.com’ hasn't got a known issuer.


It's a typical noob mistake when a server admin just flips from http to https without thinking of the consequences.


Edit:

there's a reason why Microsoft keeps going on so strong despite their products never shined so much.

Because they strive on providing backward compatibility.

ATM I don't have time to fix and recompile my freeware EvE apps so a number of players won't be able to enjoy the game and use their features.
Peter Powers
Terrorists of Dimensions
#58 - 2012-10-17 14:16:09 UTC
i can confirm the issue on debian and ubuntu machine,
chrome from same machine seems to handle it fine though.

however it seems to be an issue with the certificate, not with my machine,
since other certs don't cause that error

3rdPartyEve.net - your catalogue for 3rd party applications

Marcel Devereux
Aideron Robotics
Aideron Robotics.
#59 - 2012-10-17 14:20:14 UTC  |  Edited by: Marcel Devereux
The SSL cert issue is affecting every single Aura user right now. I do not want them to have to install a certificate to make it work. Can you guys please get your SSL cert resigned by well known CA?
Peter Powers
Terrorists of Dimensions
#60 - 2012-10-17 14:21:20 UTC
Golden Gnu wrote:

A lot of older applications, that are no longer maintained, will be useless after you remove the old API keys.
If you move away from the current API, even more will follow.

IMHO 3rd party apps adds value to eve. You should support us - not fight us...

an application that is no longer maintained does only add value on the surface. its balast to everyone else,
and i prefer CCP to modernize stuff, especially after they gave every more than enough time to adopt the new keys.
its not CCP's fault if people are abandoning the software they launched. (and its a good reason why such software should be opensource anyways ;)



Golden Gnu wrote:
jEveAssets already moved to CAKe, but, I still get people who can not figure out they need a separate corporation key.

so explain it better to them.

3rdPartyEve.net - your catalogue for 3rd party applications