Under new management.  

Statistics
General
  Users: 13449
Stargates
  Connections: 0
  Total: 195
  Milkyway: 66
  Pegasus: 46
  Forerunner: 42
  Tollan: 41
Teleporters
  Total: 3
Miscellaneous
  AFVIs: 3
 
Project Wonderful
 

ASN API

The Alteran Stargate Network currently has a limited API to get data about the network itself. Once Zachary has more time, more API commands will be introduced.

To apply for an API key, submit a support ticket under the "API" department.

PLEASE NOTE THAT DISTRIBUTING YOUR APIKEY TO ANYONE BESIDES YOURSELF IS PROPER CAUSE FOR THAT KEY TO BE REVOKED. HAVING THE KEY IS NOT A RIGHT, BUT A PRIVILAGE.

Available Commands

Command: Get Active Stargates
URL: http://stargate.alpha-fox.com/api/data.php?apikey=[YOUR KEY GOES HERE]&what=activegates
Access Level: basic
Format: XML

<StargateNetwork>
<Stargate>
<ID>...</ID>
<Name>...</Name>
<Alias>...</Alias>
<Network>...</Network>
<Status>...</Status>
<Shield>...</Shield>
<ContactTime>...</ContactTime>
<InitTime>...</InitTime>
<Version>...</Version>
<Combat>...</Combat>
<Sandbox>...</Sandbox>
<ConnectedID>...</ConnectedID>
<ConnectedTime>...</ConnectedTime>
<SimFPS>...</SimFPS>
<SimTimeDialation>...</SimTimeDialation>
<SimDirectTP>...</SimDirectTP>
<ListedOnRandom>...</ListedOnRandom>
<AddressMilkyway>...</AddressMilkyway>
<AddressPegasus>...</AddressPegasus>
<ForwardAddress>...</ForwardAddress>
<Type>...</Type>
<UUID>...</UUID>
<SGCID>...</SGCID>
<Region>...</Region>
<Position>...</Position>
<Rotation>...</Rotation>
<OwnerName>...</OwnerName>
<OwnerUUID>...</OwnerUUID>
</Stargate>
</StargateNetwork>

Command: Get Recent Stargates (last 20 registered)
URL: http://stargate.alpha-fox.com/api/data.php?apikey=[YOUR KEY GOES HERE]&what=recentgates
Access Level: basic
Format: XML

<StargateNetwork>
<Stargate>
<ID>...</ID>
<Name>...</Name>
<Alias>...</Alias>
<Network>...</Network>
<Status>...</Status>
<Shield>...</Shield>
<ContactTime>...</ContactTime>
<InitTime>...</InitTime>
<Version>...</Version>
<Combat>...</Combat>
<Sandbox>...</Sandbox>
<ConnectedID>...</ConnectedID>
<ConnectedTime>...</ConnectedTime>
<SimFPS>...</SimFPS>
<SimTimeDialation>...</SimTimeDialation>
<SimDirectTP>...</SimDirectTP>
<ListedOnRandom>...</ListedOnRandom>
<AddressMilkyway>...</AddressMilkyway>
<AddressPegasus>...</AddressPegasus>
<ForwardAddress>...</ForwardAddress>
<Type>...</Type>
<UUID>...</UUID>
<SGCID>...</SGCID>
<Region>...</Region>
<Position>...</Position>
<Rotation>...</Rotation>
<OwnerName>...</OwnerName>
<OwnerUUID>...</OwnerUUID>
</Stargate>
</StargateNetwork>

Command: Get Stargate Logs
URL: http://stargate.alpha-fox.com/api/data.php?apikey=[YOUR KEY GOES HERE]&what=gatelogs
Access Level: basic
Format: XML

<StargateLogs>
<Log>
<ID>...</ID>
<FromID>...</FromID>
<ToID>...</ToID>
<FromAddress>...</FromAddress>
<ToAddress>...</ToAddress>
<FromRegion>...</FromRegion>
<ToRegion>...</ToRegion>
<Duration>...</Duration>
<StartTime>...</StartTime>
<FromOwner>...</FromOwner>
<ToOwner>...</ToOwner>
<FromNetwork>...</FromNetwork>
<ToNetwork>...</ToNetwork>
<ConnectionID>...</ConnectionID>
</Log>
</StargateLogs>

Command: Lookup Address
URL: http://stargate.alpha-fox.com/api/lookup.php?apikey=[YOUR KEY GOES HERE]&what=address&start_network=[Milkyway/Pegasus]&target_network=[Milkyway/Pegasus]&keyword=[Keyword]
Access Level: basic
Format: Single line response

_FAILED

or

SUCCESS|[ADDRESS HERE]

Command: Lookup Gate Information
URL: http://stargate.alpha-fox.com/api/lookup.php?apikey=[YOUR KEY GOES HERE]&what=info&network=[Milkyway/Pegasus]&keyword=[Keyword]&format=[XML/KVP]
Access Level: basic
Format: XML or pipe-delimeted values seperated by \n

<LookupResult>
<Stargate>
<ID>...</ID>
<Name>...</Name>
<Alias>...</Alias>
<Network>...</Network>
<Status>...</Status>
<Shield>...</Shield>
<ContactTime>...</ContactTime>
<InitTime>...</InitTime>
<Version>...</Version>
<Combat>...</Combat>
<Sandbox>...</Sandbox>
<ConnectedID>...</ConnectedID>
<ConnectedTime>...</ConnectedTime>
<SimFPS>...</SimFPS>
<SimTimeDialation>...</SimTimeDialation>
<SimDirectTP>...</SimDirectTP>
<ListedOnRandom>...</ListedOnRandom>
<AddressMilkyway>...</AddressMilkyway>
<AddressPegasus>...</AddressPegasus>
<ForwardAddress>...
<UUID>...</UUID>
<SGCID>...</SGCID>
<Region>...</Region>
<Position>...</Position>
<Rotation>...</Rotation>
<OwnerName>...</OwnerName>
<OwnerUUID>...</OwnerUUID>
</Stargate>
</LookupResult>

OR

status|success
gate_id|...
name|...
alias|...
network|...
status|...
shield|...
contact|...
init|...
version|...
combat|...
sandbox|...
conn_id|...
conn_time|...
sim_fps|...
time_dialation|...
direct_tp|...
random|...
mw_address|...
peg_address|...
fwd_address|...
type|...
uuid|...
sgc_id|...
region|...
position|...
rotation|...
owner_name|...
owner_uuid|...


Navigation
 
Login

Username:

Password:

Remember Me?

Register an Account
Reset your Password

 
Twitter