Audiobookshelf icon

Audiobookshelf

Work with the Audiobookshelf API

Overview

This node interacts with the Audiobookshelf API to retrieve statistical information about a specific library. It is useful when you want to gather insights or metrics related to a particular audiobook library, such as usage statistics or content summaries. For example, you might use this node to monitor how many audiobooks are in a library, track user engagement, or generate reports on library contents.

Properties

Name Meaning
Library ID The unique identifier of the library for which to fetch statistics. This is a required string input.

Output

The node outputs JSON data containing the statistics of the specified library. The exact structure depends on the API response but typically includes various metrics and summary information about the library's contents and usage.

If the node supports binary data output (not indicated here), it would represent associated media or files, but based on the provided code and context, the output is purely JSON.

Dependencies

  • Requires an API key credential for authenticating with the Audiobookshelf API.
  • Needs the base URL of the Audiobookshelf instance configured via credentials.
  • The node relies on the Audiobookshelf API being accessible at the configured domain.

Troubleshooting

  • Missing or invalid Library ID: Ensure that the "Library ID" property is correctly set and corresponds to an existing library in Audiobookshelf.
  • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
  • Network issues: Confirm that the configured domain is reachable and the Audiobookshelf API is operational.
  • Unexpected API responses: Check if the API endpoint has changed or if there are rate limits affecting requests.

Links and References

Discussion