agilezen 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ PATH
10
10
  GEM
11
11
  remote: http://rubygems.org/
12
12
  specs:
13
- addressable (2.2.2)
13
+ addressable (2.2.4)
14
14
  builder (2.1.2)
15
15
  cucumber (0.10.0)
16
16
  builder (>= 2.1.2)
@@ -20,28 +20,28 @@ GEM
20
20
  term-ansicolor (~> 1.0.5)
21
21
  diff-lcs (1.1.2)
22
22
  fakeweb (1.3.0)
23
- faraday (0.5.4)
24
- addressable (~> 2.2.2)
23
+ faraday (0.5.7)
24
+ addressable (~> 2.2.4)
25
25
  multipart-post (~> 1.1.0)
26
- rack (>= 1.1.0, < 2)
27
- faraday_middleware (0.3.1)
28
- faraday (~> 0.5.3)
26
+ rack (< 2, >= 1.1.0)
27
+ faraday_middleware (0.3.2)
28
+ faraday (~> 0.5.4)
29
29
  gherkin (2.3.3)
30
30
  json (~> 1.4.6)
31
31
  hashie (0.4.0)
32
32
  json (1.4.6)
33
33
  multi_json (0.0.5)
34
34
  multipart-post (1.1.0)
35
- rack (1.2.1)
35
+ rack (1.2.2)
36
36
  rake (0.8.7)
37
- rspec (2.4.0)
38
- rspec-core (~> 2.4.0)
39
- rspec-expectations (~> 2.4.0)
40
- rspec-mocks (~> 2.4.0)
41
- rspec-core (2.4.0)
42
- rspec-expectations (2.4.0)
37
+ rspec (2.5.0)
38
+ rspec-core (~> 2.5.0)
39
+ rspec-expectations (~> 2.5.0)
40
+ rspec-mocks (~> 2.5.0)
41
+ rspec-core (2.5.1)
42
+ rspec-expectations (2.5.0)
43
43
  diff-lcs (~> 1.1.2)
44
- rspec-mocks (2.4.0)
44
+ rspec-mocks (2.5.0)
45
45
  term-ansicolor (1.0.5)
46
46
 
47
47
  PLATFORMS
@@ -52,9 +52,5 @@ DEPENDENCIES
52
52
  bundler (~> 1.0)
53
53
  cucumber (~> 0.10.0)
54
54
  fakeweb (~> 1.3.0)
55
- faraday (~> 0.5.4)
56
- faraday_middleware (~> 0.3.0)
57
- hashie (~> 0.4.0)
58
- multi_json (~> 0.0.5)
59
55
  rake (~> 0.8)
60
- rspec (~> 2.4)
56
+ rspec (~> 2.5)
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
 
12
12
  s.add_development_dependency 'bundler', '~> 1.0'
13
13
  s.add_development_dependency 'rake', '~> 0.8'
14
- s.add_development_dependency 'rspec', '~> 2.4'
14
+ s.add_development_dependency 'rspec', '~> 2.5'
15
15
  s.add_development_dependency 'cucumber', '~> 0.10.0'
16
16
  s.add_development_dependency 'fakeweb', '~> 1.3.0'
17
17
 
@@ -6,12 +6,10 @@ module AgileZen
6
6
  include Stories
7
7
 
8
8
  attr_accessor :api_key
9
- attr_accessor :ssl
10
9
 
11
10
  # Initializer for client.
12
11
  def initialize(options ={})
13
12
  @api_key = options[:api_key]
14
- @ssl = options[:ssl]
15
13
  end
16
14
 
17
15
  # Whether the client has the require auth to make API requests.
@@ -19,11 +17,6 @@ module AgileZen
19
17
  !@api_key.nil?
20
18
  end
21
19
 
22
- # Whether to use SSL or not.
23
- def has_ssl?
24
- @ssl
25
- end
26
-
27
20
  # Set the Faraday::Connection
28
21
  def connection=(conn)
29
22
  @connection = conn
@@ -41,7 +34,7 @@ module AgileZen
41
34
 
42
35
  # Helper method for determining the correct URL.
43
36
  def connection_url
44
- has_ssl? ? 'https://agilezen.com' : 'http://agilezen.com'
37
+ 'https://agilezen.com'
45
38
  end
46
39
 
47
40
  # Helper method for defining globally required headers.
@@ -15,7 +15,7 @@ module AgileZen
15
15
  response_body = nil
16
16
  begin
17
17
  response = connection.get do |req|
18
- req.url "/api/v1/project/#{project_id}", options
18
+ req.url "/api/v1/projects/#{project_id}", options
19
19
  end
20
20
  response_body = response.body
21
21
  rescue MultiJson::DecodeError => e
@@ -7,7 +7,7 @@ module AgileZen
7
7
  response_body = nil
8
8
  begin
9
9
  response = connection.get do |req|
10
- req.url "/api/v1/project/#{project_id}/stories", options
10
+ req.url "/api/v1/projects/#{project_id}/stories", options
11
11
  end
12
12
  response_body = response.body
13
13
  rescue MultiJson::DecodeError => e
@@ -22,7 +22,7 @@ module AgileZen
22
22
  response_body = nil
23
23
  begin
24
24
  response = connection.get do |req|
