Menu

documentation

Help
2009-04-26
2013-04-18
  • Nobody/Anonymous

    Hi, is there any documentation for this library, or even an example of usage?

    Thanks

     
    • Pavol Kovalik

      Pavol Kovalik - 2009-04-26

      Link to docs is in several places (EVE-O thread, main page, even here when you click "more"). But here you go:

      https://sourceforge.net/docman/?group_id=233060

       
    • Iyotaka

      Iyotaka - 2009-04-28

      The documentation there is not real clear to someone new to eveapi and/or ALE. I, for one, amm learning.

       
    • Pavol Kovalik

      Pavol Kovalik - 2009-04-28

      Ok then.
      1. Download and unpack latest archive

      2. Configure the library in *.ini files
      2.1 Select HTTP request plugin. Either keep Curl, or use Fsock if Curl isn't available to you
      for more options see: https://sourceforge.net/docman/display_doc.php?docid=174343&group_id=233060
      2.2 Select Cache mechanism. You can use either File system or some of the database plugins
      see: https://sourceforge.net/docman/display_doc.php?docid=174344&group_id=233060
      2.3 Check configuration of main class. This mostly specifies how to handle errors, output and simillar.
      for more options see: https://sourceforge.net/docman/display_doc.php?docid=174344&group_id=233060

      3. Start using library. Object generates api calls "on the fly" using __get and __call methods (http://php.net/manual/en/language.oop5.overloading.php), so if you want to call http://api.eve-online.com/char/CharacterSheet.xml.aspx use $ale->char->CharacterSheet()
      Example: https://sourceforge.net/docman/display_doc.php?docid=174326&group_id=233060

      4. Object throws exceptions in case of error (you can suppress some of them in config), so don't forget enclose your calls in
      try {} catch {} blocks.

      5. Default results (unless configured otherwise) of AleEVEOnline are instances of AleParserXMLElement. It is wrapper around SimpleXMLElement with some bonus features:
      Access child elements, attributes and rowset elements (by their name attribute) as attribute of object.
      Iterate rowset elements using foreach
      Access row elements as array items indexed by thier key attribute
      Convert elements and its children to array
      Complex example: https://sourceforge.net/docman/display_doc.php?docid=174933&group_id=233060

      Ask if you have any more questions. I'll try consolidate it into "Getting Started" page in help later.

       
    • Freak2213

      Freak2213 - 2009-05-03

      Awesome job with the tool mate. Fine work.

      Im trying to obtain member tracking information. Im not too good with code, but giving my best try I still can't get it to work. Any help would be much appreciated.

      Freak

       
      • Pavol Kovalik

        Pavol Kovalik - 2009-05-04

        You need to be more specific. Do you have problems with configuration? Or fetching the result itself? In any case, turn on error reporting on your testing machine (or script itself) and let me know if you get any errors.

         
  • Anonymous

    Anonymous - 2009-10-26

    Hi,

    The doc url provided above and elsewhere is dead, is there another copy of the contents anywhere?  Or indeed, could you ship it in a README with the lib?

    Thanks
    HawkeVIPER

     
  • John T-R

    John T-R - 2009-12-04

    any very simple full examples would also be appreciated. These too appear to have disappeared :-(

     
  • Nobody/Anonymous

    can someone please repost the links to the docu? all links are broken.

    thanks.

     

Log in to post a comment.