7digital 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. data/README.rdoc +9 -7
  2. data/lib/sevendigital.rb +54 -53
  3. data/lib/sevendigital/api_operator.rb +33 -30
  4. data/lib/sevendigital/api_operator_cached.rb +23 -23
  5. data/lib/sevendigital/api_request.rb +23 -23
  6. data/lib/sevendigital/client.rb +136 -124
  7. data/lib/sevendigital/default_configuration.yml +2 -2
  8. data/lib/sevendigital/digestion_tract/api_response_digestor.rb +52 -52
  9. data/lib/sevendigital/digestion_tract/artist_digestor.rb +31 -31
  10. data/lib/sevendigital/digestion_tract/chart_item_digestor.rb +27 -27
  11. data/lib/sevendigital/digestion_tract/digestor.rb +66 -66
  12. data/lib/sevendigital/digestion_tract/format_digestor.rb +21 -21
  13. data/lib/sevendigital/digestion_tract/label_digestor.rb +19 -19
  14. data/lib/sevendigital/digestion_tract/pager_digestor.rb +23 -23
  15. data/lib/sevendigital/digestion_tract/price_digestor.rb +24 -24
  16. data/lib/sevendigital/digestion_tract/release_digestor.rb +52 -52
  17. data/lib/sevendigital/digestion_tract/track_digestor.rb +37 -37
  18. data/lib/sevendigital/management/artist_manager.rb +45 -39
  19. data/lib/sevendigital/management/manager.rb +11 -11
  20. data/lib/sevendigital/management/release_manager.rb +57 -50
  21. data/lib/sevendigital/management/track_manager.rb +28 -17
  22. data/lib/sevendigital/model/api_response.rb +24 -12
  23. data/lib/sevendigital/model/artist.rb +46 -36
  24. data/lib/sevendigital/model/chart_item.rb +9 -9
  25. data/lib/sevendigital/model/format.rb +9 -9
  26. data/lib/sevendigital/model/label.rb +9 -9
  27. data/lib/sevendigital/model/price.rb +11 -11
  28. data/lib/sevendigital/model/release.rb +33 -33
  29. data/lib/sevendigital/model/sevendigital_error.rb +3 -3
  30. data/lib/sevendigital/model/sevendigital_object.rb +51 -51
  31. data/lib/sevendigital/model/track.rb +28 -7
  32. data/lib/sevendigital/pager.rb +16 -16
  33. data/lib/sevendigital/peachy_patch.rb +19 -0
  34. data/lib/sevendigital/proxy_police.rb +23 -23
  35. data/spec/api_operator_cached_spec.rb +47 -46
  36. data/spec/api_operator_spec.rb +114 -107
  37. data/spec/api_request_spec.rb +26 -27
  38. data/spec/client_spec.rb +75 -45
  39. data/spec/data/config/sevendigital.yml +5 -5
  40. data/spec/data/configuration_env_override.yml +5 -5
  41. data/spec/digestion_tract/api_response_digestor_spec.rb +78 -74
  42. data/spec/digestion_tract/artist_digestor_spec.rb +81 -82
  43. data/spec/digestion_tract/chart_digestor_spec.rb +52 -53
  44. data/spec/digestion_tract/format_digestor_spec.rb +38 -39
  45. data/spec/digestion_tract/label_digestor_spec.rb +33 -34
  46. data/spec/digestion_tract/pager_digestor_spec.rb +50 -51
  47. data/spec/digestion_tract/price_digestor_spec.rb +57 -57
  48. data/spec/digestion_tract/release_digestor_spec.rb +101 -102
  49. data/spec/digestion_tract/track_digestor_spec.rb +104 -106
  50. data/spec/management/artist_manager_spec.rb +128 -107
  51. data/spec/management/release_manager_spec.rb +222 -178
  52. data/spec/management/track_manager_spec.rb +88 -52
  53. data/spec/model/api_response_spec.rb +44 -31
  54. data/spec/model/artist_spec.rb +166 -121
  55. data/spec/model/release_spec.rb +109 -110
  56. data/spec/model/track_spec.rb +140 -0
  57. data/spec/pager_spec.rb +7 -8
  58. data/spec/peachy_spec_helper_patch.rb +7 -0
  59. data/spec/proxy_police_spec.rb +47 -48
  60. data/spec/spec_helper.rb +52 -48
  61. data/spec/test-xml/methods/artist/byTag/top.xml +50 -50
  62. data/spec/test-xml/methods/artist/details.xml +9 -9
  63. data/spec/test-xml/methods/artist/releases.xml +544 -544
  64. data/spec/test-xml/methods/artist/search.xml +19 -0
  65. data/spec/test-xml/methods/artist/similar.xml +39 -39
  66. data/spec/test-xml/methods/artist/toptracks.xml +279 -279
  67. data/spec/test-xml/methods/release/bydate.xml +173 -173
  68. data/spec/test-xml/methods/release/bytag/top.xml +150 -150
  69. data/spec/test-xml/methods/release/chart.xml +181 -181
  70. data/spec/test-xml/methods/release/details.xml +48 -48
  71. data/spec/test-xml/methods/release/recommend.xml +89 -89
  72. data/spec/test-xml/methods/release/search.xml +195 -0
  73. data/spec/test-xml/methods/release/tracks.xml +28 -28
  74. data/spec/test-xml/methods/track/chart.xml +149 -149
  75. data/spec/test-xml/methods/track/details.xml +30 -30
  76. data/spec/test-xml/methods/track/search.xml +160 -0
  77. data/spec/test-xml/objects/artist.xml +6 -6
  78. data/spec/test-xml/objects/artist_chart_item.xml +7 -7
  79. data/spec/test-xml/objects/artist_list.xml +22 -22
  80. data/spec/test-xml/objects/artist_list_empty.xml +4 -4
  81. data/spec/test-xml/objects/price.xml +7 -7
  82. data/spec/test-xml/objects/release.xml +40 -40
  83. data/spec/test-xml/objects/release_chart_item.xml +39 -34
  84. data/spec/test-xml/objects/release_list.xml +18 -18
  85. data/spec/test-xml/objects/release_list_empty.xml +4 -4
  86. data/spec/test-xml/objects/response.xml +39 -0
  87. data/spec/test-xml/objects/track.xml +33 -33
  88. data/spec/test-xml/objects/track_chart_item.xml +27 -27
  89. metadata +10 -5
  90. data/lib/peachy_patchy.rb +0 -14
  91. data/lib/sevendigital/version.rb +0 -3
