Skip to main content

Amazon Alexa Flash Briefings for Django

Project description

Amazon Alexa Flash Briefings for Django

https://circleci.com/gh/istrategylabs/django-flashbriefing/tree/master.svg?style=shield

flashbriefing provides models for feeds and feed items, a view to render the JSON feed, and default admin configuration.

Installation

It’s on PyPI:

pip install django-flashbriefing

Add to INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'flashbriefing',
    ...
)

Add a route to urls.py:

urlpatterns = [
    ...
    url(r'^briefings/', include('flashbriefing.urls')),
    ...
]

On Django 1.8, the namespace needs to be explicitly included on the URL config:

url(r'^briefings/',
    include('flashbriefing.urls', namespace='flashbriefing')),

Run migrations:

python manage.py migrate

Feed URL

The feed URL can found by clicking View on Site on the Django admin Feed edit page or by accessing get_absolute_url() on a feed instance. This is the URL that will need to be registered with Amazon.

Registering with Amazon

  1. Login to the Amazon Developer Console.

  2. Click Alexa in the main navigation.

  3. Under Alexa Skills Kit, click Get Started.

  4. Under Skill Type, select Flash Briefing Skill API.

  5. Under Configuration, click Add new feed and add information about the feed, including the URL of the feed from the application.

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

django-flashbriefing-0.1.tar.gz (4.6 kB view hashes)

Uploaded Source

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