GithubHelp home page GithubHelp logo

cinema-guide-api's Introduction

cinema-guide-api

####A small API to allow access to cinema guide listings, utilizing the Django REST Framework

This API supports the application/json media type, with all valid GET queries returning a JSON object.

A series of tests for this API can be found under cinema-guide-api/project/cinema_guide_api/test*, and can be run using python manage.py test

####Available operations: ####/cinema/ Allows: GET, POST

Lists all cinemas, or allows the creation of a new cinema.

####/movie/ Allows: POST

Allows the creation of a new movie.

####/cinema/{identifier} Allows: GET, PUT, DELETE

Lists cinema-specific information, for a non-case sensitive cinema name or id number. Also allows for editing or deletion of these records. Note: The string "suburb" (case insensitive) is reserved, and should not be used as a cinema name.

####/movies/{identifier} Allows: GET, PUT, DELETE

Lists movie-specific information, for a non-case sensitive movie name or id number. Also allows for editing or deletion of these records.

####/cinema/{identifier}/{date} Allows: GET

Retrieves movies playing at a given cinema, specified by a non-case sensitive cinema name or id number, on a given date, in the format YYYY-MM-DD.

####/cinema/{identifier}/{start}/{end} Allows: GET

Retrieves movies playing at a given cinema, specified by a non-case sensitive cinema name or id number, between given dates, in the format YYYY-MM-DD.

####/cinema/suburb/{suburb} Allows: GET

Retrieves a list of cinemas located in the supplied suburb (case insensitive).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.