Pexels Pack for Coda

Quickly search and add photos & videos in Coda . Just provide a keyword to instantly embed an image or video.

Demo Doc

https://coda.io/d/_dj8bKOJTw_7/Pexels-Pack_sumT6

Video Demos

3 Minute Video

https://youtu.be/tr4KNQSO8-E

Full Video

https://youtu.be/186NOpic3hM

Source Code (GitHub Gist)

https://gist.github.com/rupjyotinath/e9b76ab105724a34b54aad92d9edb67a

Inspiration

Pictures & videos make a document much better! You might have your own media to add in the doc, but what if you don’t ? Most of the times we just quickly search in our fav search engine & download the picture. A teacher might have to deliver an online class on few different animals & birds, it would be a waste of time to search random images & download them. With this pack it’s just a formula each for image & video.

Introduction

Pexels is a very popular website where you get the best free stock photos, royalty free images & videos shared by creators. This pack uses Pexels API (https://www.pexels.com/api/) to get photos & videos from Pexels, finally embedding in the document.

Authentication

You need an API key from Pexels. You can get FREE API key from https://www.pexels.com/api/new/ . Just create a free account on Pexels. Free quota would be more than enough for personal use.

Formulas

Image Search

ImageSearch​(account, query, orientation, size, color, locale, page, per_page, index​)

Search Pexels for any topic that you would like. For example your query could be something broad like Nature, Tigers, People. Or it could be something specific like Group of people working.

Video Search

VideoSearch​(account, query, orientation, size, locale, page, per_page, index​)

Search Pexels for any topic that you would like. For example your query could be something broad like Nature, Tigers, People. Or it could be something specific like Group of people working.

Column Formats

Image(Pexels)
Search Pexels for any topic that you would like. For example your query could be something broad like Nature, Tigers, People. Or it could be something specific like Group of people working.

With column format, you can show images in table where the query would be the text in the column cell. It actually uses the same ImageSearch formula with the query automatically passed. You can’t pass any other parameters in Column Format, that’s how they work in Coda.

Resources

Coda Packs Docs: https://coda.io/packs/build/latest/

Pexels API Docs: https://www.pexels.com/api/

Built With

Share this project:

Updates