Overview
This node integrates with the Gyazo API to manage images and collections. Specifically, the Image - List operation retrieves a paginated list of images from a user's Gyazo account. This is useful for workflows that need to process or analyze multiple images stored in Gyazo, such as batch downloading, image metadata extraction, or automated image management.
Practical examples:
- Automatically fetching the latest screenshots uploaded to Gyazo for further processing.
- Creating reports or galleries based on images stored in Gyazo.
- Integrating Gyazo images into other systems by listing and then retrieving specific images.
Properties
| Name | Meaning |
|---|---|
| Options | Pagination settings for listing images: |
| - Page: The page number to retrieve (default 1). | |
| - Per Page: Number of results per page, maximum 100 (default 20). |
Output
The output is an array of JSON objects representing the images retrieved from Gyazo. Each item corresponds to one image or a page of images depending on pagination.
- The
jsonfield contains the raw response from the Gyazo API's/api/imagesendpoint. - This typically includes image metadata such as image IDs, URLs, creation timestamps, and other relevant details.
- No binary data is outputted directly by this operation; it only returns metadata about images.
Dependencies
- Requires an API key credential for authenticating requests to the Gyazo API.
- The node uses the Gyazo REST API base URL:
https://api.gyazo.com. - Proper configuration of the API authentication token in n8n credentials is necessary.
Troubleshooting
- Invalid pagination values: Providing non-numeric or out-of-range values for page or per page may cause errors or unexpected results. Ensure these are positive integers and
per_pagedoes not exceed 100. - Authentication errors: If the API key is missing, invalid, or expired, the node will fail to fetch images. Verify the API key credential is correctly set up.
- API rate limits: Frequent calls might hit Gyazo API rate limits, resulting in errors. Implement error handling or delays if needed.
- Empty results: If no images are returned, check that the authenticated user has images uploaded and that pagination parameters are correct.