track_download
Track photo downloads to meet Unsplash API requirements for photographer attribution and usage tracking.
Instructions
Track a photo download (REQUIRED by Unsplash API guidelines).
You MUST call this function when a user downloads or saves a photo. This is required by Unsplash's API guidelines to properly credit photographers and track usage statistics.
Call this AFTER the user confirms they want to download/use the image, not when just displaying search results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo_id | Yes | The photo ID from a previous search_photos or get_random_photos result |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |