Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: ability to define custom endpoints easily #1

Open
bomberstudios opened this issue Dec 22, 2014 · 1 comment
Open

Request: ability to define custom endpoints easily #1

bomberstudios opened this issue Dec 22, 2014 · 1 comment

Comments

@bomberstudios
Copy link

Congratulations on the plugin, it is amazing and we'll definitely be using it as an example of what can be done with scripting in Sketch.

While watching the demo video, I thought: "I'm sure there's a lot of designers at, say, Amazon, that would love to fill their layouts with images from a database, or an RSS feed, or…"

It would be awesome if you thought of a way to set different endpoints to get the images from (from the top of my mind: image folder, RSS feed, more social networks…)

This is an incredibly useful plugin, and adding more image sources would push it to the next level, imho : )

@abynim
Copy link
Owner

abynim commented Dec 22, 2014

Thanks Ale :) Those are great suggestions. Adding more image sources is definitely on my list of todos. The code is mostly ready but it needs more thought on the UX.

I've written the helper app using Swift (that was part of my challenge!) with the following reusable functionality:

  • Handle user login using OAuth 2
  • Download and parse JSON from any endpoint
  • Download images from an array of image links
  • Replace layers with Bitmaps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants