| java.lang.Object | |
| ↳ | org.mule.module.EspnConnector |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Mule ESPN API Connector - Connect Mule applications to the ESPN developer API (see http://developer.espn.com/)
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | BASE_URI | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| apiKey | apiKey provided by ESPN during api registration process | ||||||||||
| httpClient | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
getAthletes
| |||||||||||
getAthletesNews
| |||||||||||
getNews
| |||||||||||
getNewsById
| |||||||||||
getNewsHeadlines
| |||||||||||
getNewsHeadlinesTop
| |||||||||||
getAllSports
| |||||||||||
getSportsOrganizingBodies
| |||||||||||
getSportsOrganizingGroupsDivisions
| |||||||||||
getTeams
| |||||||||||
getTeamsNews
| |||||||||||
Set property
| |||||||||||
Set property
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
apiKey provided by ESPN during api registration process
getAthletes
| resource | ESPN resource (i.e. /sports/baseball/mlb) |
|---|---|
| athleteId | ESPN player id |
| dates | ESPN dates values (year) for requested data (i.e. 2011, 2012, etc...) |
| group | ESPN group (integer) allows filtering by "group" or division |
| enable | ESPN optional flag to enable specific info (comma separated string) valid values: [stats|logos|notes|competitors] |
| seasonType | ESPN season type accepts pre/reg/post for preseason, regular and postseason respectively |
| language | ESPN lang - valid values include 'en' (English) and 'es' (Spanish) |
| limit | Used to limit the number of results returned |
| offset | Used for pagination (i.e. 11 will start with the 11th entry in the response) |
| accept | Used when you can not set the Accepted header (i.e. application/json, text/xml) |
| IOException | Thrown in the event of a communications error |
|---|
getAthletesNews
| resource | ESPN resource (i.e. /espnw) |
|---|---|
| athleteId | ESPN identifier for a particular player/athlete. |
| dates | Integer in the form of "yyyymmdd" to get news for a particular date. |
| insider | ESPN content to be included, valid values: yes, no, only |
| language | ESPN lang - valid values include 'en' (English) and 'es' (Spanish) |
| limit | Used to limit the number of results returned |
| offset | Used for pagination (i.e. 11 will start with the 11th entry in the response) |
| accept | Used when you can not set the Accepted header (i.e. application/json, text/xml) |
| IOException | Thrown in the event of a communications error |
|---|
getNews
| resource | ESPN resource (i.e. /espnw) |
|---|---|
| dates | Integer in the form of "yyyymmdd" to get news for a particular date. |
| insider | ESPN content to be included, valid values: yes, no, only |
| language | ESPN lang - valid values include 'en' (English) and 'es' (Spanish) |
| limit | Used to limit the number of results returned |
| offset | Used for pagination (i.e. 11 will start with the 11th entry in the response) |
| accept | Used when you can not set the Accepted header (i.e. application/json, text/xml) |
| IOException | Thrown in the event of a communications error Thrown in the event of a communications error |
|---|
getNewsById
| resource | ESPN resource (i.e. /espnw) |
|---|---|
| newsId | ESPN specific story identifier |
| dates | Integer in the form of "yyyymmdd" to get news for a particular date. |
| insider | ESPN content to be included, valid values: yes, no, only |
| language | ESPN lang - valid values include 'en' (English) and 'es' (Spanish) |
| accept | Used when you can not set the Accepted header (i.e. application/json, text/xml) |
| IOException | Thrown in the event of a communications error Thrown in the event of a communications error |
|---|
getNewsHeadlines
| resource | ESPN resource (i.e. /espnw) |
|---|---|
| insider | ESPN content to be included, valid values: yes, no, only |
| language | ESPN lang - valid values include 'en' (English) and 'es' (Spanish) |
| limit | Used to limit the number of results returned |
| offset | Used for pagination (i.e. 11 will start with the 11th entry in the response) |
| accept | Used when you can not set the Accepted header (i.e. application/json, text/xml) |
| IOException | Thrown in the event of a communications error Thrown in the event of a communications error |
|---|
getNewsHeadlinesTop
| resource | ESPN resource (i.e. /espnw) |
|---|---|
| insider | ESPN content to be included, valid values: yes, no, only |
| language | ESPN lang - valid values include 'en' (English) and 'es' (Spanish) |
| region | Can be used in conjunction with the lang query string parameter to return focused headlines for a particular region, where available. |
| limit | Used to limit the number of results returned |
| offset | Used for pagination (i.e. 11 will start with the 11th entry in the response) |
| accept | Used when you can not set the Accepted header (i.e. application/json, text/xml) |
| IOException | Thrown in the event of a communications error |
|---|
getAllSports
| limit | Used to limit the number of results returned |
|---|---|
| offset | Used for pagination (i.e. 11 will start with the 11th entry in the response) |
| accept | Used when you can not set the Accepted header (i.e. application/json, text/xml) |
| IOException | Thrown in the event of a communications error |
|---|
getSportsOrganizingBodies
| sport | ESPN sport name |
|---|---|
| limit | Used to limit the number of results returned |
| offset | Used for pagination (i.e. 11 will start with the 11th entry in the response) |
| accept | Used when you can not set the Accepted header (i.e. application/json, text/xml) |
| IOException | Thrown in the event of a communications error |
|---|
getSportsOrganizingGroupsDivisions
| sport | ESPN sport name |
|---|---|
| league | ESPN league abbreviation (organizing body) |
| limit | Used to limit the number of results returned |
| offset | Used for pagination (i.e. 11 will start with the 11th entry in the response) |
| accept | Used when you can not set the Accepted header (i.e. application/json, text/xml) |
| IOException | Thrown in the event of a communications error |
|---|
getTeams
| resource | ESPN resource (i.e. /sports/baseball/mlb) |
|---|---|
| teamId | ESPN team identifier |
| enable | ESPN optional flag to enable specific info (comma separated string) valid values: [venues|stats|roster|leaders] |
| groups | ESPN group (integer) allows filtering by "group" or division |
| language | ESPN lang - valid values include 'en' (English) and 'es' (Spanish) |
| limit | Used to limit the number of results returned |
| offset | Used for pagination (i.e. 11 will start with the 11th entry in the response) |
| accept | Used when you can not set the Accepted header (i.e. application/json, text/xml) |
| IOException | Thrown in the event of a communications error |
|---|
getTeamsNews
| resource | ESPN resource (i.e. /espnw) |
|---|---|
| teamId | ESPN identifier for a particular team. |
| dates | Integer in the form of "yyyymmdd" to get news for a particular date. |
| insider | ESPN content to be included, valid values: yes, no, only |
| language | ESPN lang - valid values include 'en' (English) and 'es' (Spanish) |
| limit | Used to limit the number of results returned |
| offset | Used for pagination (i.e. 11 will start with the 11th entry in the response) |
| accept | Used when you can not set the Accepted header (i.e. application/json, text/xml) |
| IOException | Thrown in the event of a communications error |
|---|
Set property
| apiKey | ESPN API key (see developer.espn.com for access to their APIs) |
|---|
Set property
| httpClient |
|---|