eveapi 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +8 -8
  2. data/.rubocop.yml +1 -6
  3. data/README.md +59 -16
  4. data/Rakefile +10 -1
  5. data/eveapi.gemspec +4 -4
  6. data/gemspec.yml +2 -0
  7. data/lib/eveapi.rb +2 -0
  8. data/lib/eveapi/alliance.rb +50 -0
  9. data/lib/eveapi/character.rb +60 -0
  10. data/lib/eveapi/client.rb +28 -2
  11. data/lib/eveapi/crest.rb +8 -3
  12. data/lib/eveapi/util.rb +4 -0
  13. data/lib/eveapi/version.rb +1 -1
  14. data/spec/cassettes/EVEApi/EVEApi_Alliance/expect_Alliance_corporations_to_be_an_Array.yml +7017 -0
  15. data/spec/cassettes/EVEApi/EVEApi_Alliance/expect_Alliance_find_to_fill_short_name_and_name_values.yml +2263 -0
  16. data/spec/cassettes/EVEApi/EVEApi_Alliance/expect_Alliance_info_to_be_a_Hash.yml +7017 -0
  17. data/spec/cassettes/EVEApi/EVEApi_Alliance/expect_Alliance_new_with_id_argument_to_create_an_Alliance.yml +131 -0
  18. data/spec/cassettes/EVEApi/EVEApi_Alliance/expect_Alliance_to_h_to_be_a_Hash.yml +6925 -0
  19. data/spec/cassettes/EVEApi/EVEApi_Character/expect_Character_new_args_to_create_a_Character.yml +193 -0
  20. data/spec/cassettes/EVEApi/EVEApi_Character/expect_a_Character_account_balance_to_return_a_Hash.yml +222 -0
  21. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_account_account_status.yml +161 -0
  22. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_account_api_key_info.yml +163 -0
  23. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_account_characters.yml +162 -0
  24. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_account_balance.yml +160 -0
  25. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_asset_list.yml +207 -0
  26. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_character_sheet.yml +207 -0
  27. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_contact_list.yml +175 -0
  28. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_contact_notifications.yml +159 -0
  29. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_contracts.yml +159 -0
  30. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_industry_jobs.yml +159 -0
  31. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_mail_messages.yml +159 -0
  32. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_mailing_lists.yml +159 -0
  33. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_market_orders.yml +159 -0
  34. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_medals.yml +160 -0
  35. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_notifications.yml +159 -0
  36. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_research.yml +159 -0
  37. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_skill_in_training.yml +159 -0
  38. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_skill_queue.yml +159 -0
  39. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_standings.yml +173 -0
  40. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_upcoming_calendar_events.yml +169 -0
  41. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_wallet_journal.yml +159 -0
  42. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_char_wallet_transactions.yml +159 -0
  43. data/spec/cassettes/EVEApi/EVEApi_Client/calling_api_method_server_server_status.yml +159 -0
  44. data/spec/cassettes/EVEApi/EVEApi_Client/expect_Client_characters_to_handle_mutiple_characters_differently.yml +131 -0
  45. data/spec/cassettes/EVEApi/EVEApi_Client/expect_Client_charcaters_to_succeed.yml +131 -0
  46. data/spec/cassettes/EVEApi/EVEApi_Client/expect_Client_connection_to_be_an_Excon_Connection.yml +131 -0
  47. data/spec/cassettes/EVEApi/EVEApi_Client/expect_Client_new_to_succeed.yml +131 -0
  48. data/spec/cassettes/EVEApi/EVEApi_Client/expect_Client_params_to_return_an_empty_hash_when_on_no_param.yml +131 -0
  49. data/spec/cassettes/EVEApi/{calling_api_methods_should_return_an_Array_of_method_symobls.yml → EVEApi_Client/expect_api_methods_to_return_an_Array_of_method_symobls.yml} +134 -6
  50. data/spec/cassettes/EVEApi/{calling_a_method_not_present_in_the_EVEApi_should_fail.yml → EVEApi_Client/expect_calling_a_non-existing_API_method_to_fail.yml} +132 -4
  51. data/spec/cassettes/EVEApi/EVEApi_Client/expect_calling_an_existing_API_method_to_succeed.yml +159 -0
  52. data/spec/cassettes/EVEApi/EVEApi_Client/expect_check_path_to_return_a_non-empty_String_for_a_muti-part_name.yml +131 -0
  53. data/spec/cassettes/EVEApi/EVEApi_Client/expect_check_path_to_return_an_empty_String_for_a_one_part_name.yml +131 -0
  54. data/spec/cassettes/EVEApi/EVEApi_Crest/expect_Crest_alliances_to_be_an_Array.yml +6925 -0
  55. data/spec/cassettes/EVEApi/EVEApi_Crest/expect_Crest_new_to_succeed.yml +131 -0
  56. data/spec/cassettes/EVEApi/EVEApi_Request/expect_there_to_be_a_EVEApi_Request_class.yml +131 -0
  57. data/spec/eve_api_spec.rb +117 -0
  58. metadata +76 -30
  59. data/spec/cassettes/EVEApi/calling_a_method_present_in_the_EVEApi_should_success.yml +0 -31
  60. data/spec/cassettes/EVEApi/calling_api_method_account_account_status.yml +0 -33
  61. data/spec/cassettes/EVEApi/calling_api_method_account_api_key_info.yml +0 -35
  62. data/spec/cassettes/EVEApi/calling_api_method_account_characters.yml +0 -34
  63. data/spec/cassettes/EVEApi/calling_api_method_char_account_balance.yml +0 -32
  64. data/spec/cassettes/EVEApi/calling_api_method_char_asset_list.yml +0 -79
  65. data/spec/cassettes/EVEApi/calling_api_method_char_character_sheet.yml +0 -79
  66. data/spec/cassettes/EVEApi/calling_api_method_char_contact_list.yml +0 -47
  67. data/spec/cassettes/EVEApi/calling_api_method_char_contact_notifications.yml +0 -31
  68. data/spec/cassettes/EVEApi/calling_api_method_char_contracts.yml +0 -31
  69. data/spec/cassettes/EVEApi/calling_api_method_char_industry_jobs.yml +0 -31
  70. data/spec/cassettes/EVEApi/calling_api_method_char_mail_messages.yml +0 -31
  71. data/spec/cassettes/EVEApi/calling_api_method_char_mailing_lists.yml +0 -31
  72. data/spec/cassettes/EVEApi/calling_api_method_char_market_orders.yml +0 -31
  73. data/spec/cassettes/EVEApi/calling_api_method_char_medals.yml +0 -32
  74. data/spec/cassettes/EVEApi/calling_api_method_char_notifications.yml +0 -31
  75. data/spec/cassettes/EVEApi/calling_api_method_char_research.yml +0 -31
  76. data/spec/cassettes/EVEApi/calling_api_method_char_skill_in_training.yml +0 -31
  77. data/spec/cassettes/EVEApi/calling_api_method_char_skill_queue.yml +0 -31
  78. data/spec/cassettes/EVEApi/calling_api_method_char_standings.yml +0 -45
  79. data/spec/cassettes/EVEApi/calling_api_method_char_upcoming_calendar_events.yml +0 -37
  80. data/spec/cassettes/EVEApi/calling_api_method_char_wallet_journal.yml +0 -31
  81. data/spec/cassettes/EVEApi/calling_api_method_char_wallet_transactions.yml +0 -31
  82. data/spec/cassettes/EVEApi/calling_api_method_server_server_status.yml +0 -31
  83. data/spec/cassettes/EVEApi_Crest/alliances_crest_methods_should_return_an_Array_of_alliances.yml +0 -13577
  84. data/spec/eveapi_spec.rb +0 -73
@@ -0,0 +1,169 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.eveonline.com/account/Characters.xml.aspx?keyID=4669404&vCode=hushhush
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - excon/0.45.4
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: ''
16
+ headers:
17
+ Content-Type:
18
+ - application/xml; charset=utf-8
19
+ Access-Control-Allow-Origin:
20
+ - "*"
21
+ Date:
22
+ - Sat, 12 Sep 2015 08:52:00 GMT
23
+ body:
24
+ encoding: UTF-8
25
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
26
+ \ <currentTime>2015-09-12 08:52:00</currentTime>\r\n <result>\r\n <rowset
27
+ name=\"characters\" key=\"characterID\" columns=\"name,characterID,corporationName,corporationID,allianceID,allianceName,factionID,factionName\">\r\n
28
+ \ <row name=\"Blondie Blond\" characterID=\"93051887\" corporationName=\"Carl
29
+ Malus Corporation\" corporationID=\"98279136\" allianceID=\"0\" allianceName=\"\"
30
+ factionID=\"0\" factionName=\"\" />\r\n <row name=\"Adrian Dent\" characterID=\"810699209\"
31
+ corporationName=\"Caldari Provisions\" corporationID=\"1000009\" allianceID=\"0\"
32
+ allianceName=\"\" factionID=\"0\" factionName=\"\" />\r\n </rowset>\r\n
33
+ \ </result>\r\n <cachedUntil>2015-09-12 09:48:16</cachedUntil>\r\n</eveapi>"
34
+ http_version:
35
+ recorded_at: Sat, 12 Sep 2015 08:52:00 GMT
36
+ - request:
37
+ method: get
38
+ uri: https://api.eveonline.com/account/Characters.xml.aspx?keyID=4669404&vCode=hushhush
39
+ body:
40
+ encoding: US-ASCII
41
+ string: ''
42
+ headers:
43
+ User-Agent:
44
+ - excon/0.45.4
45
+ response:
46
+ status:
47
+ code: 200
48
+ message: ''
49
+ headers:
50
+ Content-Type:
51
+ - application/xml; charset=utf-8
52
+ Access-Control-Allow-Origin:
53
+ - "*"
54
+ Date:
55
+ - Sat, 12 Sep 2015 08:52:00 GMT
56
+ body:
57
+ encoding: UTF-8
58
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
59
+ \ <currentTime>2015-09-12 08:52:00</currentTime>\r\n <result>\r\n <rowset
60
+ name=\"characters\" key=\"characterID\" columns=\"name,characterID,corporationName,corporationID,allianceID,allianceName,factionID,factionName\">\r\n
61
+ \ <row name=\"Blondie Blond\" characterID=\"93051887\" corporationName=\"Carl
62
+ Malus Corporation\" corporationID=\"98279136\" allianceID=\"0\" allianceName=\"\"
63
+ factionID=\"0\" factionName=\"\" />\r\n <row name=\"Adrian Dent\" characterID=\"810699209\"
64
+ corporationName=\"Caldari Provisions\" corporationID=\"1000009\" allianceID=\"0\"
65
+ allianceName=\"\" factionID=\"0\" factionName=\"\" />\r\n </rowset>\r\n
66
+ \ </result>\r\n <cachedUntil>2015-09-12 09:48:16</cachedUntil>\r\n</eveapi>"
67
+ http_version:
68
+ recorded_at: Sat, 12 Sep 2015 08:52:00 GMT
69
+ - request:
70
+ method: get
71
+ uri: https://api.eveonline.com/account/Characters.xml.aspx?characterID=95512059&keyID=4278167&vCode=supersecretstuff
72
+ body:
73
+ encoding: US-ASCII
74
+ string: ''
75
+ headers:
76
+ User-Agent:
77
+ - excon/0.45.4
78
+ response:
79
+ status:
80
+ code: 200
81
+ message: ''
82
+ headers:
83
+ Content-Type:
84
+ - application/xml; charset=utf-8
85
+ Access-Control-Allow-Origin:
86
+ - "*"
87
+ Date:
88
+ - Sat, 12 Sep 2015 08:52:00 GMT
89
+ body:
90
+ encoding: UTF-8
91
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
92
+ \ <currentTime>2015-09-12 08:52:01</currentTime>\r\n <result>\r\n <rowset
93
+ name=\"characters\" key=\"characterID\" columns=\"name,characterID,corporationName,corporationID,allianceID,allianceName,factionID,factionName\">\r\n
94
+ \ <row name=\"Quint Slade\" characterID=\"95512059\" corporationName=\"Imperial
95
+ Academy\" corporationID=\"1000166\" allianceID=\"0\" allianceName=\"\" factionID=\"0\"
96
+ factionName=\"\" />\r\n </rowset>\r\n </result>\r\n <cachedUntil>2015-09-12
97
+ 09:48:16</cachedUntil>\r\n</eveapi>"
98
+ http_version:
99
+ recorded_at: Sat, 12 Sep 2015 08:52:01 GMT
100
+ - request:
101
+ method: get
102
+ uri: https://api.eveonline.com/account/Characters.xml.aspx?characterID=95512059&keyID=4278167&vCode=supersecretstuff
103
+ body:
104
+ encoding: US-ASCII
105
+ string: ''
106
+ headers:
107
+ User-Agent:
108
+ - excon/0.45.4
109
+ response:
110
+ status:
111
+ code: 200
112
+ message: ''
113
+ headers:
114
+ Content-Type:
115
+ - application/xml; charset=utf-8
116
+ Access-Control-Allow-Origin:
117
+ - "*"
118
+ Date:
119
+ - Sat, 12 Sep 2015 08:52:00 GMT
120
+ body:
121
+ encoding: UTF-8
122
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
123
+ \ <currentTime>2015-09-12 08:52:01</currentTime>\r\n <result>\r\n <rowset
124
+ name=\"characters\" key=\"characterID\" columns=\"name,characterID,corporationName,corporationID,allianceID,allianceName,factionID,factionName\">\r\n
125
+ \ <row name=\"Quint Slade\" characterID=\"95512059\" corporationName=\"Imperial
126
+ Academy\" corporationID=\"1000166\" allianceID=\"0\" allianceName=\"\" factionID=\"0\"
127
+ factionName=\"\" />\r\n </rowset>\r\n </result>\r\n <cachedUntil>2015-09-12
128
+ 09:48:16</cachedUntil>\r\n</eveapi>"
129
+ http_version:
130
+ recorded_at: Sat, 12 Sep 2015 08:52:01 GMT
131
+ - request:
132
+ method: get
133
+ uri: https://api.eveonline.com/char/UpcomingCalendarEvents.xml.aspx?characterID=95512059&keyID=4278167&vCode=supersecretstuff
134
+ body:
135
+ encoding: US-ASCII
136
+ string: ''
137
+ headers:
138
+ User-Agent:
139
+ - excon/0.45.4
140
+ response:
141
+ status:
142
+ code: 200
143
+ message: ''
144
+ headers:
145
+ Content-Type:
146
+ - application/xml; charset=utf-8
147
+ Access-Control-Allow-Origin:
148
+ - "*"
149
+ Date:
150
+ - Sat, 12 Sep 2015 08:52:01 GMT
151
+ body:
152
+ encoding: UTF-8
153
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
154
+ \ <currentTime>2015-09-12 08:52:01</currentTime>\r\n <result>\r\n <rowset
155
+ name=\"upcomingEvents\" key=\"eventID\" columns=\"eventID,ownerID,ownerName,eventDate,eventTitle,duration,importance,response,eventText,ownerTypeID\">\r\n
156
+ \ <row eventID=\"1210292\" ownerID=\"1\" ownerName=\"EVE System\" eventDate=\"2015-09-15
157
+ 17:00:00\" eventTitle=\"Mass test on Duality\" duration=\"60\" importance=\"0\"
158
+ response=\"Undecided\" eventText=\"To be tested:&#xD;&#xA;Brain in a box&#xD;&#xA;&#xD;&#xA;Please
159
+ refer to &lt;a href=&quot;https://forums.eveonline.com/default.aspx?g=posts&amp;t=445069&quot;&gt;this
160
+ thread&lt;/a&gt; for more information about how to participate in this test,
161
+ and &lt;a href=&quot;http://wiki.eveonline.com/en/wiki/Mass_testing&quot;&gt;this
162
+ article&lt;/a&gt; for more information on mass testing.&#xD;&#xA;&#xD;&#xA;All
163
+ participants will receive a reward of two million free skill points on Singularity
164
+ and Duality.&#xD;&#xA;&#xD;&#xA;Please note that this mass test takes place
165
+ on Duality and not on Singularity!\" ownerTypeID=\"0\" />\r\n </rowset>\r\n
166
+ \ </result>\r\n <cachedUntil>2015-09-12 09:49:01</cachedUntil>\r\n</eveapi>"
167
+ http_version:
168
+ recorded_at: Sat, 12 Sep 2015 08:52:01 GMT
169
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,159 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.eveonline.com/account/Characters.xml.aspx?keyID=4669404&vCode=hushhush
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - excon/0.45.4
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: ''
16
+ headers:
17
+ Content-Type:
18
+ - application/xml; charset=utf-8
19
+ Access-Control-Allow-Origin:
20
+ - "*"
21
+ Date:
22
+ - Sat, 12 Sep 2015 08:51:58 GMT
23
+ body:
24
+ encoding: UTF-8
25
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
26
+ \ <currentTime>2015-09-12 08:51:59</currentTime>\r\n <result>\r\n <rowset
27
+ name=\"characters\" key=\"characterID\" columns=\"name,characterID,corporationName,corporationID,allianceID,allianceName,factionID,factionName\">\r\n
28
+ \ <row name=\"Blondie Blond\" characterID=\"93051887\" corporationName=\"Carl
29
+ Malus Corporation\" corporationID=\"98279136\" allianceID=\"0\" allianceName=\"\"
30
+ factionID=\"0\" factionName=\"\" />\r\n <row name=\"Adrian Dent\" characterID=\"810699209\"
31
+ corporationName=\"Caldari Provisions\" corporationID=\"1000009\" allianceID=\"0\"
32
+ allianceName=\"\" factionID=\"0\" factionName=\"\" />\r\n </rowset>\r\n
33
+ \ </result>\r\n <cachedUntil>2015-09-12 09:48:16</cachedUntil>\r\n</eveapi>"
34
+ http_version:
35
+ recorded_at: Sat, 12 Sep 2015 08:51:59 GMT
36
+ - request:
37
+ method: get
38
+ uri: https://api.eveonline.com/account/Characters.xml.aspx?keyID=4669404&vCode=hushhush
39
+ body:
40
+ encoding: US-ASCII
41
+ string: ''
42
+ headers:
43
+ User-Agent:
44
+ - excon/0.45.4
45
+ response:
46
+ status:
47
+ code: 200
48
+ message: ''
49
+ headers:
50
+ Content-Type:
51
+ - application/xml; charset=utf-8
52
+ Access-Control-Allow-Origin:
53
+ - "*"
54
+ Date:
55
+ - Sat, 12 Sep 2015 08:51:58 GMT
56
+ body:
57
+ encoding: UTF-8
58
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
59
+ \ <currentTime>2015-09-12 08:51:59</currentTime>\r\n <result>\r\n <rowset
60
+ name=\"characters\" key=\"characterID\" columns=\"name,characterID,corporationName,corporationID,allianceID,allianceName,factionID,factionName\">\r\n
61
+ \ <row name=\"Blondie Blond\" characterID=\"93051887\" corporationName=\"Carl
62
+ Malus Corporation\" corporationID=\"98279136\" allianceID=\"0\" allianceName=\"\"
63
+ factionID=\"0\" factionName=\"\" />\r\n <row name=\"Adrian Dent\" characterID=\"810699209\"
64
+ corporationName=\"Caldari Provisions\" corporationID=\"1000009\" allianceID=\"0\"
65
+ allianceName=\"\" factionID=\"0\" factionName=\"\" />\r\n </rowset>\r\n
66
+ \ </result>\r\n <cachedUntil>2015-09-12 09:48:16</cachedUntil>\r\n</eveapi>"
67
+ http_version:
68
+ recorded_at: Sat, 12 Sep 2015 08:51:59 GMT
69
+ - request:
70
+ method: get
71
+ uri: https://api.eveonline.com/account/Characters.xml.aspx?characterID=95512059&keyID=4278167&vCode=supersecretstuff
72
+ body:
73
+ encoding: US-ASCII
74
+ string: ''
75
+ headers:
76
+ User-Agent:
77
+ - excon/0.45.4
78
+ response:
79
+ status:
80
+ code: 200
81
+ message: ''
82
+ headers:
83
+ Content-Type:
84
+ - application/xml; charset=utf-8
85
+ Access-Control-Allow-Origin:
86
+ - "*"
87
+ Date:
88
+ - Sat, 12 Sep 2015 08:51:59 GMT
89
+ body:
90
+ encoding: UTF-8
91
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
92
+ \ <currentTime>2015-09-12 08:51:59</currentTime>\r\n <result>\r\n <rowset
93
+ name=\"characters\" key=\"characterID\" columns=\"name,characterID,corporationName,corporationID,allianceID,allianceName,factionID,factionName\">\r\n
94
+ \ <row name=\"Quint Slade\" characterID=\"95512059\" corporationName=\"Imperial
95
+ Academy\" corporationID=\"1000166\" allianceID=\"0\" allianceName=\"\" factionID=\"0\"
96
+ factionName=\"\" />\r\n </rowset>\r\n </result>\r\n <cachedUntil>2015-09-12
97
+ 09:48:16</cachedUntil>\r\n</eveapi>"
98
+ http_version:
99
+ recorded_at: Sat, 12 Sep 2015 08:51:59 GMT
100
+ - request:
101
+ method: get
102
+ uri: https://api.eveonline.com/account/Characters.xml.aspx?characterID=95512059&keyID=4278167&vCode=supersecretstuff
103
+ body:
104
+ encoding: US-ASCII
105
+ string: ''
106
+ headers:
107
+ User-Agent:
108
+ - excon/0.45.4
109
+ response:
110
+ status:
111
+ code: 200
112
+ message: ''
113
+ headers:
114
+ Content-Type:
115
+ - application/xml; charset=utf-8
116
+ Access-Control-Allow-Origin:
117
+ - "*"
118
+ Date:
119
+ - Sat, 12 Sep 2015 08:51:59 GMT
120
+ body:
121
+ encoding: UTF-8
122
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
123
+ \ <currentTime>2015-09-12 08:52:00</currentTime>\r\n <result>\r\n <rowset
124
+ name=\"characters\" key=\"characterID\" columns=\"name,characterID,corporationName,corporationID,allianceID,allianceName,factionID,factionName\">\r\n
125
+ \ <row name=\"Quint Slade\" characterID=\"95512059\" corporationName=\"Imperial
126
+ Academy\" corporationID=\"1000166\" allianceID=\"0\" allianceName=\"\" factionID=\"0\"
127
+ factionName=\"\" />\r\n </rowset>\r\n </result>\r\n <cachedUntil>2015-09-12
128
+ 09:48:16</cachedUntil>\r\n</eveapi>"
129
+ http_version:
130
+ recorded_at: Sat, 12 Sep 2015 08:52:00 GMT
131
+ - request:
132
+ method: get
133
+ uri: https://api.eveonline.com/char/WalletJournal.xml.aspx?characterID=95512059&keyID=4278167&vCode=supersecretstuff
134
+ body:
135
+ encoding: US-ASCII
136
+ string: ''
137
+ headers:
138
+ User-Agent:
139
+ - excon/0.45.4
140
+ response:
141
+ status:
142
+ code: 200
143
+ message: ''
144
+ headers:
145
+ Content-Type:
146
+ - application/xml; charset=utf-8
147
+ Access-Control-Allow-Origin:
148
+ - "*"
149
+ Date:
150
+ - Sat, 12 Sep 2015 08:51:59 GMT
151
+ body:
152
+ encoding: UTF-8
153
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
154
+ \ <currentTime>2015-09-12 08:52:00</currentTime>\r\n <result>\r\n <rowset
155
+ name=\"transactions\" key=\"refID\" columns=\"date,refID,refTypeID,ownerName1,ownerID1,ownerName2,ownerID2,argName1,argID1,amount,balance,reason,taxReceiverID,taxAmount,owner1TypeID,owner2TypeID\"
156
+ />\r\n </result>\r\n <cachedUntil>2015-09-12 09:19:00</cachedUntil>\r\n</eveapi>"
157
+ http_version:
158
+ recorded_at: Sat, 12 Sep 2015 08:52:00 GMT
159
+ recorded_with: VCR 2.9.3
@@ -0,0 +1,159 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.eveonline.com/account/Characters.xml.aspx?keyID=4669404&vCode=hushhush
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - excon/0.45.4
12
+ response:
13
+ status:
14
+ code: 200
15
+ message: ''
16
+ headers:
17
+ Content-Type:
18
+ - application/xml; charset=utf-8
19
+ Access-Control-Allow-Origin:
20
+ - "*"
21
+ Date:
22
+ - Sat, 12 Sep 2015 08:51:57 GMT
23
+ body:
24
+ encoding: UTF-8
25
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
26
+ \ <currentTime>2015-09-12 08:51:58</currentTime>\r\n <result>\r\n <rowset
27
+ name=\"characters\" key=\"characterID\" columns=\"name,characterID,corporationName,corporationID,allianceID,allianceName,factionID,factionName\">\r\n
28
+ \ <row name=\"Blondie Blond\" characterID=\"93051887\" corporationName=\"Carl
29
+ Malus Corporation\" corporationID=\"98279136\" allianceID=\"0\" allianceName=\"\"
30
+ factionID=\"0\" factionName=\"\" />\r\n <row name=\"Adrian Dent\" characterID=\"810699209\"
31
+ corporationName=\"Caldari Provisions\" corporationID=\"1000009\" allianceID=\"0\"
32
+ allianceName=\"\" factionID=\"0\" factionName=\"\" />\r\n </rowset>\r\n
33
+ \ </result>\r\n <cachedUntil>2015-09-12 09:48:16</cachedUntil>\r\n</eveapi>"
34
+ http_version:
35
+ recorded_at: Sat, 12 Sep 2015 08:51:58 GMT
36
+ - request:
37
+ method: get
38
+ uri: https://api.eveonline.com/account/Characters.xml.aspx?keyID=4669404&vCode=hushhush
39
+ body:
40
+ encoding: US-ASCII
41
+ string: ''
42
+ headers:
43
+ User-Agent:
44
+ - excon/0.45.4
45
+ response:
46
+ status:
47
+ code: 200
48
+ message: ''
49
+ headers:
50
+ Content-Type:
51
+ - application/xml; charset=utf-8
52
+ Access-Control-Allow-Origin:
53
+ - "*"
54
+ Date:
55
+ - Sat, 12 Sep 2015 08:51:57 GMT
56
+ body:
57
+ encoding: UTF-8
58
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
59
+ \ <currentTime>2015-09-12 08:51:58</currentTime>\r\n <result>\r\n <rowset
60
+ name=\"characters\" key=\"characterID\" columns=\"name,characterID,corporationName,corporationID,allianceID,allianceName,factionID,factionName\">\r\n
61
+ \ <row name=\"Blondie Blond\" characterID=\"93051887\" corporationName=\"Carl
62
+ Malus Corporation\" corporationID=\"98279136\" allianceID=\"0\" allianceName=\"\"
63
+ factionID=\"0\" factionName=\"\" />\r\n <row name=\"Adrian Dent\" characterID=\"810699209\"
64
+ corporationName=\"Caldari Provisions\" corporationID=\"1000009\" allianceID=\"0\"
65
+ allianceName=\"\" factionID=\"0\" factionName=\"\" />\r\n </rowset>\r\n
66
+ \ </result>\r\n <cachedUntil>2015-09-12 09:48:16</cachedUntil>\r\n</eveapi>"
67
+ http_version:
68
+ recorded_at: Sat, 12 Sep 2015 08:51:58 GMT
69
+ - request:
70
+ method: get
71
+ uri: https://api.eveonline.com/account/Characters.xml.aspx?characterID=95512059&keyID=4278167&vCode=supersecretstuff
72
+ body:
73
+ encoding: US-ASCII
74
+ string: ''
75
+ headers:
76
+ User-Agent:
77
+ - excon/0.45.4
78
+ response:
79
+ status:
80
+ code: 200
81
+ message: ''
82
+ headers:
83
+ Content-Type:
84
+ - application/xml; charset=utf-8
85
+ Access-Control-Allow-Origin:
86
+ - "*"
87
+ Date:
88
+ - Sat, 12 Sep 2015 08:51:58 GMT
89
+ body:
90
+ encoding: UTF-8
91
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
92
+ \ <currentTime>2015-09-12 08:51:58</currentTime>\r\n <result>\r\n <rowset
93
+ name=\"characters\" key=\"characterID\" columns=\"name,characterID,corporationName,corporationID,allianceID,allianceName,factionID,factionName\">\r\n
94
+ \ <row name=\"Quint Slade\" characterID=\"95512059\" corporationName=\"Imperial
95
+ Academy\" corporationID=\"1000166\" allianceID=\"0\" allianceName=\"\" factionID=\"0\"
96
+ factionName=\"\" />\r\n </rowset>\r\n </result>\r\n <cachedUntil>2015-09-12
97
+ 09:48:16</cachedUntil>\r\n</eveapi>"
98
+ http_version:
99
+ recorded_at: Sat, 12 Sep 2015 08:51:58 GMT
100
+ - request:
101
+ method: get
102
+ uri: https://api.eveonline.com/account/Characters.xml.aspx?characterID=95512059&keyID=4278167&vCode=supersecretstuff
103
+ body:
104
+ encoding: US-ASCII
105
+ string: ''
106
+ headers:
107
+ User-Agent:
108
+ - excon/0.45.4
109
+ response:
110
+ status:
111
+ code: 200
112
+ message: ''
113
+ headers:
114
+ Content-Type:
115
+ - application/xml; charset=utf-8
116
+ Access-Control-Allow-Origin:
117
+ - "*"
118
+ Date:
119
+ - Sat, 12 Sep 2015 08:51:58 GMT
120
+ body:
121
+ encoding: UTF-8
122
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
123
+ \ <currentTime>2015-09-12 08:51:58</currentTime>\r\n <result>\r\n <rowset
124
+ name=\"characters\" key=\"characterID\" columns=\"name,characterID,corporationName,corporationID,allianceID,allianceName,factionID,factionName\">\r\n
125
+ \ <row name=\"Quint Slade\" characterID=\"95512059\" corporationName=\"Imperial
126
+ Academy\" corporationID=\"1000166\" allianceID=\"0\" allianceName=\"\" factionID=\"0\"
127
+ factionName=\"\" />\r\n </rowset>\r\n </result>\r\n <cachedUntil>2015-09-12
128
+ 09:48:16</cachedUntil>\r\n</eveapi>"
129
+ http_version:
130
+ recorded_at: Sat, 12 Sep 2015 08:51:58 GMT
131
+ - request:
132
+ method: get
133
+ uri: https://api.eveonline.com/char/WalletTransactions.xml.aspx?characterID=95512059&keyID=4278167&vCode=supersecretstuff
134
+ body:
135
+ encoding: US-ASCII
136
+ string: ''
137
+ headers:
138
+ User-Agent:
139
+ - excon/0.45.4
140
+ response:
141
+ status:
142
+ code: 200
143
+ message: ''
144
+ headers:
145
+ Content-Type:
146
+ - application/xml; charset=utf-8
147
+ Access-Control-Allow-Origin:
148
+ - "*"
149
+ Date:
150
+ - Sat, 12 Sep 2015 08:51:58 GMT
151
+ body:
152
+ encoding: UTF-8
153
+ string: "<?xml version='1.0' encoding='UTF-8'?>\r\n<eveapi version=\"2\">\r\n
154
+ \ <currentTime>2015-09-12 08:51:59</currentTime>\r\n <result>\r\n <rowset
155
+ name=\"transactions\" key=\"transactionID\" columns=\"transactionDateTime,transactionID,quantity,typeName,typeID,price,clientID,clientName,stationID,stationName,transactionType,transactionFor,journalTransactionID,clientTypeID\"
156
+ />\r\n </result>\r\n <cachedUntil>2015-09-12 09:18:59</cachedUntil>\r\n</eveapi>"
157
+ http_version:
158
+ recorded_at: Sat, 12 Sep 2015 08:51:59 GMT
159
+ recorded_with: VCR 2.9.3