@@ -1,90 +1,90 @@
1
- <?xml version="1.0" encoding="utf-8" ?>
2
- <response status="ok" version="1.2"
3
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
- xsi:noNamespaceSchemaLocation="http://api.7digital.com/1.2/static/7digitalAPI.xsd">
5
- <recommendations>
6
- <page>1</page>
7
- <pageSize>5</pageSize>
8
- <totalItems>2</totalItems>
9
- <recommendedItem>
10
- <release id="185992">
11
- <title>My World - Your World</title>
12
- <version></version>
13
- <type>Single</type>
14
- <barcode>5051442611960</barcode>
15
- <year>2007</year>
16
- <explicitContent>false</explicitContent>
17
- <artist id="141304">
18
- <name>Agenda Zero</name>
19
- <appearsAs>Agenda Zero</appearsAs>
20
- <url>http://www.7digital.com/artists/agenda-zero/?partner=712</url>
21
- </artist>
22
- <url>http://www.7digital.com/artists/agenda-zero/my-world-your-world/?partner=712</url>
23
- <image>http://cdn.7static.com/static/img/sleeveart/00/001/859/0000185992_50.jpg</image>
24
- <releaseDate>2007-11-23T00:00:00Z</releaseDate>
25
- <addedDate>2007-12-04T14:14:41Z</addedDate>
26
- <price>
27
- <currency code="GBP">&#163;</currency>
28
- <value></value>
29
- <formattedPrice>N/A</formattedPrice>
30
- <onSale>false</onSale>
31
- </price>
32
- <formats availableDrmFree="true">
33
- <format id="48">
34
- <fileFormat>MP3</fileFormat>
35
- <bitRate>256</bitRate>
36
- <drmFree>true</drmFree>
37
- </format>
38
- </formats>
39
- <label id="257">
40
- <name>WM Germany</name>
41
- </label>
42
- </release>
43
- </recommendedItem>
44
- <recommendedItem>
45
- <release id="108081">
46
- <title>Bring Back The Future</title>
47
- <version></version>
48
- <type>Single</type>
49
- <barcode>4014235781449</barcode>
50
- <year>2004</year>
51
- <explicitContent>false</explicitContent>
52
- <artist id="84568">
53
- <name>Terra V.</name>
54
- <appearsAs>Terra V.</appearsAs>
55
- <url>http://www.7digital.com/artists/terra-v/?partner=712</url>
56
- </artist>
57
- <url>http://www.7digital.com/artists/terra-v/bring-back-the-future/?partner=712</url>
58
- <image>http://cdn.7static.com/static/img/sleeveart/00/001/080/0000108081_50.jpg</image>
59
- <releaseDate>2004-11-24T00:00:00Z</releaseDate>
60
- <addedDate>2007-06-18T14:53:45+01:00</addedDate>
61
- <price>
62
- <currency code="GBP">&#163;</currency>
63
- <value></value>
64
- <formattedPrice>N/A</formattedPrice>
65
- <onSale>false</onSale>
66
- </price>
67
- <formats availableDrmFree="true">
68
- <format id="1">
69
- <fileFormat>WMA</fileFormat>
70
- <bitRate>192</bitRate>
71
- <drmFree>false</drmFree>
72
- </format>
73
- <format id="2">
74
- <fileFormat>M4A</fileFormat>
75
- <bitRate>192</bitRate>
76
- <drmFree>true</drmFree>
77
- </format>
78
- <format id="6">
79
- <fileFormat>MP3</fileFormat>
80
- <bitRate>192</bitRate>
81
- <drmFree>true</drmFree>
82
- </format>
83
- </formats>
84
- <label id="2792">
85
- <name>Fakten-Records</name>
86
- </label>
87
- </release>
88
- </recommendedItem>
89
- </recommendations>
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <response status="ok" version="1.2"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi:noNamespaceSchemaLocation="http://api.7digital.com/1.2/static/7digitalAPI.xsd">
5
+ <recommendations>
6
+ <page>1</page>
7
+ <pageSize>5</pageSize>
8
+ <totalItems>2</totalItems>
9
+ <recommendedItem>
10
+ <release id="185992">
11
+ <title>My World - Your World</title>
12
+ <version></version>
13
+ <type>Single</type>
14
+ <barcode>5051442611960</barcode>
15
+ <year>2007</year>
16
+ <explicitContent>false</explicitContent>
17
+ <artist id="141304">
18
+ <name>Agenda Zero</name>
19
+ <appearsAs>Agenda Zero</appearsAs>
20
+ <url>http://www.7digital.com/artists/agenda-zero/?partner=712</url>
21
+ </artist>
22
+ <url>http://www.7digital.com/artists/agenda-zero/my-world-your-world/?partner=712</url>
23
+ <image>http://cdn.7static.com/static/img/sleeveart/00/001/859/0000185992_50.jpg</image>
24
+ <releaseDate>2007-11-23T00:00:00Z</releaseDate>
25
+ <addedDate>2007-12-04T14:14:41Z</addedDate>
26
+ <price>
27
+ <currency code="GBP">&#163;</currency>
28
+ <value></value>
29
+ <formattedPrice>N/A</formattedPrice>
30
+ <onSale>false</onSale>
31
+ </price>
32
+ <formats availableDrmFree="true">
33
+ <format id="48">
34
+ <fileFormat>MP3</fileFormat>
35
+ <bitRate>256</bitRate>
36
+ <drmFree>true</drmFree>
37
+ </format>
38
+ </formats>
39
+ <label id="257">
40
+ <name>WM Germany</name>
41
+ </label>
42
+ </release>
43
+ </recommendedItem>
44
+ <recommendedItem>
45
+ <release id="108081">
46
+ <title>Bring Back The Future</title>
47
+ <version></version>
48
+ <type>Single</type>
49
+ <barcode>4014235781449</barcode>
50
+ <year>2004</year>
51
+ <explicitContent>false</explicitContent>
52
+ <artist id="84568">
53
+ <name>Terra V.</name>
54
+ <appearsAs>Terra V.</appearsAs>
55
+ <url>http://www.7digital.com/artists/terra-v/?partner=712</url>
56
+ </artist>
57
+ <url>http://www.7digital.com/artists/terra-v/bring-back-the-future/?partner=712</url>
58
+ <image>http://cdn.7static.com/static/img/sleeveart/00/001/080/0000108081_50.jpg</image>
59
+ <releaseDate>2004-11-24T00:00:00Z</releaseDate>
60
+ <addedDate>2007-06-18T14:53:45+01:00</addedDate>
61
+ <price>
62
+ <currency code="GBP">&#163;</currency>
63
+ <value></value>
64
+ <formattedPrice>N/A</formattedPrice>
65
+ <onSale>false</onSale>
66
+ </price>
67
+ <formats availableDrmFree="true">
68
+ <format id="1">
69
+ <fileFormat>WMA</fileFormat>
70
+ <bitRate>192</bitRate>
71
+ <drmFree>false</drmFree>
72
+ </format>
73
+ <format id="2">
74
+ <fileFormat>M4A</fileFormat>
75
+ <bitRate>192</bitRate>
76
+ <drmFree>true</drmFree>
77
+ </format>
78
+ <format id="6">
79
+ <fileFormat>MP3</fileFormat>
80
+ <bitRate>192</bitRate>
81
+ <drmFree>true</drmFree>
82
+ </format>
83
+ </formats>
84
+ <label id="2792">
85
+ <name>Fakten-Records</name>
86
+ </label>
87
+ </release>
88
+ </recommendedItem>
89
+ </recommendations>
90
90
  </response>
