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
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#621 - 2014-10-08 21:26:19 UTC
sprut01 wrote:
Hi All,

Can anyone tell me how I can get information about one particular solar system ? By name or by solar system id ?

https://public-crest.eveonline.com/industry/systems/ - this allows me get info about all systems.



You can't.

(if you need information about a particular system, that's not dynamic like indexes, then the SDE is your best bet.)

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Sephira Galamore
Inner Beard Society
Kvitravn.
#622 - 2014-10-08 22:31:55 UTC
Could we get an API (or CREST) endpoint for Bookmarks?

They have been changed to server-side storage not long ago, and just recently I discovered the usefulness of the "Notes" field.
Ingame you have to open each note seperately, with an API endpoint you could have it a bit more accessible.
It would also make it easier to keep track of larger bookmark sets / libraries.
Mapping software could show them on the map. Want to see how well you have covered Curse? Maybe Dotlan would provide a per-system count of bookmarks as info layer in the region map for logged-in users.

Useful data would be:
Name, Type, SystemId, System name, Creation date, CreatorId, Creator name, Notes

Are folders stored client-side or on the server? If the later, include the folder name aswell.
CCP FoxFour
C C P
C C P Alliance
#623 - 2014-10-09 07:16:08 UTC
Sephira Galamore wrote:
Could we get an API (or CREST) endpoint for Bookmarks?

They have been changed to server-side storage not long ago, and just recently I discovered the usefulness of the "Notes" field.
Ingame you have to open each note seperately, with an API endpoint you could have it a bit more accessible.
It would also make it easier to keep track of larger bookmark sets / libraries.
Mapping software could show them on the map. Want to see how well you have covered Curse? Maybe Dotlan would provide a per-system count of bookmarks as info layer in the region map for logged-in users.

Useful data would be:
Name, Type, SystemId, System name, Creation date, CreatorId, Creator name, Notes

Are folders stored client-side or on the server? If the later, include the folder name aswell.


Ooooo I like this idea. I have no idea what you would really do with it, but that just means all the crazy things you guys do will be an awesome surprise! :D

Will look into this later today to see if it's possible and then can look at getting it on my backlog for a later date.

@CCP_FoxFour // Technical Designer // Team Tech Co

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

Sephira Galamore
Inner Beard Society
Kvitravn.
#624 - 2014-10-09 09:16:06 UTC  |  Edited by: Sephira Galamore
CCP FoxFour wrote:
Sephira Galamore wrote:
Could we get an API (or CREST) endpoint for Bookmarks?

They have been changed to server-side storage not long ago, and just recently I discovered the usefulness of the "Notes" field.
Ingame you have to open each note seperately, with an API endpoint you could have it a bit more accessible.
It would also make it easier to keep track of larger bookmark sets / libraries.
Mapping software could show them on the map. Want to see how well you have covered Curse? Maybe Dotlan would provide a per-system count of bookmarks as info layer in the region map for logged-in users.

Useful data would be:
Name, Type, SystemId, System name, Creation date, CreatorId, Creator name, Notes

Are folders stored client-side or on the server? If the later, include the folder name aswell.


Ooooo I like this idea. I have no idea what you would really do with it, but that just means all the crazy things you guys do will be an awesome surprise! :D

Will look into this later today to see if it's possible and then can look at getting it on my backlog for a later date.
Awesome, thanks for the quick reply :)

If game design thinks its okay, you could even expose the coordinates.
You don't get them as numbers in the game but you see them on the map (and in space after Phoebe) - which would be consistent with celestial objects of which we get the coordinates via the SDE.
Combining those two sets of data would allow you to figure out distances between bookmarks and celestials, similar to how we can currently figure out distances between gates, stations etc.
hfo df
Ramm's RDI
Tactical Narcotics Team
#625 - 2014-10-09 11:02:45 UTC
Back in the day i stored funny encounters, chat logs, interesting info, kill mails on notes on other characters. So when i saw them in my favorite mission hubs i could show-info them and be like "ooh yeah, hahaha" and chat to them again.
Having long moved on and not remembering all the characters i met (so i can not look up the notes), it might be cool to add those to the end point as well?

Now to write that character id crawler to save a collection of my experiences in eve as saved on the note field...
sprut01
TaxiDermiya
#626 - 2014-10-09 19:15:38 UTC
Steve Ronuken wrote:
sprut01 wrote:
Hi All,

