new_eden 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +21 -1
- data/data/solar_system.yaml +15858 -0
- data/lib/new_eden/api/account.rb +6 -2
- data/lib/new_eden/api/map.rb +13 -1
- data/lib/new_eden/version.rb +1 -1
- data/sample/Account/APIKeyInfo.xml +13 -0
- data/sample/Account/AccountStatus.xml +11 -0
- data/sample/Account/Characters +11 -0
- data/sample/map/FacWarSystems.xml +12 -0
- data/sample/map/Jumps.xml +11 -0
- data/sample/map/Sovereignty.xml +16 -0
- metadata +9 -2
data/lib/new_eden/api/account.rb
CHANGED
@@ -2,11 +2,15 @@ module NewEden
|
|
2
2
|
module API
|
3
3
|
class Account < NewEden::API::Base
|
4
4
|
def status(opts = {})
|
5
|
-
return api_call('/
|
5
|
+
return api_call('/Account/AccountStatus', opts)
|
6
6
|
end
|
7
7
|
|
8
8
|
def api_key_info(opts = {})
|
9
|
-
return api_call('/
|
9
|
+
return api_call('/Account/APIKeyInfo', opts)
|
10
|
+
end
|
11
|
+
|
12
|
+
def characters(opts = {})
|
13
|
+
return api_call('/Account/Characters', opts)
|
10
14
|
end
|
11
15
|
end
|
12
16
|
end
|
data/lib/new_eden/api/map.rb
CHANGED
@@ -3,8 +3,20 @@ require 'hashie'
|
|
3
3
|
module NewEden
|
4
4
|
module API
|
5
5
|
class Map < NewEden::API::Base
|
6
|
+
def faction_wars(opts = {})
|
7
|
+
return api_call('/Map/FacWarSystems', opts)
|
8
|
+
end
|
9
|
+
|
10
|
+
def jumps(opts = {})
|
11
|
+
return api_call('/Map/Jumps', opts)
|
12
|
+
end
|
13
|
+
|
6
14
|
def kills(opts = {})
|
7
|
-
return api_call('/
|
15
|
+
return api_call('/Map/Kills', opts)
|
16
|
+
end
|
17
|
+
|
18
|
+
def sovereignties(opts = {})
|
19
|
+
return api_call('/Map/Sovereignty', opts)
|
8
20
|
end
|
9
21
|
end
|
10
22
|
end
|
data/lib/new_eden/version.rb
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<eveapi version="2">
|
3
|
+
<currentTime>2014-06-09 08:14:06</currentTime>
|
4
|
+
<result>
|
5
|
+
<key accessMask="268435455" type="Account" expires="2015-06-09 07:17:53">
|
6
|
+
<rowset name="characters" key="characterID" columns="characterID,characterName,corporationID,corporationName,allianceID,allianceName,factionID,factionName">
|
7
|
+
<row characterID="92882511" characterName="Mann im Mond" corporationID="1000006" corporationName="Deep Core Mining Inc." allianceID="0" allianceName="" factionID="0" factionName="" />
|
8
|
+
</rowset>
|
9
|
+
</key>
|
10
|
+
</result>
|
11
|
+
<cachedUntil>2014-06-09 08:19:06</cachedUntil>
|
12
|
+
|
13
|
+
</eveapi>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<eveapi version="2">
|
3
|
+
<currentTime>2010-10-05 20:28:55</currentTime>
|
4
|
+
<result>
|
5
|
+
<paidUntil>2011-01-01 00:00:00</paidUntil>
|
6
|
+
<createDate>2004-01-01 00:00:00</createDate>
|
7
|
+
<logonCount>9999</logonCount>
|
8
|
+
<logonMinutes>9999</logonMinutes>
|
9
|
+
</result>
|
10
|
+
<cachedUntil>2010-10-05 20:33:55</cachedUntil>
|
11
|
+
</eveapi>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<eveapi version="2">
|
3
|
+
<currentTime>2012-02-12 14:39:12</currentTime>
|
4
|
+
<result>
|
5
|
+
<rowset name="characters" key="characterID" columns="name,characterID,corporationName,corporationID">
|
6
|
+
<row name="Alexis Prey" characterID="1365215823" corporationName="Puppies To the Rescue" corporationID="238510404"
|
7
|
+
allianceID="0" allianceName="" factionID="0" factionName=""/>
|
8
|
+
</rowset>
|
9
|
+
</result>
|
10
|
+
<cachedUntil>2012-02-12 15:27:00</cachedUntil>
|
11
|
+
</eveapi>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<eveapi version="2">
|
2
|
+
<currentTime>2008-06-30 06:50:05</currentTime>
|
3
|
+
<result>
|
4
|
+
<rowset name="solarSystems" key="solarSystemID" columns="solarSystemID,solarSystemName,occupyingFactionID,occupyingFactionName,contested">
|
5
|
+
<row solarSystemID="30002056" solarSystemName="Resbroko" occupyingFactionID="0" occupyingFactionName="" contested="True"/>
|
6
|
+
<row solarSystemID="30002057" solarSystemName="Hadozeko" occupyingFactionID="0" occupyingFactionName="" contested="False"/>
|
7
|
+
<row solarSystemID="30003068" solarSystemName="Kourmonen" occupyingFactionID="500002" occupyingFactionName="Minmatar Republic" contested="False"/>
|
8
|
+
<row solarSystemID="30003069" solarSystemName="Kamela" occupyingFactionID="500002" occupyingFactionName="Minmatar Republic" contested="True"/>
|
9
|
+
</rowset>
|
10
|
+
</result>
|
11
|
+
<cachedUntil>2008-06-30 07:50:05</cachedUntil>
|
12
|
+
</eveapi>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<eveapi version="1">
|
3
|
+
<currentTime>2007-12-12 11:50:38</currentTime>
|
4
|
+
<result>
|
5
|
+
<rowset name="solarSystems" key="solarSystemID" columns="solarSystemID,shipJumps">
|
6
|
+
<row solarSystemID="30001984" shipJumps="10" />
|
7
|
+
</rowset>
|
8
|
+
<dataTime>2007-12-12 11:50:38</dataTime>
|
9
|
+
</result>
|
10
|
+
<cachedUntil>2007-12-12 12:50:38</cachedUntil>
|
11
|
+
</eveapi>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<?xml version='1.0' encoding='UTF-8'?>
|
2
|
+
<eveapi version="2">
|
3
|
+
<currentTime>2009-12-23 05:38:47</currentTime>
|
4
|
+
<result>
|
5
|
+
<rowset name="solarSystems" key="solarSystemID" columns="solarSystemID,allianceID,factionID,solarSystemName,corporationID">
|
6
|
+
<row solarSystemID="30023410" allianceID="0" factionID="500002" solarSystemName="Embod" corporationID="0"/>
|
7
|
+
<row solarSystemID="30001597" allianceID="1028876240" factionID="0" solarSystemName="M-NP5O" corporationID="421957727" />
|
8
|
+
<row solarSystemID="30001815" allianceID="389924442" factionID="0" solarSystemName="4AZV-W" corporationID="123456789"/>
|
9
|
+
<row solarSystemID="30001816" allianceID="0" factionID="0" solarSystemName="UNV-3J" corporationID="123456789"/>
|
10
|
+
<row solarSystemID="30000479" allianceID="0" factionID="0" solarSystemName="SLVP-D" corporationID="123456789"/>
|
11
|
+
<row solarSystemID="30000480" allianceID="824518128" factionID="0" solarSystemName="0-G8NO" corporationID="123456789"/>
|
12
|
+
</rowset>
|
13
|
+
<dataTime>2009-12-23 05:16:38</dataTime>
|
14
|
+
</result>
|
15
|
+
<cachedUntil>2009-12-23 06:38:47</cachedUntil>
|
16
|
+
</eveapi>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: new_eden
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Norikaz Ishii
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -95,6 +95,7 @@ files:
|
|
95
95
|
- LICENSE.txt
|
96
96
|
- README.md
|
97
97
|
- Rakefile
|
98
|
+
- data/solar_system.yaml
|
98
99
|
- lib/new_eden.rb
|
99
100
|
- lib/new_eden/api/account.rb
|
100
101
|
- lib/new_eden/api/base.rb
|
@@ -102,7 +103,13 @@ files:
|
|
102
103
|
- lib/new_eden/client.rb
|
103
104
|
- lib/new_eden/version.rb
|
104
105
|
- new_eden.gemspec
|
106
|
+
- sample/Account/APIKeyInfo.xml
|
107
|
+
- sample/Account/AccountStatus.xml
|
108
|
+
- sample/Account/Characters
|
109
|
+
- sample/map/FacWarSystems.xml
|
110
|
+
- sample/map/Jumps.xml
|
105
111
|
- sample/map/Kills.xml
|
112
|
+
- sample/map/Sovereignty.xml
|
106
113
|
homepage: https://github.com/Chiether/NewEden
|
107
114
|
licenses:
|
108
115
|
- MIT
|