@@ -0,0 +1,195 @@
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <response status="ok" version="1.2"
3
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi:noNamespaceSchemaLocation="http://api.7digital.com/1.2/static/7digitalAPI.xsd">
5
+ <searchResults>
6
+ <page>1</page>
7
+ <pageSize>5</pageSize>
8
+ <totalItems>66</totalItems>
9
+ <searchResult>
10
+ <type>release</type>
11
+ <release id="188863">
12
+ <title>In Rainbows</title>
13
+ <version></version>
14
+ <type>Album</type>
15
+ <barcode>093624988298</barcode>
16
+ <year>2007</year>
17
+ <explicitContent>false</explicitContent>
18
+ <artist id="304">
19
+ <name>Radiohead</name>
20
+ <appearsAs>Radiohead</appearsAs>
21
+ <url>http://eu.7digital.com/artists/radiohead/?partner=827</url>
22
+ </artist>
23
+ <url>http://eu.7digital.com/artists/radiohead/in-rainbows/?partner=827</url>
24
+ <image>http://cdn.7static.com/static/img/sleeveart/00/001/888/0000188863_50.jpg</image>
25
+ <releaseDate>2007-12-31T00:00:00Z</releaseDate>
26
+ <addedDate>2007-12-19T13:31:02Z</addedDate>
27
+ <price>
28
+ <currency code="EUR">€</currency>
29
+ <value>9.99</value>
30
+ <formattedPrice>9,99€</formattedPrice>
31
+ <onSale>true</onSale>
32
+ </price>
33
+ <formats availableDrmFree="true">
34
+ <format id="17">
35
+ <fileFormat>MP3</fileFormat>
36
+ <bitRate>320</bitRate>
37
+ <drmFree>true</drmFree>
38
+ </format>
39
+ </formats>
40
+ <label id="13496">
41
+ <name>Warner/Chappell Music</name>
42
+ </label>
43
+ </release>
44
+ </searchResult>
45
+ <searchResult>
46
+ <type>release</type>
47
+ <release id="257658">
48
+ <title>The Best Of</title>
49
+ <version></version>
50
+ <type>Album</type>
51
+ <barcode>5099921210754</barcode>
52
+ <year>2008</year>
53
+ <explicitContent>false</explicitContent>
54
+ <artist id="304">
55
+ <name>Radiohead</name>
56
+ <appearsAs>Radiohead</appearsAs>
57
+ <url>http://eu.7digital.com/artists/radiohead/?partner=827</url>
58
+ </artist>
59
+ <url>http://eu.7digital.com/artists/radiohead/the-best-of/?partner=827</url>
60
+ <image>http://cdn.7static.com/static/img/sleeveart/00/002/576/0000257658_50.jpg</image>
61
+ <releaseDate>2008-06-02T00:00:00+01:00</releaseDate>
62
+ <addedDate>2008-05-19T10:44:21+01:00</addedDate>
63
+ <price>
64
+ <currency code="EUR">€</currency>
65
+ <value>8.99</value>
66
+ <formattedPrice>8,99€</formattedPrice>
67
+ <onSale>true</onSale>
68
+ </price>
69
+ <formats availableDrmFree="true">
70
+ <format id="17">
71
+ <fileFormat>MP3</fileFormat>
72
+ <bitRate>320</bitRate>
73
+ <drmFree>true</drmFree>
74
+ </format>
75
+ </formats>
76
+ <label id="77">
77
+ <name>EMI UK</name>
78
+ </label>
79
+ </release>
80
+ </searchResult>
81
+ <searchResult>
82
+ <type>release</type>
83
+ <release id="257676">
84
+ <title>The Best Of</title>
85
+ <version></version>
86
+ <type>Album</type>
87
+ <barcode>5099921644054</barcode>
88
+ <year>2008</year>
89
+ <explicitContent>false</explicitContent>
90
+ <artist id="304">
91
+ <name>Radiohead</name>
92
+ <appearsAs>Radiohead</appearsAs>
93
+ <url>http://eu.7digital.com/artists/radiohead/?partner=827</url>
94
+ </artist>
95
+ <url>http://eu.7digital.com/artists/radiohead/the-best-of-1/?partner=827</url>
96
+ <image>http://cdn.7static.com/static/img/sleeveart/00/002/576/0000257676_50.jpg</image>
97
+ <releaseDate>2008-06-02T00:00:00+01:00</releaseDate>
98
+ <addedDate>2008-05-19T10:45:14+01:00</addedDate>
99
+ <price>
100
+ <currency code="EUR">€</currency>
101
+ <value>9.79</value>
102
+ <formattedPrice>9,79€</formattedPrice>
103
+ <onSale>true</onSale>
104
+ </price>
105
+ <formats availableDrmFree="true">
106
+ <format id="17">
107
+ <fileFormat>MP3</fileFormat>
108
+ <bitRate>320</bitRate>
109
+ <drmFree>true</drmFree>
110
+ </format>
111
+ </formats>
112
+ <label id="77">
113
+ <name>EMI UK</name>
114
+ </label>
115
+ </release>
116
+ </searchResult>
117
+ <searchResult>
118
+ <type>release</type>
119
+ <release id="257712">
120
+ <title>Kid A</title>
121
+ <version></version>
122
+ <type>Album</type>
123
+ <barcode>5099922722355</barcode>
124
+ <year>2008</year>
125
+ <explicitContent>false</explicitContent>
126
+ <artist id="304">
127
+ <name>Radiohead</name>
128
+ <appearsAs>Radiohead</appearsAs>
129
+ <url>http://eu.7digital.com/artists/radiohead/?partner=827</url>
130
+ </artist>
131
+ <url>http://eu.7digital.com/artists/radiohead/kid-a-1/?partner=827</url>
132
+ <image>http://cdn.7static.com/static/img/sleeveart/00/002/577/0000257712_50.jpg</image>
133
+ <releaseDate>2008-06-02T00:00:00+01:00</releaseDate>
134
+ <addedDate>2008-05-19T10:46:41+01:00</addedDate>
135
+ <price>
136
+ <currency code="EUR">€</currency>
137
+ <value>9.79</value>
138
+ <formattedPrice>9,79€</formattedPrice>
139
+ <onSale>true</onSale>
140
+ </price>
141
+ <formats availableDrmFree="true">
142
+ <format id="17">
143
+ <fileFormat>MP3</fileFormat>
144
+ <bitRate>320</bitRate>
145
+ <drmFree>true</drmFree>
146
+ </format>
147
+ </formats>
148
+ <label id="77">
149
+ <name>EMI UK</name>
150
+ </label>
151
+ </release>
152
+ </searchResult>
153
+ <searchResult>
154
+ <type>release</type>
155
+ <release id="268855">
156
+ <title>Stop Whispering</title>
157
+ <version></version>
158
+ <type>Video</type>
159
+ <barcode>5099922767752</barcode>
160
+ <year>2008</year>
161
+ <explicitContent>false</explicitContent>
162
+ <artist id="304">
163
+ <name>Radiohead</name>
164
+ <appearsAs>Radiohead</appearsAs>
165
+ <url>http://eu.7digital.com/artists/radiohead/?partner=827</url>
166
+ </artist>
167
+ <url>http://eu.7digital.com/artists/radiohead/stop-whispering/?partner=827</url>
168
+ <image>http://cdn.7static.com/static/img/sleeveart/00/002/688/0000268855_50.jpg</image>
169
+ <releaseDate>2008-06-02T00:00:00+01:00</releaseDate>
170
+ <addedDate>2008-06-18T12:33:02+01:00</addedDate>
171
+ <price>
172
+ <currency code="EUR">€</currency>
173
+ <value></value>
174
+ <formattedPrice>N/A</formattedPrice>
175
+ <onSale>false</onSale>
176
+ </price>
177
+ <formats availableDrmFree="true">
178
+ <format id="9">
179
+ <fileFormat>MP4</fileFormat>
180
+ <bitRate></bitRate>
181
+ <drmFree>true</drmFree>
182
+ </format>
183
+ <format id="21">
184
+ <fileFormat>MP4</fileFormat>
185
+ <bitRate></bitRate>
186
+ <drmFree>true</drmFree>
187
+ </format>
188
+ </formats>
189
+ <label id="77">
190
+ <name>EMI UK</name>
191
+ </label>
192
+ </release>
193
+ </searchResult>
194
+ </searchResults>
195
+ </response>
@@ -1,29 +1,29 @@
1
- <response status="ok" version="1.2">
2
- <tracks>
3
- <page>1</page>
4
- <pageSize>10</pageSize>
5
- <totalItems>2</totalItems>
6
- <track id="1628015">
7
- <title>Burning</title>
8
- <version />
9
- <artist id="29755">
10
- <name>The Whitest Boy Alive</name>
11
- <appearsAs>The Whitest Boy Alive</appearsAs>
12
- </artist>
13
- <release id="123">
14
- <title>Test</title>
15
- </release>
16
- </track>
17
- <track id="1628016">
18
- <title>Burning</title>
19
- <version />
20
- <artist id="29755">
21
- <name>The Whitest Boy Alive</name>
22
- <appearsAs>The Whitest Boy Alive</appearsAs>
23
- </artist>
24
- <release id="123">
25
- <title>Test</title>
26
- </release>
27
- </track>
28
- </tracks>
1
+ <response status="ok" version="1.2">
2
+ <tracks>
3
+ <page>1</page>
4
+ <pageSize>10</pageSize>
5
+ <totalItems>2</totalItems>
6
+ <track id="1628015">
7
+ <title>Burning</title>
8
+ <version />
9
+ <artist id="29755">
10
+ <name>The Whitest Boy Alive</name>
11
+ <appearsAs>The Whitest Boy Alive</appearsAs>
12
+ </artist>
13
+ <release id="123">
14
+ <title>Test</title>
15
+ </release>
16
+ </track>
17
+ <track id="1628016">
18
+ <title>Burning</title>
19
+ <version />
20
+ <artist id="29755">
21
+ <name>The Whitest Boy Alive</name>
22
+ <appearsAs>The Whitest Boy Alive</appearsAs>
23
+ </artist>
24
+ <release id="123">
25
+ <title>Test</title>
26
+ </release>
27
+ </track>
28
+ </tracks>
29
29
  </response>