Can anyone tell me how I can get information about one particular solar system ? By name or by solar system id ?

https://public-crest.eveonline.com/industry/systems/ - this allows me get info about all systems.



You can't.

(if you need information about a particular system, that's not dynamic like indexes, then the SDE is your best bet.)


I am sorry, I meant the following - is there a way to get costIndexes activities in the particular system other than to get a list of all systems and then search in them in my application ?
Cor'len
Doomheim
#627 - 2014-10-13 10:56:15 UTC
Would it be possible to set the installTime (or expiryTime) property for PI factories depending on whether they're running or not?

Currently it's impossible to tell whether a factory pin (Industry Facility) is waiting for more materials or not, unless you have a sizeable buffer of said material ready to fill it up - it may have a partial fill but still be running, as materials are consumed upon activation. This makes it pretty much impossible to accurately predict yield, because you will lose the first cycle or two when simulating it.

I could obviously assume it is running if it's not been idling for very long, but it's not reliable.
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#628 - 2014-10-13 11:33:41 UTC
sprut01 wrote:
Steve Ronuken wrote:
sprut01 wrote:
Hi All,

Can anyone tell me how I can get information about one particular solar system ? By name or by solar system id ?

https://public-crest.eveonline.com/industry/systems/ - this allows me get info about all systems.



You can't.

(if you need information about a particular system, that's not dynamic like indexes, then the SDE is your best bet.)


I am sorry, I meant the following - is there a way to get costIndexes activities in the particular system other than to get a list of all systems and then search in them in my application ?



Not from CCP.

https://forums.eveonline.com/default.aspx?g=posts&t=362405 may be of interest.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Olixia Castitatis
Beyond Divinity Inc
Shadow Cartel
#629 - 2014-10-17 19:17:10 UTC
What sort of expected timeframe do you have on making character locations available through CREST? I want to make a wormhole mapping tool, but as I am making it as an single page site in javascript it's difficult for me to get location information from the ingame browser.

If CREST for character locations is just a patch or two away I'd like to hold off working out some hack to get it working with the IGB.
Nicen Jehr
Subsidy H.R.S.
Xagenic Freymvork
#630 - 2014-10-25 02:33:41 UTC
FoxFour I would like to request the following read/write crest endpoints:

PUT corp/shares
GET corp/shares

PUT corp/shareholderVote
GET corp/shareholderVote
GalTraZero
The Scope
Gallente Federation
#631 - 2014-10-28 16:33:38 UTC
Could you possibly add into corporation api the ability to see a corporations past alliances?

Currently the only way to get past alliances (similar to a characters past corporations) is either scraping the cache and doing some funky math or scraping eve gate, neither of which are appropriate or on the level. This would help greatly with checking a characters past corporation history and whether that corporation was in any hostile alliances when the character was in that corporation.
Nicen Jehr
Subsidy H.R.S.
Xagenic Freymvork
#632 - 2014-10-28 20:16:20 UTC
Why does each `item` under `/alliances/` have a top level `href` property?

I would access the details URI like:
response.items[0].href.href

and I would access the name like:
response.items[0].href.name

First few lines of the response (via curl -vX GET http://public-crest.eveonline.com/alliances/ )

{
"totalCount_str": "3072",
"pageCount": 13,
"items": [
{
"href": {
"id_str": "99000006",
"shortName": "666",
"href": "http://public-crest.eveonline.com/alliances/99000006/",
"id": 99000006,
"name": "Everto Rex Regis"
}
},
{
"href": {
"id_str": "99000008",
"shortName": "PILS.",
"href": "http://public-crest.eveonline.com/alliances/99000008/",
"id": 99000008,
"name": "People in Lousy Ships"
}
},
Feyd Rautha Harkonnen
Doomheim
#633 - 2014-11-04 14:23:47 UTC
The SSO auth for the CREST API seems dependant on an HTTP callback to a URL, does this mean you can only build web-based apps to interact with CREST? i.e. How about building a thick-client or iPhone app?

F

CCP FoxFour
C C P
C C P Alliance
#634 - 2014-11-04 14:43:22 UTC
Feyd Rautha Harkonnen wrote:
The SSO auth for the CREST API seems dependant on an HTTP callback to a URL, does this mean you can only build web-based apps to interact with CREST? i.e. How about building a thick-client or iPhone app?

F



It doesn't have to be HTTP.

@CCP_FoxFour // Technical Designer // Team Tech Co

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

Feyd Rautha Harkonnen
Doomheim
#635 - 2014-11-04 21:10:59 UTC
CCP FoxFour wrote:
Feyd Rautha Harkonnen wrote:
The SSO auth for the CREST API seems dependant on an HTTP callback to a URL, does this mean you can only build web-based apps to interact with CREST? i.e. How about building a thick-client or iPhone app?

F



It doesn't have to be HTTP.


On the developer app set up site you have to enter..

"Callback URL
*This is the only URL we will redirect to after authentication. We strongly recommend using HTTPS protocol."

So..I am confuse. How can an iPhone or thick-client app with variable IP address (based on user), make an auth request for an application thats been registered, when the callback URL (endpoint) is hardwired in server-side definition of the app?

Is there a non web-based example of using the auth CREST API available, to see how the lifecycle would work for a thick client app?

F



Kali Izia
GoomWaffe
#636 - 2014-11-05 00:56:03 UTC
Feyd Rautha Harkonnen wrote:
Callback URL
*This is the only URL we will redirect to after authentication. We strongly recommend using HTTPS protocol."

So..I am confuse. How can an iPhone or thick-client app with variable IP address (based on user), make an auth request for an application thats been registered, when the callback URL (endpoint) is hardwired in server-side definition of the app?

Is there a non web-based example of using the auth CREST API available, to see how the lifecycle would work for a thick client app?

You can register an URL scheme and then set the callback to yourapp://whatever
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#637 - 2014-11-05 02:21:03 UTC
Kali Izia wrote:
Feyd Rautha Harkonnen wrote:
Callback URL
*This is the only URL we will redirect to after authentication. We strongly recommend using HTTPS protocol."

So..I am confuse. How can an iPhone or thick-client app with variable IP address (based on user), make an auth request for an application thats been registered, when the callback URL (endpoint) is hardwired in server-side definition of the app?

Is there a non web-based example of using the auth CREST API available, to see how the lifecycle would work for a thick client app?

You can register an URL scheme and then set the callback to yourapp://whatever



This is the correct way to manage this kind of application.

Handling the authentication with an internal web browser is bad, and people who do it should be punished.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

CCP FoxFour
C C P
C C P Alliance
#638 - 2014-11-05 08:08:08 UTC
Feyd Rautha Harkonnen wrote:
Is there a non web-based example of using the auth CREST API available, to see how the lifecycle would work for a thick client app?


Here is a Windows Phone 8.1 example: https://bitbucket.org/Fezzik/eve-sso/overview

@CCP_FoxFour // Technical Designer // Team Tech Co

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

Louis Vitton
Viziam
Amarr Empire
#639 - 2014-11-05 09:46:54 UTC
Hi CCP ForFour,

I created another thread without thinking to post here.
Can you please review this thread and advise if i am doing anything wrong:

https://forums.eveonline.com/default.aspx?g=posts&t=383567&find=unread

Cheers,

Louis
Wacktopia
Fleet-Up.com
Keep It Simple Software Group
#640 - 2014-11-05 10:11:12 UTC  |  Edited by: Wacktopia
Fairly obvious motives and may have been suggested but hopefully these are considered generally useful...

============================================
Idea: Ability to read/write corp fittings through CREST
Description: Endpoints for listing and CRUD of corporation and personal fittings. The benefit would be the ability to synchronise and update corporate fittings in game from an OOG resource.

Idea: Ability to fit a ship through CREST using charID and shipDNA
Description: Endpoint that accepts DNA or similar to fit modes to the current active ship for a given charID. The use case for this would be to fit a ship from an external resource without needing to first import the fitting to perrsonal/corp fittings. At present in order to get an externally listed fitting into game it must be copy-pasted or opened via DNA link and saved to personal fittings. Removing this step would provide a more steam-lined experience from OOG fittings a fitted ship IG.

Idea: Ability to read fleet members and composition for given charID
Description: Endpoint that lists names, and charIDs, and possibly ship information if a character is fleet boss for a given charID. Time in fleet etc also useful. Benefits would be to allow fleet tracking and reporting without the need to use the IGB. Some corporations and alliances provide loot and other payouts based on fleet participation. If there was an easy way to report on this via CREST it would remove the clunky IGB hooks that are currently required.
============================================

Kitchen sink? Seriousy, get your ship together -  Fleet-Up.com