get_news
Get found news articles related to an artist.
Input Parameters
| Name | Required | Multiple | Data Type | Description |
|---|---|---|---|---|
| version | yes | no | String | The API version you are calling: '3' |
| context | optional | no | Context | A free-form identifier for the request |
| api_key | yes | no | API Key | Your Echo Nest API Key |
| id | yes | no | Identifier | An Echo Nest Identifier |
| start | optional | no | Integer | The row number to begin with |
| rows | optional | no | Integer <= 15 | Defaults to 15. The number of results to return |
Note: This method requires an HTTP GET request.
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<response version="3">
<status>
<code>0</code>
<message>Success</message>
</status>
<query>
<parameter name="api_key">5ZAOMB3BUR8QUN4PE</parameter>
<parameter name="id">music://id.echonest.com/~/AR/ARH6W4X1187B99274F</parameter>
<parameter name="start">0</parameter>
<parameter name="rows">2</parameter>
</query>
<artist>
<artist>
<name>Radiohead</name>
<id>music://id.echonest.com/~/AR/ARH6W4X1187B99274F</id>
<foreign_id>music://id.echonest.com/5ZAOMB3BUR8QUN4PE/AR/1</foreign_id>
</artist>
<results found="67" shown="2" start="0">
<doc id="f43d70ef2692a56b9302a143adc68be0" type="web">
<name>Modeselektor supports Radiohead in Japan</name>
<url>http://www.residentadvisor.net/news.aspx?id=9632</url>
<summary>[news text removed]</summary>
<date_found>2008-11-26 21:19:35.356000</date_found>
</doc>
<doc id="0023ab6baeb5952faf3dc31818804752" type="web">
<name>Radiohead webcasting final show of U.S. tour tonight (Santa Barbara Bowl)</name>
<url>http://prefixmag.com/news/radiohead-webcasting-final-show-tour-santa-barbara/21104/</url>
<summary>news text removed</summary>
<date_found>2008-11-26 21:19:35.356000</date_found>
<date_posted>2008-10-14 16:38:15.582000</date_posted>
</doc>
</results>
</response>
Other Formats
- Also available as a feed in rss, atom formats
- e.g. http://developer.echonest.com/artist/Modest+Mouse/news.rss
- e.g. http://developer.echonest.com/artist/Modest+Mouse/news.atom
Response Codes
| -1 | Unknown error |
| 0 | Success |
| 1 | Missing/Invalid API key |
| 2 | This API key is not allowed to call this method |
| 3 | Rate limit exceeded |
| 4 | Missing parameter |
| 5 | Invalid parmameter |