@@ -1,150 +1,150 @@
1
- <response status="ok" version="1.2"
2
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
- xsi:noNamespaceSchemaLocation="http://api.7digital.com/1.2/static/7digitalAPI.xsd">
4
- <chart>
5
- <page>1</page>
6
- <pageSize>5</pageSize>
7
- <totalItems>20</totalItems>
8
- <type>track</type>
9
- <fromDate>2008-08-01T00:00:00+01:00</fromDate>
10
- <toDate>2008-08-01T00:00:00+01:00</toDate>
11
- <chartItem>
12
- <position>1</position>
13
- <change>Down</change>
14
- <track id="2825304">
15
- <title>Ultraviolet (Edit)</title>
16
- <version></version>
17
- <artist id="202721">
18
- <name>Stiff Dylans</name>
19
- <appearsAs>Stiff Dylans</appearsAs>
20
- <url>http://www.7digital.com/artists/stiff-dylans/?partner=712</url>
21
- </artist>
22
- <release id="264505">
23
- <title>Ultraviolet</title>
24
- <version></version>
25
- <type>Single</type>
26
- <barcode>886973254226</barcode>
27
- <artist id="202721">
28
- <name>Stiff Dylans</name>
29
- <appearsAs>Stiff Dylans</appearsAs>
30
- <url>http://www.7digital.com/artists/stiff-dylans/?partner=712</url>
31
- </artist>
32
- <url>http://www.7digital.com/artists/stiff-dylans/ultraviolet/?partner=712</url>
33
- <image>http://cdn.7static.com/static/img/sleeveart/00/002/645/0000264505_50.jpg</image>
34
- </release>
35
- <url>http://www.7digital.com/artists/stiff-dylans/ultraviolet/01-Ultraviolet-(Edit)?partner=712&amp;partner=712
36
- </url>
37
- </track>
38
- </chartItem>
39
- <chartItem>
40
- <position>2</position>
41
- <change>Down</change>
42
- <track id="2937488">
43
- <title>All Summer Long (Album Version)</title>
44
- <version></version>
45
- <artist id="40985">
46
- <name>Kid Rock</name>
47
- <appearsAs>Kid Rock</appearsAs>
48
- <url>http://www.7digital.com/artists/kid-rock/?partner=712</url>
49
- </artist>
50
- <release id="267635">
51
- <title>All Summer Long</title>
52
- <version></version>
53
- <type>Single</type>
54
- <barcode>075679990754</barcode>
55
- <artist id="40985">
56
- <name>Kid Rock</name>
57
- <appearsAs>Kid Rock</appearsAs>
58
- <url>http://www.7digital.com/artists/kid-rock/?partner=712</url>
59
- </artist>
60
- <url>http://www.7digital.com/artists/kid-rock/all-summer-long-2/?partner=712</url>
61
- <image>http://cdn.7static.com/static/img/sleeveart/00/002/676/0000267635_50.jpg</image>
62
- </release>
63
- <url>http://www.7digital.com/artists/kid-rock/all-summer-long-2/01-All-Summer-Long-(Album-Version)?partner=712&amp;partner=712</url>
64
- </track>
65
- </chartItem>
66
- <chartItem>
67
- <position>3</position>
68
- <change>Down</change>
69
- <track id="3237369">
70
- <title>I Kissed A Girl</title>
71
- <version></version>
72
- <artist id="132789">
73
- <name>Katy Perry</name>
74
- <appearsAs>Katy Perry</appearsAs>
75
- <url>http://www.7digital.com/artists/katy-perry/?partner=712</url>
76
- </artist>
77
- <release id="288432">
78
- <title>I Kissed A Girl</title>
79
- <version></version>
80
- <type>Single</type>
81
- <barcode>5099923517752</barcode>
82
- <artist id="132789">
83
- <name>Katy Perry</name>
84
- <appearsAs>Katy Perry</appearsAs>
85
- <url>http://www.7digital.com/artists/katy-perry/?partner=712</url>
86
- </artist>
87
- <url>http://www.7digital.com/artists/katy-perry/i-kissed-a-girl-4/?partner=712</url>
88
- <image>http://cdn.7static.com/static/img/sleeveart/00/002/884/0000288432_50.jpg</image>
89
- </release>
90
- <url>http://www.7digital.com/artists/katy-perry/i-kissed-a-girl-4/01-I-Kissed-A-Girl?partner=712&amp;partner=712
91
- </url>
92
- </track>
93
- </chartItem>
94
- <chartItem>
95
- <position>4</position>
96
- <change>Down</change>
97
- <track id="3059686">
98
- <title>Hometown Glory (High Contrast Remix)</title>
99
- <version></version>
100
- <artist id="142111">
101
- <name>Adele</name>
102
- <appearsAs>Adele</appearsAs>
103
- <url>http://www.7digital.com/artists/adele/?partner=712</url>
104
- </artist>
105
- <release id="275260">
106
- <title>Hometown Glory</title>
107
- <version></version>
108
- <type>Single</type>
109
- <barcode>634904037468</barcode>
110
- <artist id="142111">
111
- <name>Adele</name>
112
- <appearsAs>Adele</appearsAs>
113
- <url>http://www.7digital.com/artists/adele/?partner=712</url>
114
- </artist>
115
- <url>http://www.7digital.com/artists/adele/hometown-glory/?partner=712</url>
116
- <image>http://cdn.7static.com/static/img/sleeveart/00/002/752/0000275260_50.jpg</image>
117
- </release>
118
- <url>http://www.7digital.com/artists/adele/hometown-glory/02-Hometown-Glory-(High-Contrast-Remix)?partner=712&amp;partner=712</url>
119
- </track>
120
- </chartItem>
121
- <chartItem>
122
- <position>5</position>
123
- <change>Down</change>
124
- <track id="2856175">
125
- <title>Dance Wiv Me</title>
126
- <version>Extended</version>
127
- <artist id="17811">
128
- <name>Dizzee Rascal</name>
129
- <appearsAs>Dizzee Rascal feat Calvin Harris &amp; Chrome</appearsAs>
130
- <url>http://www.7digital.com/artists/dizzee-rascal/?partner=712</url>
131
- </artist>
132
- <release id="265402">
133
- <title>Dance Wiv Me</title>
134
- <version></version>
135
- <type>Single</type>
136
- <barcode>5050954181787</barcode>
137
- <artist id="17811">
138
- <name>Dizzee Rascal</name>
139
- <appearsAs>Dizzee Rascal feat Calvin Harris &amp; Chrome</appearsAs>
140
- <url>http://www.7digital.com/artists/dizzee-rascal/?partner=712</url>
141
- </artist>
142
- <url>http://www.7digital.com/artists/dizzee-rascal/dance-wiv-me/?partner=712</url>
143
- <image>http://cdn.7static.com/static/img/sleeveart/00/002/654/0000265402_50.jpg</image>
144
- </release>
145
- <url>http://www.7digital.com/artists/dizzee-rascal/dance-wiv-me/02-Dance-Wiv-Me?partner=712&amp;partner=712
146
- </url>
147
- </track>
148
- </chartItem>
149
- </chart>
1
+ <response status="ok" version="1.2"
2
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi:noNamespaceSchemaLocation="http://api.7digital.com/1.2/static/7digitalAPI.xsd">
4
+ <chart>
5
+ <page>1</page>
6
+ <pageSize>5</pageSize>
7
+ <totalItems>20</totalItems>
8
+ <type>track</type>
9
+ <fromDate>2008-08-01T00:00:00+01:00</fromDate>
10
+ <toDate>2008-08-01T00:00:00+01:00</toDate>
11
+ <chartItem>
12
+ <position>1</position>
13
+ <change>Down</change>
14
+ <track id="2825304">
15
+ <title>Ultraviolet (Edit)</title>
16
+ <version></version>
17
+ <artist id="202721">
18
+ <name>Stiff Dylans</name>
19
+ <appearsAs>Stiff Dylans</appearsAs>
20
+ <url>http://www.7digital.com/artists/stiff-dylans/?partner=712</url>
21
+ </artist>
22
+ <release id="264505">
23
+ <title>Ultraviolet</title>
24
+ <version></version>
25
+ <type>Single</type>
26
+ <barcode>886973254226</barcode>
27
+ <artist id="202721">
28
+ <name>Stiff Dylans</name>
29
+ <appearsAs>Stiff Dylans</appearsAs>
30
+ <url>http://www.7digital.com/artists/stiff-dylans/?partner=712</url>
31
+ </artist>
32
+ <url>http://www.7digital.com/artists/stiff-dylans/ultraviolet/?partner=712</url>
33
+ <image>http://cdn.7static.com/static/img/sleeveart/00/002/645/0000264505_50.jpg</image>
34
+ </release>
35
+ <url>http://www.7digital.com/artists/stiff-dylans/ultraviolet/01-Ultraviolet-(Edit)?partner=712&amp;partner=712
36
+ </url>
37
+ </track>
38
+ </chartItem>
39
+ <chartItem>
40
+ <position>2</position>
41
+ <change>Down</change>
42
+ <track id="2937488">
43
+ <title>All Summer Long (Album Version)</title>
44
+ <version></version>
45
+ <artist id="40985">
46
+ <name>Kid Rock</name>
47
+ <appearsAs>Kid Rock</appearsAs>
48
+ <url>http://www.7digital.com/artists/kid-rock/?partner=712</url>
49
+ </artist>
50
+ <release id="267635">
51
+ <title>All Summer Long</title>
52
+ <version></version>
53
+ <type>Single</type>
54
+ <barcode>075679990754</barcode>
55
+ <artist id="40985">
56
+ <name>Kid Rock</name>
57
+ <appearsAs>Kid Rock</appearsAs>
58
+ <url>http://www.7digital.com/artists/kid-rock/?partner=712</url>
59
+ </artist>
60
+ <url>http://www.7digital.com/artists/kid-rock/all-summer-long-2/?partner=712</url>
61
+ <image>http://cdn.7static.com/static/img/sleeveart/00/002/676/0000267635_50.jpg</image>
62
+ </release>
63
+ <url>http://www.7digital.com/artists/kid-rock/all-summer-long-2/01-All-Summer-Long-(Album-Version)?partner=712&amp;partner=712</url>
64
+ </track>
65
+ </chartItem>
66
+ <chartItem>
67
+ <position>3</position>
68
+ <change>Down</change>
69
+ <track id="3237369">
70
+ <title>I Kissed A Girl</title>
71
+ <version></version>
72
+ <artist id="132789">
73
+ <name>Katy Perry</name>
74
+ <appearsAs>Katy Perry</appearsAs>
75
+ <url>http://www.7digital.com/artists/katy-perry/?partner=712</url>
76
+ </artist>
77
+ <release id="288432">
78
+ <title>I Kissed A Girl</title>
79
+ <version></version>
80
+ <type>Single</type>
81
+ <barcode>5099923517752</barcode>
82
+ <artist id="132789">
83
+ <name>Katy Perry</name>
84
+ <appearsAs>Katy Perry</appearsAs>
85
+ <url>http://www.7digital.com/artists/katy-perry/?partner=712</url>
86
+ </artist>
87
+ <url>http://www.7digital.com/artists/katy-perry/i-kissed-a-girl-4/?partner=712</url>
88
+ <image>http://cdn.7static.com/static/img/sleeveart/00/002/884/0000288432_50.jpg</image>
89
+ </release>
90
+ <url>http://www.7digital.com/artists/katy-perry/i-kissed-a-girl-4/01-I-Kissed-A-Girl?partner=712&amp;partner=712
91
+ </url>
92
+ </track>
93
+ </chartItem>
94
+ <chartItem>
95
+ <position>4</position>
96
+ <change>Down</change>
97
+ <track id="3059686">
98
+ <title>Hometown Glory (High Contrast Remix)</title>
99
+ <version></version>
100
+ <artist id="142111">
101
+ <name>Adele</name>
102
+ <appearsAs>Adele</appearsAs>
103
+ <url>http://www.7digital.com/artists/adele/?partner=712</url>
104
+ </artist>
105
+ <release id="275260">
106
+ <title>Hometown Glory</title>
107
+ <version></version>
108
+ <type>Single</type>
109
+ <barcode>634904037468</barcode>
110
+ <artist id="142111">
111
+ <name>Adele</name>
112
+ <appearsAs>Adele</appearsAs>
113
+ <url>http://www.7digital.com/artists/adele/?partner=712</url>
114
+ </artist>
115
+ <url>http://www.7digital.com/artists/adele/hometown-glory/?partner=712</url>
116
+ <image>http://cdn.7static.com/static/img/sleeveart/00/002/752/0000275260_50.jpg</image>
117
+ </release>
118
+ <url>http://www.7digital.com/artists/adele/hometown-glory/02-Hometown-Glory-(High-Contrast-Remix)?partner=712&amp;partner=712</url>
119
+ </track>
120
+ </chartItem>
121
+ <chartItem>
122
+ <position>5</position>
123
+ <change>Down</change>
124
+ <track id="2856175">
125
+ <title>Dance Wiv Me</title>
126
+ <version>Extended</version>
127
+ <artist id="17811">
128
+ <name>Dizzee Rascal</name>
129
+ <appearsAs>Dizzee Rascal feat Calvin Harris &amp; Chrome</appearsAs>
130
+ <url>http://www.7digital.com/artists/dizzee-rascal/?partner=712</url>
131
+ </artist>
132
+ <release id="265402">
133
+ <title>Dance Wiv Me</title>
134
+ <version></version>
135
+ <type>Single</type>
136
+ <barcode>5050954181787</barcode>
137
+ <artist id="17811">
138
+ <name>Dizzee Rascal</name>
139
+ <appearsAs>Dizzee Rascal feat Calvin Harris &amp; Chrome</appearsAs>
140
+ <url>http://www.7digital.com/artists/dizzee-rascal/?partner=712</url>
141
+ </artist>
142
+ <url>http://www.7digital.com/artists/dizzee-rascal/dance-wiv-me/?partner=712</url>
143
+ <image>http://cdn.7static.com/static/img/sleeveart/00/002/654/0000265402_50.jpg</image>
144
+ </release>
145
+ <url>http://www.7digital.com/artists/dizzee-rascal/dance-wiv-me/02-Dance-Wiv-Me?partner=712&amp;partner=712
146
+ </url>
147
+ </track>
148
+ </chartItem>
149
+ </chart>
150
150
  </response>