Twitch icon

Twitch

Interact with Twitch

Overview

This node interacts with the Twitch API to perform various operations related to Twitch channels, games, and streams. Specifically, for the "Search Channels" operation, it allows users to search for Twitch channels based on a query string. This is useful when you want to find channels matching certain keywords or topics.

Practical examples include:

  • Finding popular or relevant Twitch channels by name or topic.
  • Integrating Twitch channel search into a content discovery workflow.
  • Automating retrieval of channel information for further processing or notifications.

Properties

Name Meaning
Query The search query string used to find Twitch channels that match the input text.

Output

The output is a JSON array containing objects representing Twitch channels that match the search query. Each object typically includes details such as channel ID, display name, broadcaster language, game being played, live status, and other metadata provided by the Twitch API.

No binary data is output by this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the Twitch API.
  • The node uses the Twitch API endpoints under /search/channels to perform the search.
  • Proper configuration of the Twitch API credentials in n8n is necessary for successful execution.

Troubleshooting

  • Empty results: If the search returns no channels, verify that the query string is correct and that there are channels matching the criteria on Twitch.
  • Authentication errors: Ensure the Twitch API credential is valid and has the necessary permissions.
  • API rate limits: Twitch enforces rate limits; if exceeded, the node may fail. Consider adding delays or reducing request frequency.
  • Invalid parameters: Make sure the "Query" property is not empty and is a valid string.

Links and References

Discussion