An API to find movies that are playing in the San Francisco area.
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!
Add “filmmap” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'filmmap', )
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)), )
Run python manage.py syncdb to create the filmmap models.
Run python manage.py update_films https://data.sfgov.org/resource/yitu-d5am.json to update the films database.
Visit http://127.0.0.1:8000/filmmap/ to run the application!
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.pyto reflect your particular data set.