Permalink
Browse files

Update README.md to highlight JSON

1 parent 2c4e162 commit f0f29520d8389d3c4d6faf3736eb5c47080a41b9 @dewski committed Oct 9, 2012
Showing with 35 additions and 33 deletions.
  1. +35 −33 README.md
View
@@ -6,39 +6,41 @@ A Ruby wrapper around the iTunes API that lets you search for any sort of data t
Example Response
----------------
- {
- "artist_id" : 954266,
- "artist_name" : "Green Day",
- "artist_view_url" : "http://itunes.apple.com/us/artist/green-day/id954266?uo=4",
- "artwork_url100" : "http://a1.phobos.apple.com/us/r1000/049/Features/1e/17/05/dj.rpihtiig.100x100-75.jpg",
- "artwork_url30" : "http://a1.phobos.apple.com/us/r1000/049/Features/1e/17/05/dj.rpihtiig.30x30-50.jpg",
- "artwork_url60" : "http://a1.phobos.apple.com/us/r1000/049/Features/1e/17/05/dj.rpihtiig.60x60-50.jpg",
- "collection_censored_name" : "Dookie",
- "collection_explicitness" : "explicit",
- "collection_id" : 5132583,
- "collection_name" : "Dookie",
- "collection_price" : 9.99,
- "collection_view_url" : "http://itunes.apple.com/us/album/she/id5132583?i=5132563&uo=4",
- "content_advisory_rating" : null,
- "country" : "USA",
- "currency" : "USD",
- "disc_count" : 1,
- "disc_number" : 1,
- "kind" : "song",
- "preview_url" : "http://a1.phobos.apple.com/us/r1000/027/Music/0e/86/7a/mzm.wchstext.aac.p.m4a",
- "primary_genre_name" : "Alternative",
- "release_date" : "2003-04-22 07:00:00 Etc/GMT",
- "track_censored_name" : "She",
- "track_count" : 15,
- "track_explicitness" : "notExplicit",
- "track_id" : 5132563,
- "track_name" : "She",
- "track_number" : 8,
- "track_price" : 1.29,
- "track_time_millis" : 134293,
- "track_view_url" : "http://itunes.apple.com/us/album/she/id5132583?i=5132563&uo=4",
- "wrapper_type" : "track"
- }
+```json
+{
+ "artist_id" : 954266,
+ "artist_name" : "Green Day",
+ "artist_view_url" : "http://itunes.apple.com/us/artist/green-day/id954266?uo=4",
+ "artwork_url100" : "http://a1.phobos.apple.com/us/r1000/049/Features/1e/17/05/dj.rpihtiig.100x100-75.jpg",
+ "artwork_url30" : "http://a1.phobos.apple.com/us/r1000/049/Features/1e/17/05/dj.rpihtiig.30x30-50.jpg",
+ "artwork_url60" : "http://a1.phobos.apple.com/us/r1000/049/Features/1e/17/05/dj.rpihtiig.60x60-50.jpg",
+ "collection_censored_name" : "Dookie",
+ "collection_explicitness" : "explicit",
+ "collection_id" : 5132583,
+ "collection_name" : "Dookie",
+ "collection_price" : 9.99,
+ "collection_view_url" : "http://itunes.apple.com/us/album/she/id5132583?i=5132563&uo=4",
+ "content_advisory_rating" : null,
+ "country" : "USA",
+ "currency" : "USD",
+ "disc_count" : 1,
+ "disc_number" : 1,
+ "kind" : "song",
+ "preview_url" : "http://a1.phobos.apple.com/us/r1000/027/Music/0e/86/7a/mzm.wchstext.aac.p.m4a",
+ "primary_genre_name" : "Alternative",
+ "release_date" : "2003-04-22 07:00:00 Etc/GMT",
+ "track_censored_name" : "She",
+ "track_count" : 15,
+ "track_explicitness" : "notExplicit",
+ "track_id" : 5132563,
+ "track_name" : "She",
+ "track_number" : 8,
+ "track_price" : 1.29,
+ "track_time_millis" : 134293,
+ "track_view_url" : "http://itunes.apple.com/us/album/she/id5132583?i=5132563&uo=4",
+ "wrapper_type" : "track"
+}
+```
Available Methods
-----------------

0 comments on commit f0f2952

Please sign in to comment.