Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/erral/eitbapi

Demo app to expose a public API for EITB Nahieran. Featuring this EuroPython 2016 talk: https://ep2016.europython.eu/conference/talks/eitb-nahieran-askatu-bideoak-api-honen-bidez
https://github.com/erral/eitbapi

radio rest rest-api tv

Last synced: 2 months ago
JSON representation

Demo app to expose a public API for EITB Nahieran. Featuring this EuroPython 2016 talk: https://ep2016.europython.eu/conference/talks/eitb-nahieran-askatu-bideoak-api-honen-bidez

Awesome Lists containing this project

README

        

eitbapi
=======

A pyramid_ app to expose an API for `EITB Nahieran`_ (unofficial)

.. image:: https://travis-ci.com/erral/eitbapi.svg?branch=master
:target: https://travis-ci.com/erral/eitbapi

.. image:: https://coveralls.io/repos/github/erral/eitbapi/badge.svg
:target: https://coveralls.io/github/erral/eitbapi

View API online
===============

https://still-castle-99749.herokuapp.com/

Installation
=============

To run and install localy, create a virtualenv first and then::

$ pip install -r requirements.txt
$ pip install -e .
$ pserve development.ini --reload

Deployment on Heroku
====================

You can deploy this app on Heroku_. To do so, first create an account at
Heroku_ and install `Heroku Toolbelt`_ and login for the first time from the
console::

$ heroku login

Now you are ready to create the application on Heroku:

- Clone this repository::

$ git clone [email protected]:erral/eitbapi
$ cd eitbapi

- Create the heroku app::

$ heroku create

- Deploy the code to Heroku::

$ git push heroku master

- Open the web browser pointing to the application::

$ heroku open

.. unicode:: U+1F64C U+1F64C U+1F64C U+1F64C

.. _pyramid: http://docs.pylonsproject.org/projects/pyramid
.. _`EITB Nahieran`: http://www.eitb.tv
.. _Heroku: https://www.heroku.com
.. _`Heroku Toolbelt`: https://toolbelt.heroku.com/