Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Dynamic content example using Screenly's API

Heroku

Automated approach

Deploy

Manual approach

Clone the repo

$ git clone git@github.com: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

About

An example of how to use Screenly Pro's API for dynamic content.

Resources

License

Releases

No releases published

Packages

No packages published