sketch-hq / unsplash-sketchplugin

Unsplash Data Provider plugin, for Sketch 52+
MIT License
72 stars 8 forks source link

Searching for photo by ID/URL no longer works #19

Closed maxdavid closed 5 years ago

maxdavid commented 5 years ago

Problem Description As recently as 2d89f034f47d73c9759d4f3831f329da45f78728 inserting a photo by URL or photo ID fails. Unsplash's JSON response is different depending on whether a query parameter is given, and currently this isn't accounted for.

Proposed Solution Determine if the API response is for a search query or photo ID and either:

System Information