thrillcall-api 0.0.6 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/thrillcall-api.rb +50 -4
- data/lib/thrillcall-api/result.rb +6 -2
- data/lib/thrillcall-api/version.rb +1 -1
- metadata +25 -24
- data/.autotest +0 -10
- data/.gitignore +0 -10
- data/.rspec +0 -4
- data/.rvmrc +0 -2
- data/Gemfile +0 -4
- data/Gemfile.lock +0 -64
- data/README.md +0 -1389
- data/Rakefile +0 -12
- data/autotest/discover.rb +0 -1
- data/docs/API.html +0 -1526
- data/docs/API.md +0 -1272
- data/docs/README.html +0 -1646
- data/docs/WRAPPER.html +0 -182
- data/docs/WRAPPER.md +0 -115
- data/script/convert_readme.rb +0 -119
- data/spec/spec_helper.rb +0 -11
- data/spec/thrillcall-api/thrillcall-api_spec.rb +0 -688
- data/thrillcall-api.gemspec +0 -36
data/docs/API.md
DELETED
@@ -1,1272 +0,0 @@
|
|
1
|
-
# HTTPS Endpoints
|
2
|
-
|
3
|
-
### SSL/TLS Endpoints Required:
|
4
|
-
All API access must use the secure HTTPS endpoint : https://api.thrillcall.com:443
|
5
|
-
Access over an insecure HTTP (port 80) endpoint is now deprecated and will be disabled.
|
6
|
-
|
7
|
-
### Parameters
|
8
|
-
These are valid parameters for any endpoint, however, they will only be used by the server where applicable.
|
9
|
-
|
10
|
-
**api\_key** MUST BE SUPPLIED for every endpoint.
|
11
|
-
|
12
|
-
- <a name="api_key" />**api\_key** _string: (format: length == 16)_
|
13
|
-
|
14
|
-
Your API key. Required for access to any endpoint.
|
15
|
-
|
16
|
-
- <a name="limit" />**limit** _integer_
|
17
|
-
|
18
|
-
_Default: 100_
|
19
|
-
|
20
|
-
Sets the maximum number of results to return. Cannot be above 200.
|
21
|
-
|
22
|
-
- <a name="page" />**page** _integer_
|
23
|
-
|
24
|
-
_Default: 0_
|
25
|
-
|
26
|
-
Used in conjunction with **[limit](#limit)**.
|
27
|
-
|
28
|
-
Specifies the page number. If limit is 10, then page = 2 will return results #20 through #29
|
29
|
-
|
30
|
-
- <a name="time_zone" />**time\_zone** _string (format: TZ Database string, eg "America/Los\_Angeles")_
|
31
|
-
|
32
|
-
_Default: UTC_
|
33
|
-
_For Metro Area endpoints, the default is instead the Metro Area's time zone and cannot be overridden._
|
34
|
-
|
35
|
-
**[min\_date](#min_date)** and **[max\_date](#max_date)** will be calculated based on this time zone.
|
36
|
-
|
37
|
-
- <a name="min_date" />**min\_date** _string (format: "YYYY-MM-DD")_
|
38
|
-
|
39
|
-
_Default: Today_
|
40
|
-
|
41
|
-
Results before this date will not be returned.
|
42
|
-
|
43
|
-
- <a name="max_date" />**max\_date** _string (format: "YYYY-MM-DD")_
|
44
|
-
|
45
|
-
_Default: 1 year from Today_
|
46
|
-
|
47
|
-
Results after this date will not be returned.
|
48
|
-
|
49
|
-
- <a name="min_updated_at" />**min\_updated\_at** _string (format: "YYYY-MM-DD")_
|
50
|
-
|
51
|
-
_Default: none_
|
52
|
-
|
53
|
-
Results with updated_at columns before this date will not be returned.
|
54
|
-
|
55
|
-
- <a name="max_date" />**max\_updated\_at** _string (format: "YYYY-MM-DD")_
|
56
|
-
|
57
|
-
_Default: none_
|
58
|
-
|
59
|
-
Results with updated_at columns after this date will not be returned.
|
60
|
-
|
61
|
-
- <a name="lat" />**lat** _float_
|
62
|
-
|
63
|
-
_Default: none_
|
64
|
-
|
65
|
-
If latitude (**[lat](#lat)**) and longitude (**[long](#long)**) if both are specified, results will be within **[radius](#radius)** of this location.
|
66
|
-
|
67
|
-
For Person queries, this specifies the latitude of the person's location.
|
68
|
-
|
69
|
-
- <a name="long" />**long** _float_
|
70
|
-
|
71
|
-
_Default: none_
|
72
|
-
|
73
|
-
If latitude (**[lat](#lat)**) and longitude (**[long](#long)**) if both are specified, results will be within **[radius](#radius)** of this location.
|
74
|
-
|
75
|
-
For Person queries, this specifies the longitude of the person's location.
|
76
|
-
|
77
|
-
- <a name="postalcode" />**postalcode** _string (format: length >= 5)_
|
78
|
-
|
79
|
-
_Default: none_
|
80
|
-
|
81
|
-
Results will be within the **[radius](#radius)** of this postal code.
|
82
|
-
If latitude (**[lat](#lat)**) and longitude (**[long](#long)**) if both are specified, this will be ignored.
|
83
|
-
|
84
|
-
- <a name="radius" />**radius** _float_
|
85
|
-
|
86
|
-
_Default: 100.0_
|
87
|
-
|
88
|
-
Used in conjunction with **[postalcode](#postalcode)**
|
89
|
-
|
90
|
-
- <a name="use_partner_id" />**use\_partner\_id** _boolean_
|
91
|
-
|
92
|
-
_Default: false_
|
93
|
-
|
94
|
-
If set to _true_ or _1_, instead of using Thrillcall internal IDs, treat any IDs in a request as belonging to your partner definition.
|
95
|
-
|
96
|
-
Contact us to set up a list of definitions.
|
97
|
-
|
98
|
-
- <a name="ticket_type" />**ticket\_type** _string (format: "primary" or "resale")_
|
99
|
-
|
100
|
-
_Default: both_
|
101
|
-
|
102
|
-
If specified, will only return tickets from Primary or Resale merchants.
|
103
|
-
|
104
|
-
- <a name="must_have_tickets" />**must\_have\_tickets** _boolean_
|
105
|
-
|
106
|
-
_Default: false_
|
107
|
-
|
108
|
-
If set to _true_ or _1_, will only return results that have tickets associated with them.
|
109
|
-
|
110
|
-
- <a name="show_disabled_events" />**show\_disabled\_events** _boolean_
|
111
|
-
|
112
|
-
_Default: false_
|
113
|
-
|
114
|
-
If set to _true_ or _1_, will not filter out events which have been disabled internally.
|
115
|
-
|
116
|
-
- <a name="show_unconfirmed_events" />**show\_unconfirmed\_events** _boolean_
|
117
|
-
|
118
|
-
_Default: false_
|
119
|
-
|
120
|
-
If set to _true_ or _1_, will not filter out events with unconfirmed locations.
|
121
|
-
|
122
|
-
- <a name="show_rumor_events" />**show\_rumor\_events** _boolean_
|
123
|
-
|
124
|
-
_Default: false_
|
125
|
-
|
126
|
-
If set to _true_ or _1_, will not filter out events marked as rumored.
|
127
|
-
|
128
|
-
- <a name="primary_genre_id" />**primary\_genre\_id** _integer_
|
129
|
-
|
130
|
-
_Default: none_
|
131
|
-
|
132
|
-
If set, will filter Artist results to only those with the specified **[primary\_genre\_id](#primary_genre_id)**
|
133
|
-
|
134
|
-
- <a name="email" />**email** _string_
|
135
|
-
|
136
|
-
The email address associated with a user, required for registration.
|
137
|
-
|
138
|
-
- <a name="password" />**password** _string (format: 40 >= length >= 5)_
|
139
|
-
|
140
|
-
The user's password. Must be supplied along with **[email](#email)** unless using **[provider](#provider)** / **[uid](#uid)** / **[token](#token)** auth.
|
141
|
-
|
142
|
-
- <a name="provider" />**provider** _string_
|
143
|
-
|
144
|
-
The name of the authentication provider (e.g. "facebook"). Must be supplied along with **[uid](#uid)** and **[token](#token)** unless using **[email](#email)**/**[password](#password)** auth.
|
145
|
-
|
146
|
-
- <a name="uid" />**uid** _string_
|
147
|
-
|
148
|
-
The user's ID with **[provider](#provider)**. Must be supplied along with **[provider](#provider)** and **[token](#token)** unless using **[email](#email)**/**[password](#password)** auth.
|
149
|
-
|
150
|
-
- <a name="token" />**token** _string_
|
151
|
-
|
152
|
-
The user's authentication token with **[provider](#provider)**. Must be supplied along with **[provider](#provider)** and **[uid](#uid)** unless using **[email](#email)**/**[password](#password)** auth.
|
153
|
-
|
154
|
-
- <a name="first_name" />**first\_name** _string (format: 50 >= length >= 2)_
|
155
|
-
|
156
|
-
Required to register a user.
|
157
|
-
|
158
|
-
- <a name="last_name" />**last\_name** _string (format: 50 >= length >= 2)_
|
159
|
-
|
160
|
-
Optional for registering a user.
|
161
|
-
|
162
|
-
- <a name="gender" />**gender** _string (format: length == 1)_
|
163
|
-
|
164
|
-
Optional for registering a user.
|
165
|
-
|
166
|
-
- <a name="location_name" />**location\_name** _string (format: "City, ST or City, State", length > 0))_
|
167
|
-
|
168
|
-
The name of the user's location when auto-registering. Either this or **[lat](#lat)** / **[long](#long)** must be provided.
|
169
|
-
|
170
|
-
- <a name="referral_code" />**referral\_code** _string_
|
171
|
-
|
172
|
-
The referral code to be used during registration. Both the owner of the code as well as the new user will receive a referral credit point.
|
173
|
-
|
174
|
-
|
175
|
-
## Artists
|
176
|
-
Fields:
|
177
|
-
|
178
|
-
- **created\_at** _string_ ISO 8601 representation the time this object was created
|
179
|
-
- **genre\_tags** _string_ Semicolon separated list of Genre names
|
180
|
-
- **id** _integer_ Thrillcall ID
|
181
|
-
- **name** _string_ Artist / Band Name
|
182
|
-
- **primary\_genre\_id** _integer_ The Thrillcall ID for this artist's primary Genre
|
183
|
-
- **upcoming\_events\_count** _integer_ Number of upcoming events associated with this object
|
184
|
-
- **updated\_at** _string_ ISO 8601 representation of last time this object was updated
|
185
|
-
- **photos** _hash_ A hash of image urls of the primary photo available for this object in different styles
|
186
|
-
- **url** _string_ URL for this object on Thrillcall
|
187
|
-
|
188
|
-
|
189
|
-
### GET /artists
|
190
|
-
Params:
|
191
|
-
|
192
|
-
- **[limit](#limit)**
|
193
|
-
- **[page](#page)**
|
194
|
-
- **[primary\_genre\_id](#primary_genre_id)**
|
195
|
-
|
196
|
-
Returns: _Array_ of Artists _Hash_
|
197
|
-
|
198
|
-
``` js
|
199
|
-
// Example: GET /api/v3/artists?limit=14&api_key=1234567890abcdef
|
200
|
-
|
201
|
-
[
|
202
|
-
{
|
203
|
-
"created_at": "2008-04-29T10:19:45Z",
|
204
|
-
"genre_tags": "O",
|
205
|
-
"id": 1,
|
206
|
-
"name": "Hyler Jones Proteges",
|
207
|
-
"primary_genre_id": 61,
|
208
|
-
"upcoming_events_count": 0,
|
209
|
-
"updated_at": "2010-03-26T16:49:20Z",
|
210
|
-
"photos": {
|
211
|
-
"thumbnail": "http://i.development.tc-core.com/artist/_default/default-thumbnail.jpg",
|
212
|
-
"medium": "http://i.development.tc-core.com/artist/_default/default-medium.jpg",
|
213
|
-
"large": "http://i.development.tc-core.com/artist/_default/default-large.jpg",
|
214
|
-
"mobile": "http://i.development.tc-core.com/artist/_default/default-mobile.jpg"
|
215
|
-
},
|
216
|
-
"url": "http://thrillcall.com/artist/Hyler_Jones_Proteges"
|
217
|
-
},
|
218
|
-
{
|
219
|
-
...
|
220
|
-
},
|
221
|
-
...
|
222
|
-
]
|
223
|
-
```
|
224
|
-
|
225
|
-
### GET /artist/:id
|
226
|
-
**:id** _integer_ Thrillcall or Partner ID
|
227
|
-
|
228
|
-
Params:
|
229
|
-
|
230
|
-
- **[use\_partner\_id](#use_partner_id)**
|
231
|
-
|
232
|
-
Returns: Artist _Hash_
|
233
|
-
|
234
|
-
``` js
|
235
|
-
// Example: GET /api/v3/artist/378465?api_key=1234567890abcdef
|
236
|
-
|
237
|
-
{
|
238
|
-
"created_at": "2011-05-19T20:27:47Z",
|
239
|
-
"genre_tags": "Operatic pop",
|
240
|
-
"id": 378465,
|
241
|
-
"name": "Il Volo",
|
242
|
-
"primary_genre_id": 61,
|
243
|
-
"upcoming_events_count": 30,
|
244
|
-
"updated_at": "2012-03-27T15:59:04Z",
|
245
|
-
"photos": {
|
246
|
-
"thumbnail": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-thumbnail.jpg?1324561426",
|
247
|
-
"medium": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-medium.jpg?1324561426",
|
248
|
-
"large": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-large.jpg?1324561426",
|
249
|
-
"mobile": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-mobile.jpg?1324561426"
|
250
|
-
},
|
251
|
-
"url": "http://thrillcall.com/artist/Il_Volo"
|
252
|
-
}
|
253
|
-
```
|
254
|
-
|
255
|
-
### GET /artist/:id/events
|
256
|
-
**:id** _integer_ Thrillcall or Partner ID
|
257
|
-
|
258
|
-
Params:
|
259
|
-
|
260
|
-
- **[limit](#limit)**
|
261
|
-
- **[page](#page)**
|
262
|
-
- **[time\_zone](#time_zone)**
|
263
|
-
- **[min\_date](#min_date)**
|
264
|
-
- **[max\_date](#max_date)**
|
265
|
-
- **[min\_updated\_at](#min_updated_at)**
|
266
|
-
- **[max\_updated\_at](#max_updated_at)**
|
267
|
-
- **[lat](#lat)**
|
268
|
-
- **[long](#long)**
|
269
|
-
- **[postalcode](#postalcode)**
|
270
|
-
- **[radius](#radius)**
|
271
|
-
- **[use\_partner\_id](#use_partner_id)**
|
272
|
-
- **[ticket\_type](#ticket_type)**
|
273
|
-
- **[must\_have\_tickets](#must_have_tickets)**
|
274
|
-
- **[show\_disabled\_events](#show_disabled_events)**
|
275
|
-
- **[show\_unconfirmed\_events](#show_unconfirmed_events)**
|
276
|
-
- **[show\_rumor\_events](#show_rumor_events)**
|
277
|
-
|
278
|
-
Returns: _Array_ of Events _Hash_
|
279
|
-
|
280
|
-
``` js
|
281
|
-
// Example: GET /api/v3/artist/378465/events?api_key=1234567890abcdef
|
282
|
-
|
283
|
-
[
|
284
|
-
{
|
285
|
-
"created_at": "2012-03-02T08:01:03Z",
|
286
|
-
"festival": false,
|
287
|
-
"id": 1046915,
|
288
|
-
"latitude": 47.6136,
|
289
|
-
"longitude": -122.332,
|
290
|
-
"name": "Il Volo @ Paramount Theatre - Seattle",
|
291
|
-
"on_sale_date": null,
|
292
|
-
"rumor": false,
|
293
|
-
"start_date": "2012-10-02T19:30:00Z",
|
294
|
-
"starts_at": "2012-10-03T02:30:00Z",
|
295
|
-
"starts_at_time_trusted": true,
|
296
|
-
"unconfirmed_location": 0,
|
297
|
-
"updated_at": "2012-03-29T01:35:53Z",
|
298
|
-
"venue_id": 61705,
|
299
|
-
"photos": {
|
300
|
-
"thumbnail": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-thumbnail.jpg?1324561426",
|
301
|
-
"large": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-large.jpg?1324561426",
|
302
|
-
"mobile": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-mobile.jpg?1324561426"
|
303
|
-
},
|
304
|
-
"url": "http://thrillcall.com/event/1046915",
|
305
|
-
"starts_at_local": "2012-10-02T19:30:00-07:00",
|
306
|
-
"time_zone": "America/Los_Angeles",
|
307
|
-
"status": "confirmed"
|
308
|
-
},
|
309
|
-
{
|
310
|
-
...
|
311
|
-
},
|
312
|
-
...
|
313
|
-
]
|
314
|
-
```
|
315
|
-
|
316
|
-
### GET /search/artists/:term
|
317
|
-
**:term** _string_ Arbitrary search string on the **name** field. (alphanumerics only, underscore matches underscore, use '+' for space)
|
318
|
-
|
319
|
-
Params:
|
320
|
-
|
321
|
-
- **[limit](#limit)**
|
322
|
-
- **[page](#page)**
|
323
|
-
|
324
|
-
Returns: _Array_ of Artists _Hash_
|
325
|
-
|
326
|
-
``` js
|
327
|
-
// Example: GET /api/v3/search/artists/Il%20Volo?api_key=1234567890abcdef
|
328
|
-
|
329
|
-
[
|
330
|
-
{
|
331
|
-
"created_at": "2011-05-19T20:27:47Z",
|
332
|
-
"genre_tags": "Operatic pop",
|
333
|
-
"id": 378465,
|
334
|
-
"name": "Il Volo",
|
335
|
-
"primary_genre_id": 61,
|
336
|
-
"upcoming_events_count": 30,
|
337
|
-
"updated_at": "2012-03-27T15:59:04Z",
|
338
|
-
"photos": {
|
339
|
-
"thumbnail": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-thumbnail.jpg?1324561426",
|
340
|
-
"medium": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-medium.jpg?1324561426",
|
341
|
-
"large": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-large.jpg?1324561426",
|
342
|
-
"mobile": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-mobile.jpg?1324561426"
|
343
|
-
},
|
344
|
-
"url": "http://thrillcall.com/artist/Il_Volo"
|
345
|
-
},
|
346
|
-
{
|
347
|
-
...
|
348
|
-
},
|
349
|
-
...
|
350
|
-
]
|
351
|
-
```
|
352
|
-
|
353
|
-
## Events
|
354
|
-
Fields:
|
355
|
-
|
356
|
-
- **created\_at** _string_ ISO 8601 representation the time this object was created
|
357
|
-
- **festival** _boolean_ Is this event a festival?
|
358
|
-
- **id** _integer_ Thrillcall ID
|
359
|
-
- **latitude** _float_ Approximate latitude for the Event
|
360
|
-
- **longitude** _float_ Approximate longitude for the Event
|
361
|
-
- **name** _string_ Name of the Event
|
362
|
-
- **on\_sale\_date** _string_ ISO 8601 representation of the date when tickets go on sale
|
363
|
-
- **rumor** _boolean_ Are the details for this event based on a rumor?
|
364
|
-
- **status** _string_ Status of the event (confirmed, unconfirmed, cancelled, or disabled)
|
365
|
-
- **starts\_at** _string_ ISO 8601 representation of the start of the Event in UTC time
|
366
|
-
- **starts\_at\_local** _string_ ISO 8601 representation of the start of the Event in the local timezone
|
367
|
-
- **starts\_at\_time\_trusted** _boolean_ Do we trust that the time of day component of **starts\_at** is valid?
|
368
|
-
- **time\_zone** _string_ TZ Database string representing the time zone at the location of the event
|
369
|
-
- **unconfirmed\_location** _integer_ If 1, the location of this event is unconfirmed
|
370
|
-
- **updated\_at** _string_ ISO 8601 representation of last time this object was updated
|
371
|
-
- **venue\_id** _integer_ Thrillcall Venue ID
|
372
|
-
- **photos** _hash_ A hash of image urls of the primary photo available for this object in different styles
|
373
|
-
- **url** _string_ URL for this object on Thrillcall
|
374
|
-
|
375
|
-
|
376
|
-
### GET /events
|
377
|
-
Params:
|
378
|
-
|
379
|
-
- **[limit](#limit)**
|
380
|
-
- **[page](#page)**
|
381
|
-
- **[time\_zone](#time_zone)**
|
382
|
-
- **[min\_date](#min_date)**
|
383
|
-
- **[max\_date](#max_date)**
|
384
|
-
- **[min\_updated\_at](#min_updated_at)**
|
385
|
-
- **[max\_updated\_at](#max_updated_at)**
|
386
|
-
- **[lat](#lat)**
|
387
|
-
- **[long](#long)**
|
388
|
-
- **[postalcode](#postalcode)**
|
389
|
-
- **[radius](#radius)**
|
390
|
-
- **[ticket\_type](#ticket_type)**
|
391
|
-
- **[must\_have\_tickets](#must_have_tickets)**
|
392
|
-
- **[show\_disabled\_events](#show_disabled_events)**
|
393
|
-
- **[show\_unconfirmed\_events](#show_unconfirmed_events)**
|
394
|
-
- **[show\_rumor\_events](#show_rumor_events)**
|
395
|
-
|
396
|
-
Returns: _Array_ of Events _Hash_
|
397
|
-
|
398
|
-
``` js
|
399
|
-
// Example: GET /api/v3/events?must_have_tickets=true&postalcode=94108&radius=10&limit=3&api_key=1234567890abcdef
|
400
|
-
|
401
|
-
[
|
402
|
-
{
|
403
|
-
"created_at": "2012-03-02T18:06:14Z",
|
404
|
-
"festival": false,
|
405
|
-
"id": 1047075,
|
406
|
-
"latitude": 37.7915,
|
407
|
-
"longitude": -122.413,
|
408
|
-
"name": "Il Volo @ Masonic Center",
|
409
|
-
"on_sale_date": null,
|
410
|
-
"rumor": false,
|
411
|
-
"start_date": "2012-09-29T19:30:04Z",
|
412
|
-
"starts_at": "2012-09-30T02:30:04Z",
|
413
|
-
"starts_at_time_trusted": true,
|
414
|
-
"unconfirmed_location": 0,
|
415
|
-
"updated_at": "2012-03-29T01:35:57Z",
|
416
|
-
"venue_id": 63279,
|
417
|
-
"photos": {
|
418
|
-
"thumbnail": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-thumbnail.jpg?1324561426",
|
419
|
-
"large": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-large.jpg?1324561426",
|
420
|
-
"mobile": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-mobile.jpg?1324561426"
|
421
|
-
},
|
422
|
-
"url": "http://thrillcall.com/event/1047075",
|
423
|
-
"starts_at_local": "2012-09-29T19:30:04-07:00",
|
424
|
-
"time_zone": "America/Los_Angeles"
|
425
|
-
"status": "confirmed"
|
426
|
-
},
|
427
|
-
{
|
428
|
-
...
|
429
|
-
},
|
430
|
-
...
|
431
|
-
]
|
432
|
-
```
|
433
|
-
|
434
|
-
### GET /event/:id
|
435
|
-
**:id** _integer_ Thrillcall ID
|
436
|
-
|
437
|
-
Params:
|
438
|
-
|
439
|
-
- None
|
440
|
-
|
441
|
-
Returns: Event _Hash_
|
442
|
-
|
443
|
-
``` js
|
444
|
-
// Example: GET /api/v3/event/1045602/venue?api_key=1234567890abcdef
|
445
|
-
|
446
|
-
{
|
447
|
-
"address1": "1111 California Street",
|
448
|
-
"address2": null,
|
449
|
-
"city": "San Francisco",
|
450
|
-
"country": "US",
|
451
|
-
"created_at": "2009-08-25T19:25:27Z",
|
452
|
-
"id": 63279,
|
453
|
-
"latitude": 37.79153,
|
454
|
-
"long_description": null,
|
455
|
-
"longitude": -122.412757,
|
456
|
-
"name": "Masonic Center",
|
457
|
-
"phone_number": null,
|
458
|
-
"state": "CA",
|
459
|
-
"time_zone": "America/Los_Angeles",
|
460
|
-
"upcoming_events_count": 4,
|
461
|
-
"updated_at": "2012-04-04T02:08:50Z",
|
462
|
-
"postalcode": "94108",
|
463
|
-
"photos": {
|
464
|
-
"thumbnail": "http://i.development.tc-core.com/dan/venue/63279/87/1326419135/masonic-center-in-san-francisco-ca-thumbnail.jpg?1326419135",
|
465
|
-
"medium": "http://i.development.tc-core.com/dan/venue/63279/87/1326419135/masonic-center-in-san-francisco-ca-medium.jpg?1326419135",
|
466
|
-
"large": "http://i.development.tc-core.com/dan/venue/63279/87/1326419135/masonic-center-in-san-francisco-ca-large.jpg?1326419135",
|
467
|
-
"mobile": "http://i.development.tc-core.com/dan/venue/63279/87/1326419135/masonic-center-in-san-francisco-ca-mobile.jpg?1326419135"
|
468
|
-
},
|
469
|
-
"metro_area_id": 105,
|
470
|
-
"url": "http://thrillcall.com/venue/Masonic_Center_in_San_Francisco_CA"
|
471
|
-
}
|
472
|
-
```
|
473
|
-
|
474
|
-
### GET /event/:id/artists
|
475
|
-
**:id** _integer_ Thrillcall ID
|
476
|
-
|
477
|
-
Params:
|
478
|
-
|
479
|
-
- **[limit](#limit)**
|
480
|
-
- **[page](#page)**
|
481
|
-
|
482
|
-
Returns: _Array_ of Artists _Hash_
|
483
|
-
|
484
|
-
``` js
|
485
|
-
// Example: GET /api/v3/event/1047075/artists?api_key=1234567890abcdef
|
486
|
-
|
487
|
-
[
|
488
|
-
{
|
489
|
-
"created_at": "2011-05-19T20:27:47Z",
|
490
|
-
"genre_tags": "Operatic pop",
|
491
|
-
"id": 378465,
|
492
|
-
"name": "Il Volo",
|
493
|
-
"primary_genre_id": 61,
|
494
|
-
"upcoming_events_count": 30,
|
495
|
-
"updated_at": "2012-03-27T15:59:04Z",
|
496
|
-
"photos": {
|
497
|
-
"thumbnail": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-thumbnail.jpg?1324561426",
|
498
|
-
"medium": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-medium.jpg?1324561426",
|
499
|
-
"large": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-large.jpg?1324561426",
|
500
|
-
"mobile": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-mobile.jpg?1324561426"
|
501
|
-
},
|
502
|
-
"url": "http://thrillcall.com/artist/Il_Volo"
|
503
|
-
},
|
504
|
-
{
|
505
|
-
...
|
506
|
-
},
|
507
|
-
...
|
508
|
-
]
|
509
|
-
```
|
510
|
-
|
511
|
-
### GET /event/:id/venue
|
512
|
-
**:id** _integer_ Thrillcall ID
|
513
|
-
|
514
|
-
Params:
|
515
|
-
|
516
|
-
- None
|
517
|
-
|
518
|
-
Returns: Venue _Hash_
|
519
|
-
|
520
|
-
``` js
|
521
|
-
// Example: GET /api/v3/event/1045602/venue?api_key=1234567890abcdef
|
522
|
-
|
523
|
-
{
|
524
|
-
"address1": "1111 California Street",
|
525
|
-
"address2": null,
|
526
|
-
"city": "San Francisco",
|
527
|
-
"country": "US",
|
528
|
-
"created_at": "2009-08-25T19:25:27Z",
|
529
|
-
"id": 63279,
|
530
|
-
"latitude": 37.79153,
|
531
|
-
"long_description": null,
|
532
|
-
"longitude": -122.412757,
|
533
|
-
"name": "Masonic Center",
|
534
|
-
"phone_number": null,
|
535
|
-
"state": "CA",
|
536
|
-
"time_zone": "America/Los_Angeles",
|
537
|
-
"upcoming_events_count": 4,
|
538
|
-
"updated_at": "2012-04-04T02:08:50Z",
|
539
|
-
"postalcode": "94108",
|
540
|
-
"photos": {
|
541
|
-
"thumbnail": "http://i.development.tc-core.com/dan/venue/63279/87/1326419135/masonic-center-in-san-francisco-ca-thumbnail.jpg?1326419135",
|
542
|
-
"medium": "http://i.development.tc-core.com/dan/venue/63279/87/1326419135/masonic-center-in-san-francisco-ca-medium.jpg?1326419135",
|
543
|
-
"large": "http://i.development.tc-core.com/dan/venue/63279/87/1326419135/masonic-center-in-san-francisco-ca-large.jpg?1326419135",
|
544
|
-
"mobile": "http://i.development.tc-core.com/dan/venue/63279/87/1326419135/masonic-center-in-san-francisco-ca-mobile.jpg?1326419135"
|
545
|
-
},
|
546
|
-
"metro_area_id": 105,
|
547
|
-
"url": "http://thrillcall.com/venue/Masonic_Center_in_San_Francisco_CA"
|
548
|
-
}
|
549
|
-
```
|
550
|
-
|
551
|
-
### GET /event/:id/tickets
|
552
|
-
**:id** _integer_ Thrillcall ID
|
553
|
-
|
554
|
-
Params:
|
555
|
-
|
556
|
-
- **[limit](#limit)**
|
557
|
-
- **[page](#page)**
|
558
|
-
- **[ticket\_type](#ticket_type)**
|
559
|
-
|
560
|
-
Returns: _Array_ of Tickets _Hash_
|
561
|
-
|
562
|
-
``` js
|
563
|
-
// Example: GET /api/v3/event/1047075/tickets?api_key=1234567890abcdef
|
564
|
-
|
565
|
-
[
|
566
|
-
{
|
567
|
-
"created_at": "2012-03-02T18:06:14Z",
|
568
|
-
"description": null,
|
569
|
-
"event_id": 1047075,
|
570
|
-
"id": 819883,
|
571
|
-
"marketing_text": null,
|
572
|
-
"max_ticket_price": 85,
|
573
|
-
"min_ticket_price": 29,
|
574
|
-
"name": "Onsale to General Public",
|
575
|
-
"on_sale_end_date": null,
|
576
|
-
"on_sale_start_date": null,
|
577
|
-
"seat_info": null,
|
578
|
-
"updated_at": "2012-03-02T18:06:14Z",
|
579
|
-
"url": "http://ticketsus.at/thrillcall?CTY=39&DURL=http://www.ticketmaster.com/event/1C00486178A1251A?camefrom=CFC_BUYAT&brand=[=BRAND=]"
|
580
|
-
},
|
581
|
-
{
|
582
|
-
...
|
583
|
-
},
|
584
|
-
...
|
585
|
-
]
|
586
|
-
```
|
587
|
-
|
588
|
-
## Genre
|
589
|
-
Fields:
|
590
|
-
|
591
|
-
- **created\_at** _string_ ISO 8601 representation the time this object was created
|
592
|
-
- **description** _string_ Description of the Genre
|
593
|
-
- **id** _integer_ Thrillcall ID
|
594
|
-
- **name** _string_ Name of the Genre
|
595
|
-
- **updated\_at** _string_ ISO 8601 representation of last time this object was updated
|
596
|
-
|
597
|
-
### GET /genres
|
598
|
-
Params:
|
599
|
-
|
600
|
-
- **[limit](#limit)**
|
601
|
-
- **[page](#page)**
|
602
|
-
|
603
|
-
Returns: _Array_ of Genres _Hash_
|
604
|
-
|
605
|
-
``` js
|
606
|
-
// Example: GET /api/v3/genres?limit=14&api_key=1234567890abcdef
|
607
|
-
|
608
|
-
[
|
609
|
-
{
|
610
|
-
"created_at": "2008-07-09T19:17:45Z",
|
611
|
-
"description": "Shawn Colvin, Loudon Wainwright III etc...",
|
612
|
-
"id": 6,
|
613
|
-
"name": "Folk",
|
614
|
-
"updated_at": "2010-03-25T23:51:55Z"
|
615
|
-
},
|
616
|
-
{
|
617
|
-
...
|
618
|
-
},
|
619
|
-
...
|
620
|
-
]
|
621
|
-
```
|
622
|
-
|
623
|
-
### GET /genre/:id
|
624
|
-
**:id** _integer_ Thrillcall ID
|
625
|
-
|
626
|
-
Params:
|
627
|
-
|
628
|
-
- None
|
629
|
-
|
630
|
-
Returns: Genre _Hash_
|
631
|
-
|
632
|
-
``` js
|
633
|
-
// Example: GET /api/v3/genre/27?api_key=1234567890abcdef
|
634
|
-
|
635
|
-
{
|
636
|
-
"created_at": "2008-07-09T19:17:45Z",
|
637
|
-
"description": "U2, 30 Seconds To Mars etc...",
|
638
|
-
"id": 27,
|
639
|
-
"name": "Rock",
|
640
|
-
"updated_at": "2010-03-25T23:52:21Z"
|
641
|
-
}
|
642
|
-
```
|
643
|
-
|
644
|
-
### GET /genre/:id/artists
|
645
|
-
**:id** _integer_ Thrillcall ID
|
646
|
-
|
647
|
-
Params:
|
648
|
-
|
649
|
-
- **[limit](#limit)**
|
650
|
-
- **[page](#page)**
|
651
|
-
|
652
|
-
Returns: _Array_ of Artists _Hash_
|
653
|
-
|
654
|
-
``` js
|
655
|
-
// Example: GET /api/v3/genre/61/artists?api_key=1234567890abcdef
|
656
|
-
|
657
|
-
[
|
658
|
-
{
|
659
|
-
"created_at": "2008-04-29T10:19:45Z",
|
660
|
-
"genre_tags": "O",
|
661
|
-
"id": 1,
|
662
|
-
"name": "Hyler Jones Proteges",
|
663
|
-
"primary_genre_id": 61,
|
664
|
-
"upcoming_events_count": 0,
|
665
|
-
"updated_at": "2010-03-26T16:49:20Z",
|
666
|
-
"photos": {
|
667
|
-
"thumbnail": "http://i.development.tc-core.com/artist/_default/default-thumbnail.jpg",
|
668
|
-
"medium": "http://i.development.tc-core.com/artist/_default/default-medium.jpg",
|
669
|
-
"large": "http://i.development.tc-core.com/artist/_default/default-large.jpg",
|
670
|
-
"mobile": "http://i.development.tc-core.com/artist/_default/default-mobile.jpg"
|
671
|
-
},
|
672
|
-
"url": "http://thrillcall.com/artist/Hyler_Jones_Proteges"
|
673
|
-
},
|
674
|
-
{
|
675
|
-
...
|
676
|
-
},
|
677
|
-
...
|
678
|
-
]
|
679
|
-
```
|
680
|
-
|
681
|
-
## Metro Area
|
682
|
-
Fields:
|
683
|
-
|
684
|
-
- **city** _string_ City of the Metro Area
|
685
|
-
- **country** _string_ Country of the Metro Area
|
686
|
-
- **created\_at** _string_ ISO 8601 representation the time this object was created
|
687
|
-
- **id** _integer_ Thrillcall ID
|
688
|
-
- **latitude** _float_ Latitude of the Metro Area
|
689
|
-
- **longitude** _float_ Longitude of the Metro Area
|
690
|
-
- **radius** _integer_ Radius of the Metro Area from the Lat/Long center
|
691
|
-
- **state** _string_ State of the Metro Area
|
692
|
-
- **time\_zone** _string_ Time zone of the Metro Area
|
693
|
-
- **updated\_at** _string_ ISO 8601 representation of last time this object was updated
|
694
|
-
- **url** _string_ URL for this object on Thrillcall
|
695
|
-
- **offers\_availability\_status\_code** _integer_ Offers status for the Metro Area ( no\_offers = 0, available = 1, coming\_soon = 2)
|
696
|
-
|
697
|
-
### GET /metro_areas
|
698
|
-
Params:
|
699
|
-
|
700
|
-
- **[limit](#limit)**
|
701
|
-
- **[page](#page)**
|
702
|
-
|
703
|
-
Returns: _Array_ of Metro Areas _Hash_
|
704
|
-
|
705
|
-
``` js
|
706
|
-
// Example: GET /api/v3/metro_areas?limit=14&api_key=1234567890abcdef
|
707
|
-
|
708
|
-
[
|
709
|
-
{
|
710
|
-
"city": "Chicago",
|
711
|
-
"country": "US",
|
712
|
-
"created_at": "2011-06-24T03:23:57Z",
|
713
|
-
"id": 104,
|
714
|
-
"latitude": 41.8842,
|
715
|
-
"longitude": -87.6324,
|
716
|
-
"offers_availability_status_code": 1,
|
717
|
-
"radius": 50,
|
718
|
-
"state": "IL",
|
719
|
-
"time_zone": "America/Chicago",
|
720
|
-
"updated_at": "2011-12-27T00:44:37Z",
|
721
|
-
"url": "http://thrillcall.com/live-music/chicago"
|
722
|
-
},
|
723
|
-
{
|
724
|
-
...
|
725
|
-
},
|
726
|
-
...
|
727
|
-
]
|
728
|
-
```
|
729
|
-
|
730
|
-
### GET /metro_area/:id
|
731
|
-
**:id** _integer_ Thrillcall ID
|
732
|
-
|
733
|
-
Params:
|
734
|
-
|
735
|
-
- None
|
736
|
-
|
737
|
-
Returns: Metro Area _Hash_
|
738
|
-
|
739
|
-
``` js
|
740
|
-
// Example: GET /api/v3/metro_area/105?api_key=1234567890abcdef
|
741
|
-
|
742
|
-
{
|
743
|
-
"city": "San Francisco",
|
744
|
-
"country": "US",
|
745
|
-
"created_at": "2011-06-24T03:23:57Z",
|
746
|
-
"id": 105,
|
747
|
-
"latitude": 37.7771,
|
748
|
-
"longitude": -122.42,
|
749
|
-
"offers_availability_status_code": 1,
|
750
|
-
"radius": 50,
|
751
|
-
"state": "CA",
|
752
|
-
"time_zone": "America/Los_Angeles",
|
753
|
-
"updated_at": "2011-12-27T00:44:37Z",
|
754
|
-
"url": "http://thrillcall.com/live-music/san-francisco"
|
755
|
-
}
|
756
|
-
```
|
757
|
-
|
758
|
-
### GET /metro_area/:id/events
|
759
|
-
**:id** _integer_ Thrillcall ID
|
760
|
-
|
761
|
-
Params:
|
762
|
-
|
763
|
-
- **[limit](#limit)**
|
764
|
-
- **[page](#page)**
|
765
|
-
- **[min\_date](#min_date)**
|
766
|
-
- **[max\_date](#max_date)**
|
767
|
-
- **[min\_updated\_at](#min_updated_at)**
|
768
|
-
- **[max\_updated\_at](#max_updated_at)**
|
769
|
-
- **[radius](#radius)**
|
770
|
-
- **[ticket\_type](#ticket_type)**
|
771
|
-
- **[must\_have\_tickets](#must_have_tickets)**
|
772
|
-
- **[show\_disabled\_events](#show_disabled_events)**
|
773
|
-
- **[show\_unconfirmed\_events](#show_unconfirmed_events)**
|
774
|
-
- **[show\_rumor\_events](#show_rumor_events)**
|
775
|
-
|
776
|
-
Note: Time Zone is set as the time zone of the Metro Area and cannot be overridden.
|
777
|
-
|
778
|
-
Returns: _Array_ of Metro Areas _Hash_
|
779
|
-
|
780
|
-
``` js
|
781
|
-
// Example: GET /api/v3/metro_area/105/events?min_date=2011-04-05&max_date=2012-04-04&limit=3&api_key=1234567890abcdef
|
782
|
-
|
783
|
-
[
|
784
|
-
{
|
785
|
-
"created_at": "2012-01-02T08:53:00Z",
|
786
|
-
"festival": false,
|
787
|
-
"id": 1011386,
|
788
|
-
"latitude": 37.7771,
|
789
|
-
"longitude": -122.42,
|
790
|
-
"name": "Kontrol @ The End Up",
|
791
|
-
"on_sale_date": null,
|
792
|
-
"rumor": false,
|
793
|
-
"start_date": "2012-01-07T00:00:04Z",
|
794
|
-
"starts_at": "2012-01-07T08:00:04Z",
|
795
|
-
"starts_at_time_trusted": false,
|
796
|
-
"unconfirmed_location": 0,
|
797
|
-
"updated_at": "2012-03-29T01:19:31Z",
|
798
|
-
"venue_id": 47273,
|
799
|
-
"photos": {
|
800
|
-
"thumbnail": "http://i.development.tc-core.com/event/_default/default-thumbnail.jpg",
|
801
|
-
"large": "http://i.development.tc-core.com/event/_default/default-large.jpg",
|
802
|
-
"mobile": "http://i.development.tc-core.com/dan/venue/47273/107/1326489566/the-end-up-in-san-francisco-ca-mobile.jpg?1326489566"
|
803
|
-
},
|
804
|
-
"url": "http://thrillcall.com/event/1011386",
|
805
|
-
"starts_at_local": "2012-01-07T00:00:04-08:00",
|
806
|
-
"time_zone": "America/Los_Angeles"
|
807
|
-
"status": "confirmed"
|
808
|
-
},
|
809
|
-
{
|
810
|
-
...
|
811
|
-
},
|
812
|
-
...
|
813
|
-
]
|
814
|
-
```
|
815
|
-
|
816
|
-
## Person
|
817
|
-
**Note:** Your API key requires the api\_auth permission to access the endpoints associated with this object.
|
818
|
-
|
819
|
-
Fields:
|
820
|
-
|
821
|
-
- **created\_at** _string_ ISO 8601 representation the time this object was created
|
822
|
-
- **first\_name** _string_ First name of the Person
|
823
|
-
- **gender** _string_ Gender of the Person
|
824
|
-
- **id** _integer_ Thrillcall ID
|
825
|
-
- **last\_name** _string_ Last name of the Person
|
826
|
-
- **login** _string_ Login (Email Address) of the Person
|
827
|
-
- **updated\_at** _string_ ISO 8601 representation of last time this object was updated
|
828
|
-
- **referral\_code** _string_ Referral code of the Person
|
829
|
-
- **referral\_credits** _integer_ Number of Referral credits the Person has (including bonus points)
|
830
|
-
- **postalcode** _string_ Postalcode of the Person
|
831
|
-
- **photos** _hash_ A hash of image urls of the primary photo available for this object in different styles
|
832
|
-
|
833
|
-
### GET /person/:id
|
834
|
-
Params:
|
835
|
-
|
836
|
-
- None.
|
837
|
-
|
838
|
-
Returns: Person _Hash_
|
839
|
-
|
840
|
-
``` js
|
841
|
-
// Example: GET /api/v3/person/49?api_key=1234567890abcdef
|
842
|
-
|
843
|
-
{
|
844
|
-
"address1": null,
|
845
|
-
"address2": null,
|
846
|
-
"city": "Santa Rosa",
|
847
|
-
"country_code": "US",
|
848
|
-
"created_at": "2011-10-17T18:54:31Z",
|
849
|
-
"first_name": "John",
|
850
|
-
"gender": "m",
|
851
|
-
"id": 49,
|
852
|
-
"last_name": "Doe",
|
853
|
-
"login": "bogus@bogus.com",
|
854
|
-
"state": "CA",
|
855
|
-
"time_zone": "America/Los_Angeles",
|
856
|
-
"timezone": "-7",
|
857
|
-
"updated_at": "2012-03-28T16:07:16Z",
|
858
|
-
"referral_code": null,
|
859
|
-
"referral_credits": 0,
|
860
|
-
"postalcode": "95407",
|
861
|
-
"photos": {
|
862
|
-
"small_thumb": "http://i.development.tc-core.com/dan/person/164761/1324568419/19154-small_thumb.jpg?1324568419",
|
863
|
-
"thumbnail": "http://i.development.tc-core.com/dan/person/164761/1324568419/19154-thumbnail.jpg?1324568419",
|
864
|
-
"medium": "http://i.development.tc-core.com/dan/person/164761/1324568419/19154-medium.jpg?1324568419"
|
865
|
-
}
|
866
|
-
}
|
867
|
-
```
|
868
|
-
|
869
|
-
### POST /person/signin
|
870
|
-
Params:
|
871
|
-
|
872
|
-
- **[email](#email)**
|
873
|
-
- **[password](#password)**
|
874
|
-
- **[provider](#provider)**
|
875
|
-
- **[uid](#uid)**
|
876
|
-
- **[token](#token)**
|
877
|
-
- **[first\_name](#first_name)**
|
878
|
-
- **[last\_name](#last_name)**
|
879
|
-
- **[location\_name](#location_name)**
|
880
|
-
- **[lat](#lat)**
|
881
|
-
- **[long](#long)**
|
882
|
-
- **[referral\_code](#referral_code)**
|
883
|
-
|
884
|
-
Use either **[email](#email)** / **[password](#password)** or **[provider](#provider)** / **[uid](#uid)** / **[token](#token)**.
|
885
|
-
|
886
|
-
May perform registration ("signup") automatically if using **[provider](#provider)** / **[uid](#uid)** / **[token](#token)** when no match is found and name, location, and **[referral_code](#referral_code)** are also provided.
|
887
|
-
|
888
|
-
Returns: Person _Hash_
|
889
|
-
|
890
|
-
``` js
|
891
|
-
// Example: POST /api/v3/person/signin?provider=facebook&uid=123123bogus&token=123123bogus&email=123123bogus%40bogus.com&first_name=Mister&last_name=Bogus&lat=38.5&long=-123.0&api_key=1234567890abcdef
|
892
|
-
|
893
|
-
{
|
894
|
-
"address1": null,
|
895
|
-
"address2": null,
|
896
|
-
"city": null,
|
897
|
-
"country_code": null,
|
898
|
-
"created_at": null,
|
899
|
-
"first_name": "Mister",
|
900
|
-
"gender": null,
|
901
|
-
"last_name": "Bogus",
|
902
|
-
"login": null,
|
903
|
-
"state": null,
|
904
|
-
"time_zone": null,
|
905
|
-
"timezone": null,
|
906
|
-
"updated_at": null,
|
907
|
-
"referral_code": null,
|
908
|
-
"referral_credits": 0,
|
909
|
-
"postalcode": null,
|
910
|
-
"photos": {
|
911
|
-
"small_thumb": "http://i.development.tc-core.com/person/_default/default-small_thumb.jpg",
|
912
|
-
"thumbnail": "http://i.development.tc-core.com/person/_default/default-thumbnail.jpg",
|
913
|
-
"medium": "http://i.development.tc-core.com/person/_default/default-medium.jpg"
|
914
|
-
}
|
915
|
-
}
|
916
|
-
```
|
917
|
-
|
918
|
-
### POST /person/signup
|
919
|
-
Params:
|
920
|
-
|
921
|
-
- **[first\_name](#first_name)**
|
922
|
-
- **[last\_name](#last_name)**
|
923
|
-
- **[gender](#gender)**
|
924
|
-
- **[email](#email)**
|
925
|
-
- **[password](#password)**
|
926
|
-
- **[postalcode](#postalcode)**
|
927
|
-
- **[referral\_code](#referral_code)**
|
928
|
-
|
929
|
-
Returns: Person _Hash_
|
930
|
-
|
931
|
-
``` js
|
932
|
-
// Example: POST /api/v3/person/signup?first_name=Mister&email=bogus%40bogus.com&password=bogus&postalcode=94108&api_key=1234567890abcdef
|
933
|
-
|
934
|
-
{
|
935
|
-
"address1": null,
|
936
|
-
"address2": null,
|
937
|
-
"city": null,
|
938
|
-
"country_code": null,
|
939
|
-
"created_at": null,
|
940
|
-
"first_name": "Mister",
|
941
|
-
"gender": null,
|
942
|
-
"last_name": null,
|
943
|
-
"login": null,
|
944
|
-
"state": null,
|
945
|
-
"time_zone": null,
|
946
|
-
"timezone": null,
|
947
|
-
"updated_at": null,
|
948
|
-
"referral_code": null,
|
949
|
-
"referral_credits": 0,
|
950
|
-
"postalcode": null,
|
951
|
-
"photos": {
|
952
|
-
"small_thumb": "http://i.development.tc-core.com/person/_default/default-small_thumb.jpg",
|
953
|
-
"thumbnail": "http://i.development.tc-core.com/person/_default/default-thumbnail.jpg",
|
954
|
-
"medium": "http://i.development.tc-core.com/person/_default/default-medium.jpg"
|
955
|
-
}
|
956
|
-
}
|
957
|
-
```
|
958
|
-
|
959
|
-
|
960
|
-
## Venues
|
961
|
-
Fields:
|
962
|
-
|
963
|
-
- **address1** _string_ First address field for the Venue
|
964
|
-
- **address2** _string_ Second address field for the Venue
|
965
|
-
- **city** _string_ City the Venue is in
|
966
|
-
- **country** _string_ Country the Venue is in
|
967
|
-
- **created\_at** _string_ ISO 8601 representation the time this object was created
|
968
|
-
- **id** _integer_ Thrillcall ID
|
969
|
-
- **latitude** _float_ Approximate Latitude for the Venue
|
970
|
-
- **long\_description** _text_ Description of the Venue
|
971
|
-
- **longitude** _float_ Approximate Longitude for the Venue
|
972
|
-
- **name** _string_ Name of the Venue
|
973
|
-
- **metro\_area\_id** _integer_ Thrillcall ID of the Metro Area this Venue is in, if any
|
974
|
-
- **state** _string_ State the Venue is in
|
975
|
-
- **upcoming\_events\_count** _integer_ Number of upcoming events associated with this object
|
976
|
-
- **updated\_at** _string_ ISO 8601 representation of last time this object was updated
|
977
|
-
- **postalcode** _string_ Postal code for the Venue
|
978
|
-
- **phone\_number** _string_ Phone number for the Venue (including country code)
|
979
|
-
- **photos** _hash_ A hash of image urls of the primary photo available for this object in different styles
|
980
|
-
- **url** _string_ URL for this object on Thrillcall
|
981
|
-
|
982
|
-
|
983
|
-
### GET /venues
|
984
|
-
Params:
|
985
|
-
|
986
|
-
- **[limit](#limit)**
|
987
|
-
- **[page](#page)**
|
988
|
-
- **[lat](#lat)**
|
989
|
-
- **[long](#long)**
|
990
|
-
- **[postalcode](#postalcode)**
|
991
|
-
- **[radius](#radius)**
|
992
|
-
|
993
|
-
Returns: _Array_ of Venues _Hash_
|
994
|
-
|
995
|
-
``` js
|
996
|
-
// Example: GET /api/v3/venues?limit=14&api_key=1234567890abcdef
|
997
|
-
|
998
|
-
[
|
999
|
-
{
|
1000
|
-
"address1": null,
|
1001
|
-
"address2": null,
|
1002
|
-
"city": "Guadalajara",
|
1003
|
-
"country": "MX",
|
1004
|
-
"created_at": "2008-05-09T09:29:23Z",
|
1005
|
-
"id": 1,
|
1006
|
-
"latitude": 20.666222,
|
1007
|
-
"long_description": null,
|
1008
|
-
"longitude": -103.352089,
|
1009
|
-
"name": "Fbolko",
|
1010
|
-
"phone_number": null,
|
1011
|
-
"state": "MX",
|
1012
|
-
"time_zone": "America/Mexico_City",
|
1013
|
-
"upcoming_events_count": 0,
|
1014
|
-
"updated_at": "2012-03-29T00:04:23Z",
|
1015
|
-
"postalcode": null,
|
1016
|
-
"photos": {
|
1017
|
-
"thumbnail": "http://i.development.tc-core.com/venue/_default/default-thumbnail.jpg",
|
1018
|
-
"medium": "http://i.development.tc-core.com/venue/_default/default-medium.jpg",
|
1019
|
-
"large": "http://i.development.tc-core.com/venue/_default/default-large.jpg",
|
1020
|
-
"mobile": "http://i.development.tc-core.com/venue/_default/default-mobile.jpg"
|
1021
|
-
},
|
1022
|
-
"metro_area_id": null,
|
1023
|
-
"url": "http://thrillcall.com/venue/Fbolko_in_Guadalajara_MX"
|
1024
|
-
},
|
1025
|
-
{
|
1026
|
-
...
|
1027
|
-
},
|
1028
|
-
...
|
1029
|
-
]
|
1030
|
-
```
|
1031
|
-
|
1032
|
-
|
1033
|
-
### GET /venue/:id
|
1034
|
-
**:id** _integer_ Thrillcall or Partner ID
|
1035
|
-
|
1036
|
-
Params:
|
1037
|
-
|
1038
|
-
- **[use\_partner\_id](#use_partner_id)**
|
1039
|
-
|
1040
|
-
Returns: Venue _Hash_
|
1041
|
-
|
1042
|
-
``` js
|
1043
|
-
// Example: GET /api/v3/venue/51886?api_key=1234567890abcdef
|
1044
|
-
|
1045
|
-
{
|
1046
|
-
"address1": "201 Van Ness Avenue",
|
1047
|
-
"address2": null,
|
1048
|
-
"city": "San Francisco",
|
1049
|
-
"country": "US",
|
1050
|
-
"created_at": "2008-04-28T17:59:32Z",
|
1051
|
-
"id": 51886,
|
1052
|
-
"latitude": 37.777402,
|
1053
|
-
"long_description": null,
|
1054
|
-
"longitude": -122.419815,
|
1055
|
-
"name": "Davies Symphony Hall",
|
1056
|
-
"phone_number": "(415) 864-6000",
|
1057
|
-
"state": "CA",
|
1058
|
-
"time_zone": "America/Los_Angeles",
|
1059
|
-
"upcoming_events_count": 48,
|
1060
|
-
"updated_at": "2012-03-28T03:13:27Z",
|
1061
|
-
"postalcode": "94102",
|
1062
|
-
"photos": {
|
1063
|
-
"thumbnail": "http://i.development.tc-core.com/dan/venue/51886/74/1326417154/davies-symphony-hall-in-san-francisco-ca-thumbnail.jpg?1326417154",
|
1064
|
-
"medium": "http://i.development.tc-core.com/dan/venue/51886/74/1326417154/davies-symphony-hall-in-san-francisco-ca-medium.jpg?1326417154",
|
1065
|
-
"large": "http://i.development.tc-core.com/dan/venue/51886/74/1326417154/davies-symphony-hall-in-san-francisco-ca-large.jpg?1326417154",
|
1066
|
-
"mobile": "http://i.development.tc-core.com/dan/venue/51886/74/1326417154/davies-symphony-hall-in-san-francisco-ca-mobile.jpg?1326417154"
|
1067
|
-
},
|
1068
|
-
"metro_area_id": 105,
|
1069
|
-
"url": "http://thrillcall.com/venue/Davies_Symphony_Hall_in_San_Francisco_CA"
|
1070
|
-
}
|
1071
|
-
```
|
1072
|
-
|
1073
|
-
### GET /venue/:id/events
|
1074
|
-
**:id** _integer_ Thrillcall or Partner ID
|
1075
|
-
|
1076
|
-
Params:
|
1077
|
-
|
1078
|
-
- **[limit](#limit)**
|
1079
|
-
- **[page](#page)**
|
1080
|
-
- **[time\_zone](#time_zone)**
|
1081
|
-
- **[min\_date](#min_date)**
|
1082
|
-
- **[max\_date](#max_date)**
|
1083
|
-
- **[min\_updated\_at](#min_updated_at)**
|
1084
|
-
- **[max\_updated\_at](#max_updated_at)**
|
1085
|
-
- **[use\_partner\_id](#use_partner_id)**
|
1086
|
-
- **[ticket\_type](#ticket_type)**
|
1087
|
-
- **[must\_have\_tickets](#must_have_tickets)**
|
1088
|
-
- **[show\_disabled\_events](#show_disabled_events)**
|
1089
|
-
- **[show\_unconfirmed\_events](#show_unconfirmed_events)**
|
1090
|
-
- **[show\_rumor\_events](#show_rumor_events)**
|
1091
|
-
|
1092
|
-
Returns: _Array_ of Events _Hash_
|
1093
|
-
|
1094
|
-
``` js
|
1095
|
-
// Example: GET /api/v3/venue/63279/events?api_key=1234567890abcdef
|
1096
|
-
|
1097
|
-
[
|
1098
|
-
{
|
1099
|
-
"created_at": "2012-03-02T18:06:14Z",
|
1100
|
-
"festival": false,
|
1101
|
-
"id": 1047075,
|
1102
|
-
"latitude": 37.7915,
|
1103
|
-
"longitude": -122.413,
|
1104
|
-
"name": "Il Volo @ Masonic Center",
|
1105
|
-
"on_sale_date": null,
|
1106
|
-
"rumor": false,
|
1107
|
-
"start_date": "2012-09-29T19:30:04Z",
|
1108
|
-
"starts_at": "2012-09-30T02:30:04Z",
|
1109
|
-
"starts_at_time_trusted": true,
|
1110
|
-
"unconfirmed_location": 0,
|
1111
|
-
"updated_at": "2012-03-29T01:35:57Z",
|
1112
|
-
"venue_id": 63279,
|
1113
|
-
"photos": {
|
1114
|
-
"thumbnail": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-thumbnail.jpg?1324561426",
|
1115
|
-
"large": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-large.jpg?1324561426",
|
1116
|
-
"mobile": "http://i.development.tc-core.com/dan/artist/378465/10658/1324561426/il-volo-mobile.jpg?1324561426"
|
1117
|
-
},
|
1118
|
-
"url": "http://thrillcall.com/event/1047075",
|
1119
|
-
"starts_at_local": "2012-09-29T19:30:04-07:00",
|
1120
|
-
"time_zone": "America/Los_Angeles"
|
1121
|
-
"status": "confirmed"
|
1122
|
-
},
|
1123
|
-
{
|
1124
|
-
...
|
1125
|
-
},
|
1126
|
-
...
|
1127
|
-
]
|
1128
|
-
```
|
1129
|
-
|
1130
|
-
### GET /search/venues/:term
|
1131
|
-
**:term** _string_ Arbitrary search string on the **name** field. (alphanumerics only, underscore matches underscore, use '+' for space)
|
1132
|
-
|
1133
|
-
Params:
|
1134
|
-
|
1135
|
-
- **[limit](#limit)**
|
1136
|
-
- **[page](#page)**
|
1137
|
-
- **[lat](#lat)**
|
1138
|
-
- **[long](#long)**
|
1139
|
-
- **[postalcode](#postalcode)**
|
1140
|
-
- **[radius](#radius)**
|
1141
|
-
|
1142
|
-
Returns: _Array_ of Venues _Hash_
|
1143
|
-
|
1144
|
-
``` js
|
1145
|
-
// Example: GET /api/v3/search/venues/Masonic%20Center?api_key=1234567890abcdef
|
1146
|
-
|
1147
|
-
[
|
1148
|
-
{
|
1149
|
-
"address1": "525 W Riverview Ave",
|
1150
|
-
"address2": null,
|
1151
|
-
"city": "Dayton",
|
1152
|
-
"country": "US",
|
1153
|
-
"created_at": "2008-06-12T14:12:53Z",
|
1154
|
-
"id": 33642,
|
1155
|
-
"latitude": 39.765526,
|
1156
|
-
"long_description": null,
|
1157
|
-
"longitude": -84.203133,
|
1158
|
-
"name": "Dayton Masonic Center",
|
1159
|
-
"phone_number": null,
|
1160
|
-
"state": "OH",
|
1161
|
-
"time_zone": "America/New_York",
|
1162
|
-
"upcoming_events_count": 0,
|
1163
|
-
"updated_at": "2012-03-28T03:11:49Z",
|
1164
|
-
"postalcode": "45405",
|
1165
|
-
"photos": {
|
1166
|
-
"thumbnail": "http://i.development.tc-core.com/venue/_default/default-thumbnail.jpg",
|
1167
|
-
"medium": "http://i.development.tc-core.com/venue/_default/default-medium.jpg",
|
1168
|
-
"large": "http://i.development.tc-core.com/venue/_default/default-large.jpg",
|
1169
|
-
"mobile": "http://i.development.tc-core.com/venue/_default/default-mobile.jpg"
|
1170
|
-
},
|
1171
|
-
"metro_area_id": 134,
|
1172
|
-
"url": "http://thrillcall.com/venue/Dayton_Masonic_Center_in_Dayton_OH"
|
1173
|
-
},
|
1174
|
-
{
|
1175
|
-
...
|
1176
|
-
},
|
1177
|
-
...
|
1178
|
-
]
|
1179
|
-
```
|
1180
|
-
|
1181
|
-
## Tickets
|
1182
|
-
Fields:
|
1183
|
-
|
1184
|
-
- **created\_at** _string_ ISO 8601 representation the time this object was created
|
1185
|
-
- **description** _string_ Long form description of the ticket
|
1186
|
-
- **event\_id** _integer_ Thrillcall Event ID
|
1187
|
-
- **id** _integer_ Thrillcall ID
|
1188
|
-
- **marketing\_text** _string_ Long form description of the ticket
|
1189
|
-
- **max\_ticket\_price** _float_ Maximum price for this ticket
|
1190
|
-
- **min\_ticket\_price** _float_ Minimum price for this ticket
|
1191
|
-
- **name** _string_ Name of this ticket
|
1192
|
-
- **on\_sale\_end\_date** _string_ YYYY-MM-DD date when the ticket goes off sale
|
1193
|
-
- **on\_sale\_start\_date** _string_ YYYY-MM-DD date when the ticket goes on sale
|
1194
|
-
- **seat\_info** _string_ Additional info about the seat
|
1195
|
-
- **updated\_at** _string_ ISO 8601 representation of last time this object was updated
|
1196
|
-
- **url** _string_ URL for this object on Thrillcall
|
1197
|
-
|
1198
|
-
### GET /tickets
|
1199
|
-
Params:
|
1200
|
-
|
1201
|
-
- **[limit](#limit)**
|
1202
|
-
- **[page](#page)**
|
1203
|
-
- **[time\_zone](#time_zone)**
|
1204
|
-
- **[min\_date](#min_date)**
|
1205
|
-
- **[max\_date](#max_date)**
|
1206
|
-
- **[min\_updated\_at](#min_updated_at)**
|
1207
|
-
- **[max\_updated\_at](#max_updated_at)**
|
1208
|
-
- **[lat](#lat)**
|
1209
|
-
- **[long](#long)**
|
1210
|
-
- **[postalcode](#postalcode)**
|
1211
|
-
- **[radius](#radius)**
|
1212
|
-
- **[ticket\_type](#ticket_type)**
|
1213
|
-
- **[show\_disabled\_events](#show_disabled_events)**
|
1214
|
-
- **[show\_unconfirmed\_events](#show_unconfirmed_events)**
|
1215
|
-
- **[show\_rumor\_events](#show_rumor_events)**
|
1216
|
-
|
1217
|
-
Returns: _Array_ of Tickets _Hash_
|
1218
|
-
|
1219
|
-
``` js
|
1220
|
-
// Example: GET /api/v3/tickets?limit=14&api_key=1234567890abcdef
|
1221
|
-
|
1222
|
-
[
|
1223
|
-
{
|
1224
|
-
"created_at": "2008-12-06T00:19:59Z",
|
1225
|
-
"description": null,
|
1226
|
-
"event_id": 455646,
|
1227
|
-
"id": 1,
|
1228
|
-
"marketing_text": null,
|
1229
|
-
"max_ticket_price": null,
|
1230
|
-
"min_ticket_price": null,
|
1231
|
-
"name": "General Onsale",
|
1232
|
-
"on_sale_end_date": null,
|
1233
|
-
"on_sale_start_date": null,
|
1234
|
-
"seat_info": null,
|
1235
|
-
"updated_at": "2009-09-22T22:58:37Z",
|
1236
|
-
"url": "http://www.livenation.com/edp/eventId/335800/?c=api-000157"
|
1237
|
-
},
|
1238
|
-
{
|
1239
|
-
...
|
1240
|
-
},
|
1241
|
-
...
|
1242
|
-
]
|
1243
|
-
```
|
1244
|
-
|
1245
|
-
### GET /ticket/:id
|
1246
|
-
**:id** _integer_ Thrillcall ID
|
1247
|
-
|
1248
|
-
Params:
|
1249
|
-
|
1250
|
-
- None
|
1251
|
-
|
1252
|
-
Returns: Ticket _Hash_
|
1253
|
-
|
1254
|
-
``` js
|
1255
|
-
// Example: GET /api/v3/ticket/819883?api_key=1234567890abcdef
|
1256
|
-
|
1257
|
-
{
|
1258
|
-
"created_at": "2012-03-02T18:06:14Z",
|
1259
|
-
"description": null,
|
1260
|
-
"event_id": 1047075,
|
1261
|
-
"id": 819883,
|
1262
|
-
"marketing_text": null,
|
1263
|
-
"max_ticket_price": 85,
|
1264
|
-
"min_ticket_price": 29,
|
1265
|
-
"name": "Onsale to General Public",
|
1266
|
-
"on_sale_end_date": null,
|
1267
|
-
"on_sale_start_date": null,
|
1268
|
-
"seat_info": null,
|
1269
|
-
"updated_at": "2012-03-02T18:06:14Z",
|
1270
|
-
"url": "http://ticketsus.at/thrillcall?CTY=39&DURL=http://www.ticketmaster.com/event/1C00486178A1251A?camefrom=CFC_BUYAT&brand=[=BRAND=]"
|
1271
|
-
}
|
1272
|
-
```
|