Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions api.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

if (isset($_GET['char_list'])) {
//keyid-vcode
$url = "http://api.eve-online.com/account/Characters.xml.aspx";
$url = "https://api.eveonline.com/account/Characters.xml.aspx";
$data = explode('-',$_GET['char_list']);
$vars = array(
'keyID' => intval($data[0]),
Expand All @@ -37,7 +37,7 @@
} //End if.

} else if (isset($_GET['corp_name'])) {
$url = "http://api.eve-online.com/corp/CorporationSheet.xml.aspx";
$url = "https://api.eveonline.com/corp/CorporationSheet.xml.aspx";
$vars = array(
'corporationID' => $_GET['corp_name']
);
Expand All @@ -53,4 +53,4 @@

echo $xml;

?>
?>
4 changes: 2 additions & 2 deletions include/api/alliance_old.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function update_list() {
global $db, $pun_request, $_LAST_ERROR;
$_LAST_ERROR = 0;

$url = 'http://api.eve-online.com/eve/AllianceList.xml.aspx';
$url = 'https://api.eveonline.com/eve/AllianceList.xml.aspx';

if (!$xml = $pun_request->post($url)) {
$_LAST_ERROR = API_BAD_REQUEST;
Expand Down Expand Up @@ -110,4 +110,4 @@ function endElement($parser, $name) {

} //End Alliance class.

?>
?>
4 changes: 2 additions & 2 deletions include/api/alliance_simple.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function update_list() {
global $db, $pun_request, $_LAST_ERROR;
$_LAST_ERROR = 0;

$url = 'http://api.eve-online.com/eve/AllianceList.xml.aspx';
$url = 'https://api.eveonline.com/eve/AllianceList.xml.aspx';

if (!$xml = $pun_request->post($url)) {
$_LAST_ERROR = API_BAD_REQUEST;
Expand Down Expand Up @@ -82,4 +82,4 @@ function update_list() {

} //End Alliance class.

?>
?>
4 changes: 2 additions & 2 deletions include/api/cak.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class CAK {
var $keys_validated;
var $mask_validated;

var $base_url = 'http://api.eve-online.com';
var $base_url = 'https://api.eveonline.com';
var $mask_url = '/account/APIKeyInfo.xml.aspx?keyID=%d&vCode=%s';

function CAK($_id = 0, $_vcode = 0, $_char_id = 0) {
Expand Down Expand Up @@ -227,4 +227,4 @@ function validate_mask($req_mask = null) {

} //End CAK.

?>
?>
8 changes: 4 additions & 4 deletions include/api/character_old.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function load_character(&$cak) {
return false;
} //End if.

$url = "http://api.eve-online.com/char/CharacterSheet.xml.aspx";
$url = "https://api.eveonline.com/char/CharacterSheet.xml.aspx";
$char_sheet;

if (!$xml = $pun_request->post($url, $cak->get_auth())) {
Expand Down Expand Up @@ -107,7 +107,7 @@ function load_skill_queue(&$cak) {
return false;
} //End if.

$url = "http://api.eve-online.com/char/SkillQueue.xml.aspx";
$url = "https://api.eveonline.com/char/SkillQueue.xml.aspx";
$queue;

if (!$xml = $pun_request->post($url, $cak->get_auth())) {
Expand Down Expand Up @@ -143,7 +143,7 @@ function get_list(&$cak) {
return false;
} //End if.

$url = "http://api.eve-online.com/account/Characters.xml.aspx";
$url = "https://api.eveonline.com/account/Characters.xml.aspx";
$characters;

if (!$xml = $pun_request->post($url, $cak->get_auth())) {
Expand Down Expand Up @@ -241,4 +241,4 @@ function endElement($parser, $name) {
} //End endElement.

} //End Character Class.
?>
?>
8 changes: 4 additions & 4 deletions include/api/character_simple.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function load_character(&$cak) {
return false;
} //End if.

$url = "http://api.eve-online.com/char/CharacterSheet.xml.aspx";
$url = "https://api.eveonline.com/char/CharacterSheet.xml.aspx";
$char_sheet;

if (!$xml = $pun_request->post($url, $cak->get_auth())) {
Expand Down Expand Up @@ -123,7 +123,7 @@ function load_skill_queue(&$cak) {
return false;
} //End if.

$url = "http://api.eve-online.com/char/SkillQueue.xml.aspx";
$url = "https://api.eveonline.com/char/SkillQueue.xml.aspx";
$queue;

if (!$xml = $pun_request->post($url, $cak->get_auth())) {
Expand Down Expand Up @@ -189,7 +189,7 @@ function get_list(&$cak) {
return false;
} //End if.

$url = "http://api.eve-online.com/account/Characters.xml.aspx";
$url = "https://api.eveonline.com/account/Characters.xml.aspx";
$characters;

if (!$xml = $pun_request->post($url, $cak->get_auth())) {
Expand Down Expand Up @@ -243,4 +243,4 @@ function get_list(&$cak) {

} //End Character Class.

?>
?>
4 changes: 2 additions & 2 deletions include/api/corporation_old.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function load_corp($corpID) {
global $db, $pun_request, $_LAST_ERROR;
$_LAST_ERROR = 0;

$url = "http://api.eve-online.com/corp/CorporationSheet.xml.aspx";
$url = "https://api.eveonline.com/corp/CorporationSheet.xml.aspx";

if (!$xml = $pun_request->post($url, array('corporationID' => $corpID))) {
$_LAST_ERROR = API_BAD_REQUEST;
Expand Down Expand Up @@ -70,4 +70,4 @@ function endElement($parser, $name) {
} //End endElement.

} //End Corporation Sheet.
?>
?>
4 changes: 2 additions & 2 deletions include/api/corporation_simple.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function load_corp($corpID) {
global $db, $pun_request, $_LAST_ERROR;
$_LAST_ERROR = 0;

$url = "http://api.eve-online.com/corp/CorporationSheet.xml.aspx";
$url = "https://api.eveonline.com/corp/CorporationSheet.xml.aspx";
$corp_sheet;

if (!$xml = $pun_request->post($url, array('corporationID' => $corpID))) {
Expand Down Expand Up @@ -61,4 +61,4 @@ function load_corp($corpID) {

} //End Corporation Sheet.

?>
?>