Skip to content

staskie/tvapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TV Program API

Introduction

This application uses screen scraping to get the TV program listing available in Poland. It stores it in the database and provides an easy web service for accessing it.

Installation:

  • Download the source code

  • Install gems

      		$ bundle install
    
  • Copy database config and create databases

      		$ cp config/database.yml.config config/database.yml
      		$ cp db/tvapi.sqlite.example db/tvapi.sqlite
      		$ cp db/tvapi.sqlite.example db/test.sqlite
    

Run tests first:

			$ rspec spec

Run the updater (by default it will download lots of the data from the internet)

			$ ruby bin/update_programs.rb

Run the server

			$ ruby server/server.rb

And check the link http://localhost:4567 for further instructions.

You can see the working system on http://tvapi.staskie.com

This application was created by Dominik Staskiewicz

About

Webservice for accessing Polish TV programs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages