services/EveOnlineOAuthService.php
private function getAPIData($charId) {
        $url = 'https://api.eveonline.com/eve/CharacterInfo.xml.aspx?characterID='.(int)$charId;
        $data = file_get_contents($url);
        $xml = simplexml_load_string($data);
        return $xml->result;
    }
private function getAPIData($charId) {
        $url = 'https://api.eveonline.com/eve/CharacterInfo.xml.aspx?characterID='.(int)$charId;
        $data = file_get_contents($url);
        $xml = simplexml_load_string($data);
        return $xml->result;
    }
private function getAPIData ( $ charId ) { $ url = 'https://api.eveonline.com/eve/CharacterInfo.xml.aspx?characterID=' . ( int ) $ charId ; $ data = file_get_contents ( $ url ) ; $ xml = simplexml_load_string ( $ data ) ; return $ xml -> result ; }
Get data from EVE API
@param integer $charId
@return SimpleXMLElement
Get data from EVE API