ESPN API icon

ESPN API

Consume ESPN Public API for sports data

Overview

This node interacts with the ESPN Public API to retrieve data related to college basketball teams. Specifically, the 'Get Teams' operation fetches a list of college basketball teams, allowing users to specify a maximum number of results to return and optionally filter by week or groups. This node is useful for applications that need up-to-date team information for college basketball, such as sports analytics, fantasy sports platforms, or sports news aggregators.

Use Case Examples

  1. Fetch a list of up to 50 college basketball teams for the current week.
  2. Retrieve college basketball teams filtered by specific groups for targeted analysis.

Properties

Name Meaning
Limit Maximum number of team results to return.
Week Week number to filter teams (applicable for NFL/College Football).
Groups Filter teams by groups, specified as a comma-separated string.

Output

JSON

  • ``
    • id - Unique identifier of the team.
    • name - Name of the team.
    • location - Geographical location or city of the team.
    • abbreviation - Abbreviated name or code for the team.
    • logo - URL or data for the team's logo image.
    • additionalData - Other team-related information returned by the ESPN API.

Dependencies

  • ESPN Public API

Troubleshooting

  • Ensure the 'resource' parameter is set to 'College Basketball' and 'operation' to 'Get Teams' to avoid incorrect API endpoint usage.
  • Verify network connectivity and ESPN API availability to prevent request failures.
  • If the node returns an error, check if the 'limit' parameter is within acceptable bounds and that optional filters like 'week' and 'groups' are correctly formatted.

Links

Discussion