kag 0.0.1

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.
@@ -0,0 +1,3 @@
1
+ module KAG
2
+ VERSION = '0.0.1'
3
+ end
@@ -0,0 +1,116 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.kag2d.com/player/prostosuper/avatar
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 301
13
+ message: Moved Permanently
14
+ headers:
15
+ Server:
16
+ - nginx/1.0.5
17
+ Date:
18
+ - Thu, 26 Apr 2012 21:33:21 GMT
19
+ Content-Type:
20
+ - application/json
21
+ Transfer-Encoding:
22
+ - chunked
23
+ Connection:
24
+ - keep-alive
25
+ Location:
26
+ - https://api.kag2d.com/player/prostosuper/avatar
27
+ body:
28
+ encoding: US-ASCII
29
+ string: ''
30
+ http_version:
31
+ recorded_at: Thu, 26 Apr 2012 21:33:16 GMT
32
+ - request:
33
+ method: get
34
+ uri: https://api.kag2d.com/player/prostosuper/avatar
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ''
38
+ headers: {}
39
+ response:
40
+ status:
41
+ code: 200
42
+ message: OK
43
+ headers:
44
+ Server:
45
+ - nginx/1.0.5
46
+ Date:
47
+ - Thu, 26 Apr 2012 21:33:22 GMT
48
+ Content-Type:
49
+ - application/json
50
+ Transfer-Encoding:
51
+ - chunked
52
+ Connection:
53
+ - keep-alive
54
+ body:
55
+ encoding: US-ASCII
56
+ string: ! '{"small": "https://forum.kag2d.com/data/avatars/s/0/231.jpg", "large":
57
+ "https://forum.kag2d.com/data/avatars/l/0/231.jpg", "medium": "https://forum.kag2d.com/data/avatars/m/0/231.jpg"}'
58
+ http_version:
59
+ recorded_at: Thu, 26 Apr 2012 21:33:17 GMT
60
+ - request:
61
+ method: get
62
+ uri: http://api.kag2d.com/player/foobarbazbaz/avatar
63
+ body:
64
+ encoding: US-ASCII
65
+ string: ''
66
+ headers: {}
67
+ response:
68
+ status:
69
+ code: 301
70
+ message: Moved Permanently
71
+ headers:
72
+ Server:
73
+ - nginx/1.0.5
74
+ Date:
75
+ - Thu, 26 Apr 2012 21:33:25 GMT
76
+ Content-Type:
77
+ - application/json
78
+ Transfer-Encoding:
79
+ - chunked
80
+ Connection:
81
+ - keep-alive
82
+ Location:
83
+ - https://api.kag2d.com/player/foobarbazbaz/avatar
84
+ body:
85
+ encoding: US-ASCII
86
+ string: ''
87
+ http_version:
88
+ recorded_at: Thu, 26 Apr 2012 21:33:20 GMT
89
+ - request:
90
+ method: get
91
+ uri: https://api.kag2d.com/player/foobarbazbaz/avatar
92
+ body:
93
+ encoding: US-ASCII
94
+ string: ''
95
+ headers: {}
96
+ response:
97
+ status:
98
+ code: 404
99
+ message: Not Found
100
+ headers:
101
+ Server:
102
+ - nginx/1.0.5
103
+ Date:
104
+ - Thu, 26 Apr 2012 21:33:26 GMT
105
+ Content-Type:
106
+ - application/json
107
+ Transfer-Encoding:
108
+ - chunked
109
+ Connection:
110
+ - keep-alive
111
+ body:
112
+ encoding: US-ASCII
113
+ string: ! '{"statusMessage": "Player not found"}'
114
+ http_version:
115
+ recorded_at: Thu, 26 Apr 2012 21:33:21 GMT
116
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,59 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.kag2d.com/player/prostosuper/avatar/l
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 301
13
+ message: Moved Permanently
14
+ headers:
15
+ Server:
16
+ - nginx/1.0.5
17
+ Date:
18
+ - Thu, 26 Apr 2012 21:33:22 GMT
19
+ Content-Type:
20
+ - application/json
21
+ Transfer-Encoding:
22
+ - chunked
23
+ Connection:
24
+ - keep-alive
25
+ Location:
26
+ - https://api.kag2d.com/player/prostosuper/avatar/l
27
+ body:
28
+ encoding: US-ASCII
29
+ string: ''
30
+ http_version:
31
+ recorded_at: Thu, 26 Apr 2012 21:33:17 GMT
32
+ - request:
33
+ method: get
34
+ uri: https://api.kag2d.com/player/prostosuper/avatar/l
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ''
38
+ headers: {}
39
+ response:
40
+ status:
41
+ code: 200
42
+ message: OK
43
+ headers:
44
+ Server:
45
+ - nginx/1.0.5
46
+ Date:
47
+ - Thu, 26 Apr 2012 21:33:23 GMT
48
+ Content-Type:
49
+ - application/json
50
+ Transfer-Encoding:
51
+ - chunked
52
+ Connection:
53
+ - keep-alive
54
+ body:
55
+ encoding: US-ASCII
56
+ string: ! '{"large": "https://forum.kag2d.com/data/avatars/l/0/231.jpg"}'
57
+ http_version:
58
+ recorded_at: Thu, 26 Apr 2012 21:33:18 GMT
59
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,59 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.kag2d.com/player/prostosuper/avatar/m
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 301
13
+ message: Moved Permanently
14
+ headers:
15
+ Server:
16
+ - nginx/1.0.5
17
+ Date:
18
+ - Thu, 26 Apr 2012 21:33:23 GMT
19
+ Content-Type:
20
+ - application/json
21
+ Transfer-Encoding:
22
+ - chunked
23
+ Connection:
24
+ - keep-alive
25
+ Location:
26
+ - https://api.kag2d.com/player/prostosuper/avatar/m
27
+ body:
28
+ encoding: US-ASCII
29
+ string: ''
30
+ http_version:
31
+ recorded_at: Thu, 26 Apr 2012 21:33:18 GMT
32
+ - request:
33
+ method: get
34
+ uri: https://api.kag2d.com/player/prostosuper/avatar/m
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ''
38
+ headers: {}
39
+ response:
40
+ status:
41
+ code: 200
42
+ message: OK
43
+ headers:
44
+ Server:
45
+ - nginx/1.0.5
46
+ Date:
47
+ - Thu, 26 Apr 2012 21:33:24 GMT
48
+ Content-Type:
49
+ - application/json
50
+ Transfer-Encoding:
51
+ - chunked
52
+ Connection:
53
+ - keep-alive
54
+ body:
55
+ encoding: US-ASCII
56
+ string: ! '{"medium": "https://forum.kag2d.com/data/avatars/m/0/231.jpg"}'
57
+ http_version:
58
+ recorded_at: Thu, 26 Apr 2012 21:33:19 GMT
59
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,59 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.kag2d.com/player/prostosuper/avatar/s
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 301
13
+ message: Moved Permanently
14
+ headers:
15
+ Server:
16
+ - nginx/1.0.5
17
+ Date:
18
+ - Thu, 26 Apr 2012 21:33:24 GMT
19
+ Content-Type:
20
+ - application/json
21
+ Transfer-Encoding:
22
+ - chunked
23
+ Connection:
24
+ - keep-alive
25
+ Location:
26
+ - https://api.kag2d.com/player/prostosuper/avatar/s
27
+ body:
28
+ encoding: US-ASCII
29
+ string: ''
30
+ http_version:
31
+ recorded_at: Thu, 26 Apr 2012 21:33:19 GMT
32
+ - request:
33
+ method: get
34
+ uri: https://api.kag2d.com/player/prostosuper/avatar/s
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ''
38
+ headers: {}
39
+ response:
40
+ status:
41
+ code: 200
42
+ message: OK
43
+ headers:
44
+ Server:
45
+ - nginx/1.0.5
46
+ Date:
47
+ - Thu, 26 Apr 2012 21:33:25 GMT
48
+ Content-Type:
49
+ - application/json
50
+ Transfer-Encoding:
51
+ - chunked
52
+ Connection:
53
+ - keep-alive
54
+ body:
55
+ encoding: US-ASCII
56
+ string: ! '{"small": "https://forum.kag2d.com/data/avatars/s/0/231.jpg"}'
57
+ http_version:
58
+ recorded_at: Thu, 26 Apr 2012 21:33:20 GMT
59
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,61 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.kag2d.com/player/tiffou/info
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 301
13
+ message: Moved Permanently
14
+ headers:
15
+ Server:
16
+ - nginx/1.0.5
17
+ Date:
18
+ - Fri, 27 Apr 2012 09:24:13 GMT
19
+ Content-Type:
20
+ - application/json
21
+ Transfer-Encoding:
22
+ - chunked
23
+ Connection:
24
+ - keep-alive
25
+ Location:
26
+ - https://api.kag2d.com/player/tiffou/info
27
+ body:
28
+ encoding: US-ASCII
29
+ string: ''
30
+ http_version:
31
+ recorded_at: Fri, 27 Apr 2012 09:24:07 GMT
32
+ - request:
33
+ method: get
34
+ uri: https://api.kag2d.com/player/tiffou/info
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ''
38
+ headers: {}
39
+ response:
40
+ status:
41
+ code: 200
42
+ message: OK
43
+ headers:
44
+ Server:
45
+ - nginx/1.0.5
46
+ Date:
47
+ - Fri, 27 Apr 2012 09:24:14 GMT
48
+ Content-Type:
49
+ - application/json
50
+ Transfer-Encoding:
51
+ - chunked
52
+ Connection:
53
+ - keep-alive
54
+ body:
55
+ encoding: US-ASCII
56
+ string: ! '{"username": "tiffou", "banExpiration": "2022-03-02 09:09:53", "gold":
57
+ true, "banned": true, "role": 0, "banReason": "cheating - speedhack.", "active":
58
+ true}'
59
+ http_version:
60
+ recorded_at: Fri, 27 Apr 2012 09:24:07 GMT
61
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,60 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.kag2d.com/player/mm/info
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 301
13
+ message: Moved Permanently
14
+ headers:
15
+ Server:
16
+ - nginx/1.0.5
17
+ Date:
18
+ - Thu, 26 Apr 2012 12:26:48 GMT
19
+ Content-Type:
20
+ - application/json
21
+ Transfer-Encoding:
22
+ - chunked
23
+ Connection:
24
+ - keep-alive
25
+ Location:
26
+ - https://api.kag2d.com/player/mm/info
27
+ body:
28
+ encoding: US-ASCII
29
+ string: ''
30
+ http_version:
31
+ recorded_at: Thu, 26 Apr 2012 12:26:43 GMT
32
+ - request:
33
+ method: get
34
+ uri: https://api.kag2d.com/player/mm/info
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ''
38
+ headers: {}
39
+ response:
40
+ status:
41
+ code: 200
42
+ message: OK
43
+ headers:
44
+ Server:
45
+ - nginx/1.0.5
46
+ Date:
47
+ - Thu, 26 Apr 2012 12:26:48 GMT
48
+ Content-Type:
49
+ - application/json
50
+ Transfer-Encoding:
51
+ - chunked
52
+ Connection:
53
+ - keep-alive
54
+ body:
55
+ encoding: US-ASCII
56
+ string: ! '{"active": true, "username": "MM", "banned": false, "role": 1, "gold":
57
+ true}'
58
+ http_version:
59
+ recorded_at: Thu, 26 Apr 2012 12:26:43 GMT
60
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,60 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.kag2d.com/player/dnmr/info
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 301
13
+ message: Moved Permanently
14
+ headers:
15
+ Server:
16
+ - nginx/1.0.5
17
+ Date:
18
+ - Thu, 26 Apr 2012 12:26:49 GMT
19
+ Content-Type:
20
+ - application/json
21
+ Transfer-Encoding:
22
+ - chunked
23
+ Connection:
24
+ - keep-alive
25
+ Location:
26
+ - https://api.kag2d.com/player/dnmr/info
27
+ body:
28
+ encoding: US-ASCII
29
+ string: ''
30
+ http_version:
31
+ recorded_at: Thu, 26 Apr 2012 12:26:44 GMT
32
+ - request:
33
+ method: get
34
+ uri: https://api.kag2d.com/player/dnmr/info
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ''
38
+ headers: {}
39
+ response:
40
+ status:
41
+ code: 200
42
+ message: OK
43
+ headers:
44
+ Server:
45
+ - nginx/1.0.5
46
+ Date:
47
+ - Thu, 26 Apr 2012 12:26:49 GMT
48
+ Content-Type:
49
+ - application/json
50
+ Transfer-Encoding:
51
+ - chunked
52
+ Connection:
53
+ - keep-alive
54
+ body:
55
+ encoding: US-ASCII
56
+ string: ! '{"active": true, "username": "dnmr", "banned": false, "role": 2,
57
+ "gold": true}'
58
+ http_version:
59
+ recorded_at: Thu, 26 Apr 2012 12:26:45 GMT
60
+ recorded_with: VCR 2.1.1