The unsplash API doesnt seem to work anymore so i just want to be able to retrieve a random wallpaper (with a search query if possible) from the web
Unsplash API works perfectly fine here with an API key and topics-based random image
Edit to add:
Here’s what I use in a flow to save into a global named gv(json)
https://api.unsplash.com/photos/random?client_id=$gv(key)$&orientation=portrait&topics=$gv(topics)$
And here’s what I use in bitmap formula:
$wg(gv(json), json, .urls.raw)+“&w=1080”$
Edit no2:
You can change the &topics in above URL to &search= to use a search query
Here’s where I got the idea from:
3 Likes
This topic was automatically closed 25 days after the last reply. New replies are no longer allowed.