Sign inSign up

screenly/api-example-dynamic-content

By screenly

Updated about 6 years ago

A simple API example for Screenly Pro's API.

Image
0

626

screenly/api-example-dynamic-content repository overview

Dynamic content example using Screenly's API

Heroku

Automated approach

Deploy

Manual approach
Clone the repo
$ git clone [email protected]:Screenly/api-example-dynamic-content.git
$ cd api-example-dynamic-content
Configure and deploy to Heroku
$ heroku create
$ heroku config:set \
    PLAYLIST_ID= \
    TOKEN= \
    OPENWEATHERMAP_API_KEY= \
    LAT= \
    LNG= \
    TEMP_THRESHOLD= \
    ABOVE_OR_BELOW=
$ git push heroku master

Docker

$ docker run -d \
    --name=screenly-api-example \
    -e PLAYLIST_ID= \
    -e TOKEN= \
    -e OPENWEATHERMAP_API_KEY= \
    -e LAT= \
    -e LNG= \
    -e TEMP_THRESHOLD= \
    -e ABOVE_OR_BELOW=
    screenly/api-example-dynamic-content

Tag summary

Content type

Image

Digest

Size

18.6 MB

Last updated

about 6 years ago

docker pull screenly/api-example-dynamic-content