jammed 0.1.0
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.
- data/.gitignore +6 -0
- data/.rspec +1 -0
- data/.travis.yml +3 -0
- data/Gemfile +10 -0
- data/LICENSE +22 -0
- data/README.md +54 -0
- data/Rakefile +44 -0
- data/examples/basics.rb +60 -0
- data/lib/jammed/base.rb +182 -0
- data/lib/jammed/followers.rb +36 -0
- data/lib/jammed/following.rb +36 -0
- data/lib/jammed/jams.rb +34 -0
- data/lib/jammed/likes.rb +32 -0
- data/lib/jammed/people_search.rb +55 -0
- data/lib/jammed/person.rb +32 -0
- data/lib/jammed/popular_jams.rb +14 -0
- data/lib/jammed/suggested_people.rb +14 -0
- data/lib/jammed/user.rb +158 -0
- data/lib/jammed/version.rb +4 -0
- data/lib/jammed.rb +28 -0
- data/spec/jammed/base_spec.rb +90 -0
- data/spec/jammed/followers_spec.rb +55 -0
- data/spec/jammed/following_spec.rb +55 -0
- data/spec/jammed/jams_spec.rb +53 -0
- data/spec/jammed/likes_spec.rb +51 -0
- data/spec/jammed/people_search_spec.rb +79 -0
- data/spec/jammed/person_spec.rb +38 -0
- data/spec/jammed/popular_jams_spec.rb +23 -0
- data/spec/jammed/suggested_people_spec.rb +18 -0
- data/spec/jammed/user_spec.rb +205 -0
- data/spec/sample_responses/followers.json +1495 -0
- data/spec/sample_responses/followers_affinity.json +1495 -0
- data/spec/sample_responses/followers_date.json +1281 -0
- data/spec/sample_responses/followers_name.json +0 -0
- data/spec/sample_responses/following.json +1495 -0
- data/spec/sample_responses/following_affinity.json +1495 -0
- data/spec/sample_responses/following_date.json +1406 -0
- data/spec/sample_responses/following_name.json +1406 -0
- data/spec/sample_responses/jams.json +620 -0
- data/spec/sample_responses/jams_past.json +602 -0
- data/spec/sample_responses/likes.json +1106 -0
- data/spec/sample_responses/likes_current.json +224 -0
- data/spec/sample_responses/likes_past.json +1106 -0
- data/spec/sample_responses/person.json +44 -0
- data/spec/sample_responses/popular.json +364 -0
- data/spec/sample_responses/search_artist.json +1377 -0
- data/spec/sample_responses/search_name.json +55 -0
- data/spec/sample_responses/search_track.json +1333 -0
- data/spec/sample_responses/suggested_people.json +1427 -0
- data/spec/spec_helper.rb +18 -0
- metadata +189 -0
@@ -0,0 +1,55 @@
|
|
1
|
+
{
|
2
|
+
"list": {
|
3
|
+
"hasMore": false,
|
4
|
+
"next": null
|
5
|
+
},
|
6
|
+
"people": [
|
7
|
+
{
|
8
|
+
"apiUrl": "http://api.thisismyjam.com/1/IFTFOM.json?key=987bcab01b929eb2c07877b224215c92",
|
9
|
+
"avatarNormal": "http://static01.thisismyjam.com/i/avtr_ffb74c754f2e74d43ba3e77aa46c3e1a_128.jpg",
|
10
|
+
"avatarSmall": "http://static02.thisismyjam.com/i/avtr_ffb74c754f2e74d43ba3e77aa46c3e1a_small.jpg",
|
11
|
+
"bio": "Between the park and the canal. Improving your music life with science and heart. We like coldwave, yacht rock, the future, and you.",
|
12
|
+
"followers": "http://api.thisismyjam.com/1/IFTFOM/followers.json?key=987bcab01b929eb2c07877b224215c92",
|
13
|
+
"followersCount": 1547,
|
14
|
+
"following": "http://api.thisismyjam.com/1/IFTFOM/following.json?key=987bcab01b929eb2c07877b224215c92",
|
15
|
+
"followingCount": 718,
|
16
|
+
"fullname": "Institute for the Future of Music",
|
17
|
+
"hasCurrentJam": true,
|
18
|
+
"jamCount": 34,
|
19
|
+
"joinedDate": "Fri, 26 Aug 2011 16:15:19 +0000",
|
20
|
+
"lastfmName": "IFTFOM",
|
21
|
+
"name": "IFTFOM",
|
22
|
+
"representativeArtists": [
|
23
|
+
"Earth Wind And Fire",
|
24
|
+
"Sachal Studios Orchestra",
|
25
|
+
"Fausto Papetti",
|
26
|
+
"The Fatback Band"
|
27
|
+
],
|
28
|
+
"twitterName": "IFTFOM",
|
29
|
+
"url": "http://www.thisismyjam.com/IFTFOM"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"apiUrl": "http://api.thisismyjam.com/1/LasVegasWI.json?key=987bcab01b929eb2c07877b224215c92",
|
33
|
+
"avatarNormal": "http://static03.thisismyjam.com/i/avtr_0483bbc75be708a96783d1ea53c1fe24_128.jpg",
|
34
|
+
"avatarSmall": "http://static03.thisismyjam.com/i/avtr_0483bbc75be708a96783d1ea53c1fe24_small.jpg",
|
35
|
+
"bio": "Playing records and drinking. Both to a relatively high standard\r\n\r\n@LasVegasWI\r\nfacebook.com/lasvegaswomensinstitute",
|
36
|
+
"followers": "http://api.thisismyjam.com/1/LasVegasWI/followers.json?key=987bcab01b929eb2c07877b224215c92",
|
37
|
+
"followersCount": 1,
|
38
|
+
"following": "http://api.thisismyjam.com/1/LasVegasWI/following.json?key=987bcab01b929eb2c07877b224215c92",
|
39
|
+
"followingCount": 15,
|
40
|
+
"fullname": "Las Vegas Women's Institute",
|
41
|
+
"hasCurrentJam": false,
|
42
|
+
"jamCount": 8,
|
43
|
+
"joinedDate": "Wed, 22 Feb 2012 09:52:06 +0000",
|
44
|
+
"name": "LasVegasWI",
|
45
|
+
"representativeArtists": [
|
46
|
+
"Ten City",
|
47
|
+
"LCD Soundsystem",
|
48
|
+
"Roy Ayers",
|
49
|
+
"Madness"
|
50
|
+
],
|
51
|
+
"twitterName": "LasVegasWI",
|
52
|
+
"url": "http://www.thisismyjam.com/LasVegasWI"
|
53
|
+
}
|
54
|
+
]
|
55
|
+
}
|