Skip to content

Instantly share code, notes, and snippets.

@sam159247
Last active August 28, 2024 13:30
Show Gist options
  • Save sam159247/51090b6b17c67e545bfc869b2c4b2932 to your computer and use it in GitHub Desktop.
Save sam159247/51090b6b17c67e545bfc869b2c4b2932 to your computer and use it in GitHub Desktop.
[Shortcuts] Change the wallpaper with unsplash API by using Shortcuts

Change the wallpaper with unsplash API by using Shortcuts

OS

  • iOS 15 or later
  • macOS Monterey or later

Usage

  1. Create an account on Unsplash

  2. Go https://unsplash.com/oauth/applications

  3. Select "New Application" and copy the "Access Key"

  4. Download this Shortcuts and input the "Access Key"

    image
  5. Execute shortcuts and allow all the access

    image image image
  6. Wallpaper changed and show information page of the photo, don't forget to thanks to photographer!

Shortcuts logic

Overview

image

@bre7
Copy link

bre7 commented Jun 13, 2024

Thanks for the shortcut. Btw, you can also remove the Filter step since the API already provides a random endpoint: https://unsplash.com/documentation#get-a-random-photo

@sam159247
Copy link
Author

Thanks for the shortcut. Btw, you can also remove the Filter step since the API already provides a random endpoint: https://unsplash.com/documentation#get-a-random-photo

Thanks for the information. It's a good suggestion!

@mvditxc
Copy link

mvditxc commented Jul 22, 2024

Is there any way of querying for a two-word keyword? "Black cat" for example.

Also
In the old shortcut I was using, you could search for more than keyword by separating the with a comma,"cats,cars,dogs" can you make do the same in this shortcut?
Great shortcut, is now my favorite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment