Skip to main content

Library to enable control of Screenly OSE digital signage via REST API.

Project description

Screenly OSE API Client

image image

Library to enable control of Screenly OSE digital signage via REST API.

  • Free software: MIT license

Sample Usage

import asyncio
import aiohttp
import screenly_ose

async def run():
    async with aiohttp.ClientSession() as session:
        screenly = screenly_ose.Screenly(session, '')
        asset = await screenly.get_current_asset()



  • Screenly(websession, hostname, port=80, encryption=False, timeout=None)

    Creates a new connection to a Screenly OSE instance running on the given hostname and port.


All instance methods return False in the event of a request error.

  • get_current_asset()

    Returns a dict containing the following info about the asset currently being displayed:

    • id The asset ID
    • name The asset name
    • type The asset type
  • next_asset()

    Requests Screenly to display the next asset in the sequence.

  • previous_asset()

    Requests Screenly to display the previous asset in the sequence.

  • switch_asset(asset_id)

    Requests Screenly to display the asset with the given ID string.


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

screenly_ose-0.0.4.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

screenly_ose-0.0.4-py2.py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page