Andy
Andy

Reputation: 2318

How do you find out what calls you can do in an api?

I am using the ale api for eve online, but I wonder, how do i figure out what calls i can make?

$account = $ale->account->Characters(); 
$characterSheet = $ale->char->CharacterSheet();

i found out these two from the help and documentation, and used printl to see whats in there and how to use that, but how can i for excample find the skill names?

Is there a document with all the calls you can make?

ALE

Upvotes: 0

Views: 135

Answers (4)

JamesHalsall
JamesHalsall

Reputation: 13485

Maybe you could use PHP's reflection class? It should give you an overview of objects and classes, their methods and properties.

http://www.tuxradar.com/practicalphp/16/4/0

Upvotes: 2

Nanne
Nanne

Reputation: 64409

You could look in the source, and check out what member functions are in the file? Hopefully there is some comment on top of each.

You can use anything that's public :)

Upvotes: 0

Marc B
Marc B

Reputation: 360702

Point #3 of that site's documentation, http://code-box.sk/software/ale/documentation/10-getting-started.html, says that the class auto-generates objects to match up with EVE's online api, so I'd suggest starting with EVE's own api documentation. This link, http://www.eveonline.com/api/doc/, would seem to be a good candidate, but shows nothing for me - maybe you have to register for an API key/dev access to get the docs.

Upvotes: 1

middus
middus

Reputation: 9121

Either the authors of ALE provides such a comprehensive document (they don't seem to from my quick research) or you could just read the code. It's open source after all.

Upvotes: 0

Related Questions