finlight icon

finlight

Interact with the finlight REST API

List Sources

AI-generated

Overview

This node interacts with the Finlight REST API to retrieve a list of all available news sources. It is useful for users who want to discover or verify the news sources supported by the Finlight API before performing further operations like searching articles or fetching specific articles by link. For example, a user might use this operation to get a comprehensive list of news sources to filter or target in subsequent API calls.

Use Case Examples

  1. Retrieve all news sources available in the Finlight API to display in a dropdown menu for user selection.
  2. Fetch the list of sources to validate if a particular news source is supported before querying articles from it.

Output

JSON

  • source - The name or identifier of a news source

Dependencies

  • An API key credential for authenticating with the Finlight REST API

Troubleshooting

  • Ensure the API key credential is correctly configured and has the necessary permissions to access the Finlight API.
  • If the API request fails, check network connectivity and the Finlight API service status.
  • Verify that the node is set to the 'List Sources' operation to avoid unexpected results.

Links

Discussion