Skip to main content

An API to find movies that are playing in the San Francisco area.

Project description

FilmMap is an API to find movies that are playing in the San Francisco area. Feel free to fork the repository and use it for your own data sets!

Quick start

  1. Add “filmmap” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'filmmap',
    )
    
  2. Include the filmmap URLconfs in your project urls.py like this:

    urlpatterns = patterns('',
        url(r'^', include('filmmap.urls', namespace='filmmap')),
        url(r'^admin/', include(admin.site.urls)),
    )
    
  3. Run python manage.py syncdb to create the filmmap models.

  4. Run python manage.py update_films https://data.sfgov.org/resource/yitu-d5am.json to update the films database.

  5. Visit http://127.0.0.1:8000/filmmap/ to run the application!

  6. Feel free to fork the repository and create an API for your own data sets. Modify the api view in views.py, the the admin comment update_films.py, and the models in models.py to reflect your particular data set.

Project details


Release history Release notifications

This version
History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-filmmap-0.1.tar.gz (8.4 kB) Copy SHA256 hash SHA256 Source None Mar 28, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page