unsplasharp
unsplasharp copied to clipboard
Method to trigger a download as per the unsplash guidelines
When your application performs something similar to a download (like when a user chooses the image to include in a blog post, set as a header, etc.), you must send a request to the download endpoint returned under the photo.links.download_location property.
https://help.unsplash.com/en/articles/2511258-guideline-triggering-a-download