25
- req.url "/api/v1/project/#{project_id}/story/#{story_id}", options
25
+ req.url "/api/v1/projects/#{project_id}/story/#{story_id}", options
26
26
  end
27
27
  response_body = response.body
28
28
  rescue MultiJson::DecodeError => e
@@ -1,4 +1,4 @@
1
1
  module AgileZen
2
2
  # Version number.
3
- VERSION = '0.1.0'
3
+ VERSION = '0.2.0'
4
4
  end
@@ -7,28 +7,6 @@ describe AgileZen::Client do
7
7
  client = AgileZen::Client.new(:api_key => 'testapikey')
8
8
  client.api_key.should_not be_nil
9
9
  end
10
-
11
- it "ensures the ssl flag is false if not supplied" do
12
- client = AgileZen::Client.new(:api_key => 'testapikey')
13
- client.ssl.should be_false
14
- end
15
-
16
- it "stores the ssl flag if supplied" do
17
- client = AgileZen::Client.new(:api_key => 'testapikey', :ssl => true)
18
- client.ssl.should be_true
19
- end
20
- end
21
-
22
- describe "#has_ssl?" do
23
- it "checks that ssl is supported" do
24
- client = AgileZen::Client.new(:api_key => 'testapikey', :ssl => true)
25
- client.should have_ssl
26
- end
27
-
28
- it "checks that ssl isn't supported" do
29
- client = AgileZen::Client.new(:api_key => 'testapikey')
30
- client.should_not have_ssl
31
- end
32
10
  end
33
11
 
34
12
  describe "#has_required_authentication?" do
@@ -58,13 +36,8 @@ describe AgileZen::Client do
58
36
  end
59
37
 
60
38
  describe "#connection_url" do
61
- it "doesn't use ssl" do
62
- client = AgileZen::Client.new(:api_key => 'testapikey')
63
- client.connection_url.should eq('http://agilezen.com')
64
- end
65
-
66
39
  it "uses ssl" do
67
- client = AgileZen::Client.new(:api_key => 'testapikey', :ssl => true)
40
+ client = AgileZen::Client.new(:api_key => 'testapikey')
68
41
  client.connection_url.should eq('https://agilezen.com')
69
42
  end
70
43
  end
@@ -1,9 +1,12 @@
1
1
  {
2
- "id": 123,
3
- "name": "Hippie Peace",
4
- "description": "Working towards world peace",
2
+ "id": 1,
3
+ "name": "Sudden Valley",
4
+ "description": "I can see myself marinating a chicken in that.",
5
+ "createTime": "2011-02-17T18:47:16",
5
6
  "owner": {
6
7
  "id": 1,
7
- "name": "John Doe"
8
+ "name": "Gob Bluth",
9
+ "userName": "gob",
10
+ "email": "Gob@bluth.com"
8
11
  }
9
12
  }
@@ -3,10 +3,12 @@
3
3
  "name": "Difference",
4
4
  "description": "This is the project that makes a difference.",
5
5
  "details": "Scope\n====\nThe scope of the project will include: 1, 2, 3, and 4. Yep, that is about it for now.",
6
- "createTime": "/Date(1289217113000-0600)/",
6
+ "createTime": "2010-11-08T05:51:53",
7
7
  "owner": {
8
8
  "id": 19059,
9
- "name": "Adam"
9
+ "name": "Adam",
10
+ "userName": "raid5",
11
+ "email": "amcdonald_3@yahoo.com"
10
12
  },
11
13
  "members": [
12
14
  {
@@ -21,16 +23,20 @@
21
23
  {
22
24
  "id": 32829,
23
25
  "name": "Administrators",
26
+ "access": "read",
24
27
  "members": [
25
28
  {
26
29
  "id": 19059,
27
- "name": "Adam"
30
+ "name": "Adam",
31
+ "userName": "raid5",
32
+ "email": "amcdonald_3@yahoo.com"
28
33
  }
29
34
  ]
30
35
  },
31
36
  {
32
37
  "id": 32830,
33
38
  "name": "Members",
39
+ "access": "read",
34
40
  "members": [
35
41
 
36
42
  ]
@@ -83,4 +89,4 @@
83
89
  "blockedTime": 0.0,
84
90
  "efficiency": 0.0
85
91
  }
86
- }
92
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "page": 1,
3
- "pageSize": 10,
3
+ "pageSize": 100,
4
4
  "totalPages": 1,
5
5
  "totalItems": 1,
6
6
  "items": [
@@ -8,11 +8,13 @@
8
8
  "id": 15404,
9
9
  "name": "Difference",
10
10
  "description": "This is the project that makes a difference.",
11
- "createTime": "/Date(1289217113000-0600)/",
11
+ "createTime": "2010-11-08T05:51:53",
12
12
  "owner": {
13
13
  "id": 19059,
14
- "name": "Adam"
14
+ "name": "Adam",
15
+ "userName": "raid5",
16
+ "email": "amcdonald_3@yahoo.com"
15
17
  }
16
18
  }
17
19
  ]
18
- }
20
+ }
@@ -1,26 +1,32 @@
1
1
  {
2
- "projects": {
3
- "items": {
4
- "project": [
5
- {
6
- "id": 123,
7
- "name": "World Peace",
8
- "description": "Working towards world peace",
9
- "owner": {
10
- "id": 1,
11
- "name": "John Doe"
12
- }
13
- },
14
- {
15
- "id": 124,
16
- "name": "World Domination",
17
- "description": "Secret plan to conquer the world",
18
- "owner": {
19
- "id": 2,
20
- "name": "Jane Doe"
21
- }
22
- }
23
- ]
2
+ "page": 1,
3
+ "pageSize": 100,
4
+ "totalPages": 1,
5
+ "totalItems": 2,
6
+ "items": [
7
+ {
8
+ "id": 1,
9
+ "name": "Sudden Valley",
10
+ "description": "I can see myself marinating a chicken in that.",
11
+ "createTime": "2011-02-17T18:47:16",
12
+ "owner": {
13
+ "id": 1,
14
+ "name": "Gob Bluth",
15
+ "userName": "gob",
16
+ "email": "Gob@bluth.com"
17
+ }
18
+ },
19
+ {
20
+ "id": 2,
21
+ "name": "Chicken Dance",
22
+ "description": "Caw-ca-caw-ca-ca-caw!",
23
+ "createTime": "2011-02-18T14:24:42",
24
+ "owner": {
25
+ "id": 1,
26
+ "name": "Gob Bluth",
27
+ "userName": "gob",
28
+ "email": "Gob@bluth.com"
29
+ }
24
30
  }
25
- }
31
+ ]
26
32
  }
@@ -10,15 +10,15 @@ describe AgileZen::Projects do
10
10
  describe "#projects" do
11
11
  context "success" do
12
12
  it "performs an API request for all projects" do
13
- register_get('http://agilezen.com/api/v1/projects', 'projects.json')
13
+ register_get('https://agilezen.com/api/v1/projects', 'projects.json')
14
14
 
15
15
  response = @client.projects
16
16
 
17
- response.projects.items.project.first.name.should eq('World Peace')
17
+ response.items.first.name.should eq('Sudden Valley')
18
18
  end
19
19
 
20
20
  it "allows filtering" do
21
- register_get('http://agilezen.com/api/v1/projects?where=name%3ADiff', 'projects-with-filtering.json')
21
+ register_get('https://agilezen.com/api/v1/projects?where=name%3ADiff', 'projects-with-filtering.json')
22
22
 
23
23
  response = @client.projects(:where => 'name:Diff')
24
24
 
@@ -30,16 +30,16 @@ describe AgileZen::Projects do
30
30
  describe "#project" do
31
31
  context "success" do
32
32
  it "performs an API request for a single project" do
33
- register_get('http://agilezen.com/api/v1/project/123', 'project.json')
33
+ register_get('https://agilezen.com/api/v1/projects/1', 'project.json')
34
34
 
35
- response = @client.project(123)
35
+ response = @client.project(1)
36
36
 
37
- response.id.should eq(123)
38
- response.name.should eq('Hippie Peace')
37
+ response.id.should eq(1)
38
+ response.name.should eq('Sudden Valley')
39
39
  end
40
40
 
41
41
  it "includes enrichments" do
42
- register_get('http://agilezen.com/api/v1/project/15404?with=details%2Cphases%2Cmembers%2Croles%2Cinvites%2Cmetrics', 'project/15404-with-enrichments.json')
42
+ register_get('https://agilezen.com/api/v1/projects/15404?with=details%2Cphases%2Cmembers%2Croles%2Cinvites%2Cmetrics', 'project/15404-with-enrichments.json')
43
43
 
44
44
  response = @client.project(15404, :with => 'details,phases,members,roles,invites,metrics')
45
45
 
@@ -54,7 +54,7 @@ describe AgileZen::Projects do
54
54
 
55
55
  context "failure" do
56
56
  it "returns nil to indicate failure" do
57
- register_get('http://agilezen.com/api/v1/project/99999', 'garbage.txt')
57
+ register_get('https://agilezen.com/api/v1/projects/99999', 'garbage.txt')
58
58
 
59
59
  response = @client.project(99999)
60
60
 
@@ -10,7 +10,7 @@ describe AgileZen::Stories do
10
10
  describe "#stories" do
11
11
  context "success" do
12
12
  it "performs an API request for all story of a given project" do
13
- register_get('http://agilezen.com/api/v1/project/123/stories', 'stories.json')
13
+ register_get('https://agilezen.com/api/v1/projects/123/stories', 'stories.json')
14
14
 
15
15
  response = @client.project_stories(123)
16
16
 
@@ -18,8 +18,8 @@ describe AgileZen::Stories do
18
18
  end
19
19
 
20
20
  it "pages stories" do
21
- register_get('http://agilezen.com/api/v1/project/15404/stories?page=1&pageSize=3', 'stories-page1.json')
22
- register_get('http://agilezen.com/api/v1/project/15404/stories?page=2&pageSize=3', 'stories-page2.json')
21
+ register_get('https://agilezen.com/api/v1/projects/15404/stories?page=1&pageSize=3', 'stories-page1.json')
22
+ register_get('https://agilezen.com/api/v1/projects/15404/stories?page=2&pageSize=3', 'stories-page2.json')
23
23
 
24
24
  response1 = @client.project_stories(15404, :page => 1, :pageSize => 3)
25
25
  response2 = @client.project_stories(15404, :page => 2, :pageSize => 3)
@@ -30,7 +30,7 @@ describe AgileZen::Stories do
30
30
 
31
31
  context "failure" do
32
32
  it "returns nil to indicate failure" do
33
- register_get('http://agilezen.com/api/v1/project/99999/stories', 'garbage.txt')
33
+ register_get('https://agilezen.com/api/v1/projects/99999/stories', 'garbage.txt')
34
34
 
35
35
  response = @client.project_stories(99999)
36
36
 
@@ -42,7 +42,7 @@ describe AgileZen::Stories do
42
42
  describe "#story" do
43
43
  context "success" do
44
44
  it "performs an API request for a single story of a given project" do
45
- register_get('http://agilezen.com/api/v1/project/123/story/321', 'story.json')
45
+ register_get('https://agilezen.com/api/v1/projects/123/story/321', 'story.json')
46
46
 
47
47
  response = @client.project_story(123, 321)
48
48
 
@@ -51,7 +51,7 @@ describe AgileZen::Stories do
51
51
  end
52
52
 
53
53
  it "includes enrichments" do
54
- register_get('http://agilezen.com/api/v1/project/15404/story/2?with=details%2Ctags%2Cmetrics', 'story/2-with-enrichments.json')
54
+ register_get('https://agilezen.com/api/v1/projects/15404/story/2?with=details%2Ctags%2Cmetrics', 'story/2-with-enrichments.json')
55
55
 
56
56
  response = @client.project_story(15404, 2, :with => 'details,tags,metrics')
57
57
 
@@ -61,7 +61,7 @@ describe AgileZen::Stories do
61
61
  end
62
62
 
63
63
  it "allows filtering" do
64
- register_get('http://agilezen.com/api/v1/project/15404/story/2?where=tag%3Aauthentication&with=tags', 'story/2-with-filtering.json')
64
+ register_get('https://agilezen.com/api/v1/projects/15404/story/2?where=tag%3Aauthentication&with=tags', 'story/2-with-filtering.json')
65
65
 
66
66
  response = @client.project_story(15404, 2, :where => 'tag:authentication', :with => 'tags')
67
67
 
@@ -72,7 +72,7 @@ describe AgileZen::Stories do
72
72
 
73
73
  context "failure" do
74
74
  it "returns nil to indicate failure" do
75
- register_get('http://agilezen.com/api/v1/project/99999/story/11111', 'garbage.txt')
75
+ register_get('https://agilezen.com/api/v1/projects/99999/story/11111', 'garbage.txt')
76
76
 
77
77
  response = @client.project_story(99999, 11111)
78
78
 
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agilezen
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 1
8
- - 0
9
- version: 0.1.0
4
+ prerelease:
5
+ version: 0.2.0
10
6
  platform: ruby
11
7
  authors:
12
8
  - Adam McDonald
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-01-30 00:00:00 -08:00
13
+ date: 2011-03-24 00:00:00 -07:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
@@ -25,9 +21,6 @@ dependencies:
25
21
  requirements:
26
22
  - - ~>
27
23
  - !ruby/object:Gem::Version
28
- segments:
29
- - 1
30
- - 0
31
24
  version: "1.0"
32
25
  type: :development
33
26
  version_requirements: *id001
@@ -39,9 +32,6 @@ dependencies:
39
32
  requirements:
40
33
  - - ~>
41
34
  - !ruby/object:Gem::Version
42
- segments:
43
- - 0
44
- - 8
45
35
  version: "0.8"
46
36
  type: :development
47
37
  version_requirements: *id002
@@ -53,10 +43,7 @@ dependencies:
53
43
  requirements:
54
44
  - - ~>
55
45
  - !ruby/object:Gem::Version
56
- segments:
57
- - 2
58
- - 4
59
- version: "2.4"
46
+ version: "2.5"
60
47
  type: :development
61
48
  version_requirements: *id003
62
49
  - !ruby/object:Gem::Dependency
@@ -67,10 +54,6 @@ dependencies:
67
54
  requirements:
68
55
  - - ~>
69
56
  - !ruby/object:Gem::Version
70
- segments:
71
- - 0
72
- - 10
73
- - 0
74
57
  version: 0.10.0
75
58
  type: :development
76
59
  version_requirements: *id004
@@ -82,10 +65,6 @@ dependencies:
82
65
  requirements:
83
66
  - - ~>
84
67
  - !ruby/object:Gem::Version
85
- segments:
86
- - 1
87
- - 3
88
- - 0
89
68
  version: 1.3.0
90
69
  type: :development
91
70
  version_requirements: *id005
@@ -97,10 +76,6 @@ dependencies:
97
76
  requirements:
98
77
  - - ~>
99
78
  - !ruby/object:Gem::Version
100
- segments:
101
- - 0
102
- - 5
103
- - 4
104
79
  version: 0.5.4
105
80
  type: :runtime
106
81
  version_requirements: *id006
@@ -112,10 +87,6 @@ dependencies:
112
87
  requirements:
113
88
  - - ~>
114
89
  - !ruby/object:Gem::Version
115
- segments:
116
- - 0
117
- - 3
118
- - 0
119
90
  version: 0.3.0
120
91
  type: :runtime
121
92
  version_requirements: *id007
@@ -127,10 +98,6 @@ dependencies:
127
98
  requirements:
128
99
  - - ~>
129
100
  - !ruby/object:Gem::Version
130
- segments:
131
- - 0
132
- - 0
133
- - 5
134
101
  version: 0.0.5
135
102
  type: :runtime
136
103
  version_requirements: *id008
@@ -142,10 +109,6 @@ dependencies:
142
109
  requirements:
143
110
  - - ~>
144
111
  - !ruby/object:Gem::Version
145
- segments:
146
- - 0
147
- - 4
148
- - 0
149
112
  version: 0.4.0
150
113
  type: :runtime
151
114
  version_requirements: *id009
@@ -178,7 +141,6 @@ files:
178
141
  - spec/fixtures/project/15404-with-enrichments.json
179
142
  - spec/fixtures/projects-with-filtering.json
180
143
  - spec/fixtures/projects.json
181
- - spec/fixtures/spots.json
182
144
  - spec/fixtures/stories-page1.json
183
145
  - spec/fixtures/stories-page2.json
184
146
  - spec/fixtures/stories.json
@@ -204,23 +166,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
204
166
  requirements:
205
167
  - - ">="
206
168
  - !ruby/object:Gem::Version
207
- segments:
208
- - 0
209
169
  version: "0"
210
170
  required_rubygems_version: !ruby/object:Gem::Requirement
211
171
  none: false
212
172
  requirements:
213
173
  - - ">="
214
174
  - !ruby/object:Gem::Version
215
- segments:
216
- - 1
217
- - 3
218
- - 6
219
175
  version: 1.3.6
220
176
  requirements: []
221
177
 
222
178
  rubyforge_project: agilezen
223
- rubygems_version: 1.3.7
179
+ rubygems_version: 1.6.1
224
180
  signing_key:
225
181
  specification_version: 3
226
182
  summary: Ruby wrapper for the AgileZen API
@@ -231,7 +187,6 @@ test_files:
231
187
  - spec/fixtures/project/15404-with-enrichments.json
232
188
  - spec/fixtures/projects-with-filtering.json
233
189
  - spec/fixtures/projects.json
234
- - spec/fixtures/spots.json
235
190
  - spec/fixtures/stories-page1.json
236
191
  - spec/fixtures/stories-page2.json
237
192
  - spec/fixtures/stories.json
@@ -1,557 +0,0 @@
1
- {
2
- "spots": [
3
- {
4
- "list_image_url_320": null,
5
- "max_items_count": 10,
6
- "activity_url": "/spots/43711/events",
7
- "trending_level": 0,
8
- "strict_radius": false,
9
- "image_url": "http://static.gowalla.com/categories/28-standard.png",
10
- "visitors_count": 44,
11
- "categories": [
12
- {
13
- "name": "Dive Bar",
14
- "url": "/categories/28"
15
- }
16
- ],
17
- "name": "Gnomb Bar",
18
- "items_url": "/spots/43711/items",
19
- "lat": 30.2697851261,
20
- "checkins_count": 58,
21
- "location": {
22
- "city": "Austin, TX"
23
- },
24
- "items_count": 11,
25
- "lng": -97.7493430889,
26
- "url": "/spots/43711",
27
- "checkins_url": "/visits?spot_id=43711",
28
- "radius_meters": 50
29
- },
30
- {
31
- "list_image_url_320": null,
32
- "max_items_count": 10,
33
- "activity_url": "/spots/18568/events",
34
- "trending_level": 0,
35
- "strict_radius": false,
36
- "image_url": "http://static.gowalla.com/categories/15-standard.png",
37
- "visitors_count": 103,
38
- "categories": [
39
- {
40
- "name": "Mexican",
41
- "url": "/categories/15"
42
- }
43
- ],
44
- "name": "Wahoo's",
45
- "items_url": "/spots/18568/items",
46
- "lat": 30.2695755256,
47
- "checkins_count": 277,
48
- "location": {
49
- "city": null
50
- },
51
- "items_count": 12,
52
- "lng": -97.7495133877,
53
- "url": "/spots/18568",
54
- "checkins_url": "/visits?spot_id=18568",
55
- "radius_meters": 50
56
- },
57
- {
58
- "list_image_url_320": null,
59
- "max_items_count": 10,
60
- "activity_url": "/spots/23534/events",
61
- "trending_level": 0,
62
- "strict_radius": false,
63
- "image_url": "http://static.gowalla.com/categories/101-standard.png",
64
- "visitors_count": 87,
65
- "categories": [
66
- {
67
- "name": "Sandwich Shop",
68
- "url": "/categories/101"
69
- }
70
- ],
71
- "name": "Katz's Deli",
72
- "items_url": "/spots/23534/items",
73
- "lat": 30.2698905167,
74
- "checkins_count": 127,
75
- "location": {
76
- "city": "Austin, TX"
77
- },
78
- "items_count": 10,
79
- "lng": -97.7493256,
80
- "url": "/spots/23534",
81
- "checkins_url": "/visits?spot_id=23534",
82
- "radius_meters": 50
83
- },
84
- {
85
- "list_image_url_320": null,
86
- "max_items_count": 10,
87
- "activity_url": "/spots/161959/events",
88
- "trending_level": 0,
89
- "strict_radius": false,
90
- "image_url": "http://static.gowalla.com/categories/100-standard.png",
91
- "visitors_count": 25,
92
- "categories": [
93
- {
94
- "name": "Steakhouse",
95
- "url": "/categories/100"
96
- }
97
- ],
98
- "name": "Hoffbrau Steaks",
99
- "items_url": "/spots/161959/items",
100
- "lat": 30.2697276667,
101
- "checkins_count": 26,
102
- "location": {
103
- "city": "Austin, TX"
104
- },
105
- "items_count": 4,
106
- "lng": -97.7490836833,
107
- "url": "/spots/161959",
108
- "checkins_url": "/visits?spot_id=161959",
109
- "radius_meters": 50
110
- },
111
- {
112
- "list_image_url_320": null,
113
- "max_items_count": 10,
114
- "activity_url": "/spots/188353/events",
115
- "trending_level": 0,
116
- "strict_radius": false,
117
- "image_url": "http://static.gowalla.com/categories/28-standard.png",
118
- "visitors_count": 42,
119
- "categories": [
120
- {
121
- "name": "Dive Bar",
122
- "url": "/categories/28"
123
- }
124
- ],
125
- "name": "DBs",
126
- "items_url": "/spots/188353/items",
127
- "lat": 30.2694087356,
128
- "checkins_count": 60,
129
- "location": {
130
- "city": "Austin, TX"
131
- },
132
- "items_count": 8,
133
- "lng": -97.7495884895,
134
- "url": "/spots/188353",
135
- "checkins_url": "/visits?spot_id=188353",
136
- "radius_meters": 50
137
- },
138
- {
139
- "list_image_url_320": null,
140
- "max_items_count": 10,
141
- "activity_url": "/spots/197305/events",
142
- "trending_level": 0,
143
- "strict_radius": false,
144
- "image_url": "http://static.gowalla.com/categories/26-standard.png",
145
- "visitors_count": 38,
146
- "categories": [
147
- {
148
- "name": "Ultra-lounge",
149
- "url": "/categories/26"
150
- }
151
- ],
152
- "name": "Key Bar",
153
- "items_url": "/spots/197305/items",
154
- "lat": 30.2699702,
155
- "checkins_count": 45,
156
- "location": {
157
- "city": "Austin, TX"
158
- },
159
- "items_count": 8,
160
- "lng": -97.74914045,
161
- "url": "/spots/197305",
162
- "checkins_url": "/visits?spot_id=197305",
163
- "radius_meters": 50
164
- },
165
- {
166
- "list_image_url_320": null,
167
- "max_items_count": 10,
168
- "activity_url": "/spots/331619/events",
169
- "trending_level": 0,
170
- "strict_radius": false,
171
- "image_url": "http://static.gowalla.com/categories/155-standard.png",
172
- "visitors_count": 9,
173
- "categories": [
174
- {
175
- "name": "Pizza",
176
- "url": "/categories/155"
177
- }
178
- ],
179
- "name": "Gattis Pizza",
180
- "items_url": "/spots/331619/items",
181
- "lat": 30.2699120667,
182
- "checkins_count": 11,
183
- "location": {
184
- "city": "Austin, TX"
185
- },
186
- "items_count": 1,
187
- "lng": -97.7497345833,
188
- "url": "/spots/331619",
189
- "checkins_url": "/visits?spot_id=331619",
190
- "radius_meters": 50
191
- },
192
- {
193
- "list_image_url_320": null,
194
- "max_items_count": 10,
195
- "activity_url": "/spots/19267/events",
196
- "trending_level": 0,
197
- "strict_radius": false,
198
- "image_url": "http://static.gowalla.com/categories/110-standard.png",
199
- "visitors_count": 76,
200
- "categories": [
201
- {
202
- "name": "Bakery",
203
- "url": "/categories/110"
204
- }
205
- ],
206
- "name": "Walton's Fancy & Staple",
207
- "items_url": "/spots/19267/items",
208
- "lat": 30.2696496544,
209
- "checkins_count": 154,
210
- "location": {
211
- "city": "Austin, TX"
212
- },
213
- "items_count": 10,
214
- "lng": -97.7489876747,
215
- "url": "/spots/19267",
216
- "checkins_url": "/visits?spot_id=19267",
217
- "radius_meters": 50
218
- },
219
- {
220
- "list_image_url_320": null,
221
- "max_items_count": 10,
222
- "activity_url": "/spots/42124/events",
223
- "trending_level": 0,
224
- "strict_radius": false,
225
- "image_url": "http://static.gowalla.com/categories/26-standard.png",
226
- "visitors_count": 59,
227
- "categories": [
228
- {
229
- "name": "Ultra-lounge",
230
- "url": "/categories/26"
231
- }
232
- ],
233
- "name": "Union Park",
234
- "items_url": "/spots/42124/items",
235
- "lat": 30.2698105017,
236
- "checkins_count": 87,
237
- "location": {
238
- "city": "Austin, TX"
239
- },
240
- "items_count": 10,
241
- "lng": -97.7489702462,
242
- "url": "/spots/42124",
243
- "checkins_url": "/visits?spot_id=42124",
244
- "radius_meters": 50
245
- },
246
- {
247
- "list_image_url_320": null,
248
- "max_items_count": 10,
249
- "activity_url": "/spots/293641/events",
250
- "trending_level": 0,
251
- "strict_radius": false,
252
- "image_url": "http://static.gowalla.com/categories/97-standard.png",
253
- "visitors_count": 47,
254
- "categories": [
255
- {
256
- "name": "Saloon",
257
- "url": "/categories/97"
258
- }
259
- ],
260
- "name": "Kung Fu Saloon",
261
- "items_url": "/spots/293641/items",
262
- "lat": 30.2694643323,
263
- "checkins_count": 66,
264
- "location": {
265
- "city": "Austin, TX"
266
- },
267
- "items_count": 10,
268
- "lng": -97.7499103546,
269
- "url": "/spots/293641",
270
- "checkins_url": "/visits?spot_id=293641",
271
- "radius_meters": 50
272
- },
273
- {
274
- "list_image_url_320": null,
275
- "max_items_count": 10,
276
- "activity_url": "/spots/99231/events",
277
- "trending_level": 0,
278
- "strict_radius": false,
279
- "image_url": "http://static.gowalla.com/categories/24-standard.png",
280
- "visitors_count": 57,
281
- "categories": [
282
- {
283
- "name": "Pub",
284
- "url": "/categories/24"
285
- }
286
- ],
287
- "name": "Mother Egan's",
288
- "items_url": "/spots/99231/items",
289
- "lat": 30.2699606,
290
- "checkins_count": 69,
291
- "location": {
292
- "city": "Austin, TX"
293
- },
294
- "items_count": 10,
295
- "lng": -97.7498949,
296
- "url": "/spots/99231",
297
- "checkins_url": "/visits?spot_id=99231",
298
- "radius_meters": 50
299
- },
300
- {
301
- "list_image_url_320": null,
302
- "max_items_count": 10,
303
- "activity_url": "/spots/15478/events",
304
- "trending_level": 0,
305
- "strict_radius": false,
306
- "image_url": "http://static.gowalla.com/categories/24-standard.png",
307
- "visitors_count": 99,
308
- "categories": [
309
- {
310
- "name": "Pub",
311
- "url": "/categories/24"
312
- }
313
- ],
314
- "name": "Opal Divine's",
315
- "items_url": "/spots/15478/items",
316
- "lat": 30.2701946667,
317
- "checkins_count": 180,
318
- "location": {
319
- "city": "Austin, TX"
320
- },
321
- "items_count": 10,
322
- "lng": -97.7495684833,
323
- "url": "/spots/15478",
324
- "checkins_url": "/visits?spot_id=15478",
325
- "radius_meters": 50
326
- },
327
- {
328
- "list_image_url_320": null,
329
- "max_items_count": 10,
330
- "activity_url": "/spots/232536/events",
331
- "trending_level": 0,
332
- "strict_radius": false,
333
- "image_url": "http://static.gowalla.com/categories/32-standard.png",
334
- "visitors_count": 12,
335
- "categories": [
336
- {
337
- "name": "Live Music",
338
- "url": "/categories/32"
339
- }
340
- ],
341
- "name": "Momo's",
342
- "items_url": "/spots/232536/items",
343
- "lat": 30.2701965,
344
- "checkins_count": 13,
345
- "location": {
346
- "city": "Austin, TX"
347
- },
348
- "items_count": 1,
349
- "lng": -97.7490722667,
350
- "url": "/spots/232536",
351
- "checkins_url": "/visits?spot_id=232536",
352
- "radius_meters": 50
353
- },
354
- {
355
- "list_image_url_320": null,
356
- "max_items_count": 10,
357
- "activity_url": "/spots/420315/events",
358
- "trending_level": 0,
359
- "strict_radius": false,
360
- "image_url": "http://static.gowalla.com/spots/420315-790176c52df5c1b8c00a97fa57b81991.png",
361
- "visitors_count": 44,
362
- "categories": [
363
- {
364
- "name": "Corporate - Office",
365
- "url": "/categories/121"
366
- }
367
- ],
368
- "name": "Gowalla Incorporated",
369
- "items_url": "/spots/420315/items",
370
- "lat": 30.2691029532,
371
- "checkins_count": 254,
372
- "location": {
373
- "city": "Austin, TX"
374
- },
375
- "items_count": 10,
376
- "lng": -97.7493953705,
377
- "url": "/spots/420315",
378
- "checkins_url": "/visits?spot_id=420315",
379
- "radius_meters": 100
380
- },
381
- {
382
- "list_image_url_320": null,
383
- "max_items_count": 10,
384
- "activity_url": "/spots/511509/events",
385
- "trending_level": 0,
386
- "strict_radius": false,
387
- "image_url": "http://static.gowalla.com/categories/121-standard.png",
388
- "visitors_count": 0,
389
- "categories": [
390
- {
391
- "name": "Corporate - Office",
392
- "url": "/categories/121"
393
- }
394
- ],
395
- "name": "fake",
396
- "items_url": "/spots/511509/items",
397
- "lat": 30.2691029532,
398
- "checkins_count": 0,
399
- "location": {
400
- "city": "Austin, TX"
401
- },
402
- "items_count": 0,
403
- "lng": -97.7493953705,
404
- "url": "/spots/511509",
405
- "checkins_url": "/visits?spot_id=511509",
406
- "radius_meters": 50
407
- },
408
- {
409
- "list_image_url_320": null,
410
- "max_items_count": 10,
411
- "activity_url": "/spots/51856/events",
412
- "trending_level": 0,
413
- "strict_radius": false,
414
- "image_url": "http://static.gowalla.com/categories/56-standard.png",
415
- "visitors_count": 81,
416
- "categories": [
417
- {
418
- "name": "Other - Nightlife ",
419
- "url": "/categories/56"
420
- }
421
- ],
422
- "name": "J Blacks Feel Good Lounge",
423
- "items_url": "/spots/51856/items",
424
- "lat": 30.2700961105,
425
- "checkins_count": 99,
426
- "location": {
427
- "city": "Austin, TX"
428
- },
429
- "items_count": 10,
430
- "lng": -97.750031834,
431
- "url": "/spots/51856",
432
- "checkins_url": "/visits?spot_id=51856",
433
- "radius_meters": 50
434
- },
435
- {
436
- "list_image_url_320": null,
437
- "max_items_count": 10,
438
- "activity_url": "/spots/26791/events",
439
- "trending_level": 0,
440
- "strict_radius": false,
441
- "image_url": "http://static.gowalla.com/categories/26-standard.png",
442
- "visitors_count": 52,
443
- "categories": [
444
- {
445
- "name": "Ultra-lounge",
446
- "url": "/categories/26"
447
- }
448
- ],
449
- "name": "Annie's West",
450
- "items_url": "/spots/26791/items",
451
- "lat": 30.2702139,
452
- "checkins_count": 69,
453
- "location": {
454
- "city": "Austin, TX"
455
- },
456
- "items_count": 5,
457
- "lng": -97.7499479167,
458
- "url": "/spots/26791",
459
- "checkins_url": "/visits?spot_id=26791",
460
- "radius_meters": 50
461
- },
462
- {
463
- "list_image_url_320": null,
464
- "max_items_count": 10,
465
- "activity_url": "/spots/24166/events",
466
- "trending_level": 0,
467
- "strict_radius": false,
468
- "image_url": "http://static.gowalla.com/categories/18-standard.png",
469
- "visitors_count": 61,
470
- "categories": [
471
- {
472
- "name": "Asian",
473
- "url": "/categories/18"
474
- }
475
- ],
476
- "name": "Thai Tera",
477
- "items_url": "/spots/24166/items",
478
- "lat": 30.2696240333,
479
- "checkins_count": 92,
480
- "location": {
481
- "city": "Austin, TX"
482
- },
483
- "items_count": 9,
484
- "lng": -97.7485771,
485
- "url": "/spots/24166",
486
- "checkins_url": "/visits?spot_id=24166",
487
- "radius_meters": 50
488
- },
489
- {
490
- "list_image_url_320": null,
491
- "max_items_count": 10,
492
- "activity_url": "/spots/127465/events",
493
- "trending_level": 0,
494
- "strict_radius": false,
495
- "image_url": "http://static.gowalla.com/categories/26-standard.png",
496
- "visitors_count": 39,
497
- "categories": [
498
- {
499
- "name": "Ultra-lounge",
500
- "url": "/categories/26"
501
- }
502
- ],
503
- "name": "Star Bar",
504
- "items_url": "/spots/127465/items",
505
- "lat": 30.2698255833,
506
- "checkins_count": 46,
507
- "location": {
508
- "city": "Austin, TX"
509
- },
510
- "items_count": 9,
511
- "lng": -97.7485237333,
512
- "url": "/spots/127465",
513
- "checkins_url": "/visits?spot_id=127465",
514
- "radius_meters": 50
515
- },
516
- {
517
- "list_image_url_320": null,
518
- "max_items_count": 10,
519
- "activity_url": "/spots/513414/events",
520
- "trending_level": 0,
521
- "strict_radius": false,
522
- "image_url": "http://static.gowalla.com/categories/64-standard.png",
523
- "visitors_count": 3,
524
- "categories": [
525
- {
526
- "name": "Other - Food ",
527
- "url": "/categories/64"
528
- }
529
- ],
530
- "name": "Ranch 616",
531
- "items_url": "/spots/513414/items",
532
- "lat": 30.2701450133,
533
- "checkins_count": 3,
534
- "location": {
535
- "city": "Austin, TX"
536
- },
537
- "items_count": 1,
538
- "lng": -97.7486247832,
539
- "url": "/spots/513414",
540
- "checkins_url": "/visits?spot_id=513414",
541
- "radius_meters": 50
542
- }
543
- ],
544
- "groups": [
545
- {
546
- "list_image_url_320": "http://static.gowalla.com/sxsw_list_image.png",
547
- "image_url": "http://www.gowalla.com/images/nearby_36.png",
548
- "name": "SXSW Official Events",
549
- "url": "/spots?area=sxsw"
550
- },
551
- {
552
- "image_url": "http://www.gowalla.com/images/featured_36.png",
553
- "name": "Featured Spots",
554
- "url": "/spots?featured=1"
555
- }
556
- ]
557
- }