{"info":{"_postman_id":"e0ba99f6-e292-4887-b25f-6433e26991f1","name":"Movie Database API","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>This API can be used to retrieve and modify data in a database containing information about movies shown in cinemas.</p>\n<h1 id=\"overview\">Overview</h1>\n<p>This API has 12 endpoints that could be used to interact with the movie database. These endpoints are absolutely immune to SQL injection.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>No authentication is needed to use this API.</p>\n<h1 id=\"rate-limit\">Rate limit</h1>\n<p>There is no limit to the number of requests that could be made to this API.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"10974610","collectionId":"e0ba99f6-e292-4887-b25f-6433e26991f1","publishedId":"SzezbrGj","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-04-13T05:18:19.000Z"},"item":[{"name":"Rank","id":"01016b87-1fb4-4878-867c-b42fa98a2407","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/rank?count=5","description":"<p>The Rank endpoint can be used to retrieve movies with the highest ratings in the database. This endpoint can only be used by Regular Users and not Admins</p>\n","urlObject":{"protocol":"http","port":"8000","path":["rank"],"host":["127","0","0","1"],"query":[{"description":{"content":"<p>number of top rated movies to retrieve (count must be &gt; 0)</p>\n","type":"text/plain"},"key":"count","value":"5"}],"variable":[]}},"response":[{"id":"4f825470-3470-4244-a619-529f1c81d308","name":"Rank","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/rank?count=5","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["rank"],"query":[{"key":"count","value":"5","description":"Number of top rated movies to retrieve. Must be > 0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Apr 2020 02:05:31 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.7"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"1311"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"Movie_ID\": 2,\n            \"Overall_rating\": 8.6,\n            \"Title\": \"Parasite\",\n            \"Description\": \"A poor family, the Kims, con their way into becoming the servants of a rich family, the Parks. But their easy life gets complicated when their deception is threatened with exposure.\"\n        },\n        {\n            \"Movie_ID\": 9,\n            \"Overall_rating\": 8.4,\n            \"Title\": \"1917\",\n            \"Description\": \"April 6th, 1917. As a regiment assembles to wage war deep in enemy territory, two soldiers are assigned to race against time and deliver a message that will stop 1,600 men from walking straight into a deadly trap.\"\n        },\n        {\n            \"Movie_ID\": 7,\n            \"Overall_rating\": 8.4,\n            \"Title\": \"Avengers: Endgame\",\n            \"Description\": \"After the devastating events of Avengers: Infinity War (2018), the universe is in ruins. With the help of remaining allies, the Avengers assemble once more in order to reverse Thanos' actions and restore balance to the universe.\"\n        },\n        {\n            \"Movie_ID\": 5,\n            \"Overall_rating\": 8,\n            \"Title\": \"Shoplifters\",\n            \"Description\": \"A family of small-time crooks take in a child they find outside in the cold.\"\n        },\n        {\n            \"Movie_ID\": 10,\n            \"Overall_rating\": 8,\n            \"Title\": \"Invisible Life\",\n            \"Description\": \"Kept apart by a terrible lie and a conservative society, two sisters born in Rio de Janeiro make their way through life each believing the other is living out her dreams half a world away.\"\n        }\n    ]\n}"}],"_postman_id":"01016b87-1fb4-4878-867c-b42fa98a2407"},{"name":"Genre","id":"f0b25ba2-d6c2-4b21-91a1-78bb9ef52b1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/genre?genre=comedy","description":"<p>The Genre endpoint can be used to retrieve all movies of a certain genre currently showing in theatres. This endpoint can only be used by a Regular User and not an Admin</p>\n","urlObject":{"protocol":"http","port":"8000","path":["genre"],"host":["127","0","0","1"],"query":[{"description":{"content":"<p>specifies the genre for which movies are retrieved</p>\n","type":"text/plain"},"key":"genre","value":"comedy"}],"variable":[]}},"response":[{"id":"eec8c64a-c470-482b-9e35-60068edd0f99","name":"Genre","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/genre?genre=comedy","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["genre"],"query":[{"key":"genre","value":"comedy","description":"specifies the genre for which movies are retrieved"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Apr 2020 02:08:05 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.7"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"1305"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"Movie_ID\": 2,\n            \"Title\": \"Parasite\",\n            \"Genre\": \"comedy\",\n            \"Description\": \"A poor family, the Kims, con their way into becoming the servants of a rich family, the Parks. But their easy life gets complicated when their deception is threatened with exposure.\"\n        },\n        {\n            \"Movie_ID\": 3,\n            \"Title\": \"The Favourite\",\n            \"Genre\": \"comedy\",\n            \"Description\": \"In early 18th century England, a frail Queen Anne occupies the throne and her close friend, Lady Sarah, governs the country in her stead. When a new servant, Abigail, arrives, her charm endears her to Sarah.\"\n        },\n        {\n            \"Movie_ID\": 4,\n            \"Title\": \"The Farewell I\",\n            \"Genre\": \"comedy\",\n            \"Description\": \"A Chinese family discovers their grandmother has only a short while left to live and decide to keep her in the dark, scheduling a wedding to gather before she dies.\"\n        },\n        {\n            \"Movie_ID\": 11,\n            \"Title\": \"Marriage Story\",\n            \"Genre\": \"comedy\",\n            \"Description\": \"Noah Baumbach's incisive and compassionate look at a marriage breaking up and a family staying together.\"\n        },\n        {\n            \"Movie_ID\": 12,\n            \"Title\": \"Booksmart\",\n            \"Genre\": \"comedy\",\n            \"Description\": \"On the eve of their high school graduation, two academic superstars and best friends realize they should have worked less and played more. Determined not to fall short of their peers, the girls try to cram four years of fun into one night.\"\n        }\n    ]\n}"}],"_postman_id":"f0b25ba2-d6c2-4b21-91a1-78bb9ef52b1b"},{"name":"TimeSlot","id":"f673b8bf-6508-428c-b1fc-ab82459de151","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/timeslot?theater_name=ABC movies&time_start=2020-04-04 00:00:00&time_end=2020-04-05 00:00:00","description":"<p>The Timeslot endpoint can be used when a user wants to retrieve all movies showing within a certain time window in a specific theatre. This endpoint can only be used by Regular Users and not Admins</p>\n","urlObject":{"protocol":"http","port":"8000","path":["timeslot"],"host":["127","0","0","1"],"query":[{"description":{"content":"<p>desired theater name to search for movie</p>\n","type":"text/plain"},"key":"theater_name","value":"ABC movies"},{"description":{"content":"<p>datetime (yyyy-mm-dd hh:mm:ss) specifying the begining of the search window</p>\n","type":"text/plain"},"key":"time_start","value":"2020-04-04 00:00:00"},{"description":{"content":"<p>dateime (yyyy-mm-dd hh:mm:ss) specifying the end of the search window</p>\n","type":"text/plain"},"key":"time_end","value":"2020-04-05 00:00:00"}],"variable":[]}},"response":[{"id":"0f13f8a8-2df6-4954-a03e-682e7077a31f","name":"TimeSlot","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/timeslot?theater_name=ABC movies&time_start=2020-04-04 00:00:00&time_end=2020-04-05 00:00:00","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["timeslot"],"query":[{"key":"theater_name","value":"ABC movies","description":"desired theater"},{"key":"time_start","value":"2020-04-04 00:00:00","description":"datetime (yyyy-mm-dd hh:mm:ss) specifying the begining of the search window"},{"key":"time_end","value":"2020-04-05 00:00:00","description":"dateime (yyyy-mm-dd hh:mm:ss) specifying the end of the search window"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Apr 2020 02:12:12 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.7"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"1686"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"Movie_ID\": 1,\n            \"Title\": \"The Irishman\",\n            \"Theater_name\": \"abc movies\",\n            \"Start_time\": \"2020-04-04T09:00:00\",\n            \"End_time\": \"2020-04-04T12:00:00\",\n            \"Description\": \"An aging hitman recalls his time with the mob and the intersecting events with his friend, Jimmy Hoffa, through the 1950-70s.\",\n            \"Theater_room_no\": 1\n        },\n        {\n            \"Movie_ID\": 2,\n            \"Title\": \"Parasite\",\n            \"Theater_name\": \"abc movies\",\n            \"Start_time\": \"2020-04-04T10:00:00\",\n            \"End_time\": \"2020-04-04T13:00:00\",\n            \"Description\": \"A poor family, the Kims, con their way into becoming the servants of a rich family, the Parks. But their easy life gets complicated when their deception is threatened with exposure.\",\n            \"Theater_room_no\": 2\n        },\n        {\n            \"Movie_ID\": 3,\n            \"Title\": \"The Favourite\",\n            \"Theater_name\": \"abc movies\",\n            \"Start_time\": \"2020-04-04T11:00:00\",\n            \"End_time\": \"2020-04-04T14:00:00\",\n            \"Description\": \"In early 18th century England, a frail Queen Anne occupies the throne and her close friend, Lady Sarah, governs the country in her stead. When a new servant, Abigail, arrives, her charm endears her to Sarah.\",\n            \"Theater_room_no\": 3\n        },\n        {\n            \"Movie_ID\": 4,\n            \"Title\": \"The Farewell I\",\n            \"Theater_name\": \"abc movies\",\n            \"Start_time\": \"2020-04-04T12:00:00\",\n            \"End_time\": \"2020-04-04T15:00:00\",\n            \"Description\": \"A Chinese family discovers their grandmother has only a short while left to live and decide to keep her in the dark, scheduling a wedding to gather before she dies.\",\n            \"Theater_room_no\": 4\n        },\n        {\n            \"Movie_ID\": 5,\n            \"Title\": \"Shoplifters\",\n            \"Theater_name\": \"abc movies\",\n            \"Start_time\": \"2020-04-04T13:00:00\",\n            \"End_time\": \"2020-04-04T16:00:00\",\n            \"Description\": \"A family of small-time crooks take in a child they find outside in the cold.\",\n            \"Theater_room_no\": 5\n        }\n    ]\n}"}],"_postman_id":"f673b8bf-6508-428c-b1fc-ab82459de151"},{"name":"Specific Movie Theater","id":"58835dfc-be5a-4000-b5c8-b580ecad2366","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/specific_movie_theater?theater_name=ABC movies&d_date=2020-04-04","description":"<p>This endpoint can be used when a user wants to retrieve all movies showing on a certain date at a specific theatre. This endpoint can only be used by Regular Users and not Admins</p>\n","urlObject":{"protocol":"http","port":"8000","path":["specific_movie_theater"],"host":["127","0","0","1"],"query":[{"description":{"content":"<p>specifies desired theater to search movies for</p>\n","type":"text/plain"},"key":"theater_name","value":"ABC movies"},{"description":{"content":"<p>specifies desired date to search movie for</p>\n","type":"text/plain"},"key":"d_date","value":"2020-04-04"}],"variable":[]}},"response":[{"id":"1b45cb24-74e6-474d-81f0-28755f51b1b8","name":"Specif Movie Theater","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/specific_movie_theater?theater_name=ABC movies&d_date=2020-04-04","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["specific_movie_theater"],"query":[{"key":"theater_name","value":"ABC movies","description":"specifies desired theater to search movies for"},{"key":"d_date","value":"2020-04-04","description":"specifies desired date to search movie for"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 08 Apr 2020 02:15:01 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.7"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"1686"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"Movie_ID\": 1,\n            \"Title\": \"The Irishman\",\n            \"Theater_name\": \"abc movies\",\n            \"Start_time\": \"2020-04-04T09:00:00\",\n            \"End_time\": \"2020-04-04T12:00:00\",\n            \"Description\": \"An aging hitman recalls his time with the mob and the intersecting events with his friend, Jimmy Hoffa, through the 1950-70s.\",\n            \"Theater_room_no\": 1\n        },\n        {\n            \"Movie_ID\": 2,\n            \"Title\": \"Parasite\",\n            \"Theater_name\": \"abc movies\",\n            \"Start_time\": \"2020-04-04T10:00:00\",\n            \"End_time\": \"2020-04-04T13:00:00\",\n            \"Description\": \"A poor family, the Kims, con their way into becoming the servants of a rich family, the Parks. But their easy life gets complicated when their deception is threatened with exposure.\",\n            \"Theater_room_no\": 2\n        },\n        {\n            \"Movie_ID\": 3,\n            \"Title\": \"The Favourite\",\n            \"Theater_name\": \"abc movies\",\n            \"Start_time\": \"2020-04-04T11:00:00\",\n            \"End_time\": \"2020-04-04T14:00:00\",\n            \"Description\": \"In early 18th century England, a frail Queen Anne occupies the throne and her close friend, Lady Sarah, governs the country in her stead. When a new servant, Abigail, arrives, her charm endears her to Sarah.\",\n            \"Theater_room_no\": 3\n        },\n        {\n            \"Movie_ID\": 4,\n            \"Title\": \"The Farewell I\",\n            \"Theater_name\": \"abc movies\",\n            \"Start_time\": \"2020-04-04T12:00:00\",\n            \"End_time\": \"2020-04-04T15:00:00\",\n            \"Description\": \"A Chinese family discovers their grandmother has only a short while left to live and decide to keep her in the dark, scheduling a wedding to gather before she dies.\",\n            \"Theater_room_no\": 4\n        },\n        {\n            \"Movie_ID\": 5,\n            \"Title\": \"Shoplifters\",\n            \"Theater_name\": \"abc movies\",\n            \"Start_time\": \"2020-04-04T13:00:00\",\n            \"End_time\": \"2020-04-04T16:00:00\",\n            \"Description\": \"A family of small-time crooks take in a child they find outside in the cold.\",\n            \"Theater_room_no\": 5\n        }\n    ]\n}"}],"_postman_id":"58835dfc-be5a-4000-b5c8-b580ecad2366"},{"name":"Search Performer","id":"36cab95a-1616-4f18-b21a-3ad8047c00f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/search_performer?performer_name=Al Pacino","description":"<p>This endpoint can be used when a user wants to retrieve all movies a movie performer performs in.</p>\n<p>The parameter 'performer_name' takes the name of the performer the user wishes to search as a parameter.</p>\n<p>For example if performerName is “Al Pacino” all movies showing Al Pacino are retrieved.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["search_performer"],"host":["127","0","0","1"],"query":[{"description":{"content":"<p>Name of the performer the user wishes to search</p>\n","type":"text/plain"},"key":"performer_name","value":"Al Pacino"}],"variable":[]}},"response":[{"id":"d2b7b080-9f22-49c5-a71e-8a9e244b6578","name":"Search Performer","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/search_performer?performer_name=Al Pacino","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["search_performer"],"query":[{"key":"performer_name","value":"Al Pacino"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 12 Apr 2020 23:53:13 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.8.2"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"219"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"Movie_ID\": 1,\n            \"Overall_rating\": 7.9,\n            \"Title\": \"The Irishman\",\n            \"Description\": \"An aging hitman recalls his time with the mob and the intersecting events with his friend, Jimmy Hoffa, through the 1950-70s.\"\n        }\n    ]\n}"}],"_postman_id":"36cab95a-1616-4f18-b21a-3ad8047c00f6"},{"name":"Give Rating","id":"9a6df3ba-d867-4762-b7eb-4d80f4c12df5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"movie_title","value":"The Irishman","description":"<p>Title of the movie being reviewed</p>\n","type":"text"},{"key":"username","value":"Ringo","description":"<p>Username of the user creating the review</p>\n","type":"text"},{"key":"rating","value":"10","description":"<p>Rating of the movie</p>\n","type":"text"},{"key":"r_description","value":"A masterpiece!","description":"<p>Description of the rating</p>\n","type":"text"}]},"url":"http://127.0.0.1:8000/give_rating/","description":"<p>This endpoint can be used when a user wants to give a rating and/or review for a specific movie. </p>\n<p>The parameter 'movie_title' specifies the user’s desired movie which they want to leave a rating/review for. The parameter 'username' takes the username of the user leaving the review. The parameter 'rating' is a numerical value ranging from 1-10. The parameter 'r_description' is for users to leave a description for their rating. </p>\n<p>For example, if movie_title = “The Irishman” the user can leave a review for it. Error messages are returned if adding a review fails (i.e. Forgetting to leave a numerical rating). Success messages are given for users that successfully post a review.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["give_rating",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"531858f8-6539-4e38-a652-677ddc9fdb32","name":"Give Rating","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"movie_title","value":"The Irishman","type":"text"},{"key":"username","value":"Ringo","type":"text"},{"key":"rating","value":"10","type":"text"},{"key":"r_description","value":"A masterpiece!","type":"text"}]},"url":"http://127.0.0.1:8000/give_rating/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 12 Apr 2020 23:21:33 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.8.2"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"89"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully added review for the irishman by user: ringo\",\n    \"success\": true\n}"}],"_postman_id":"9a6df3ba-d867-4762-b7eb-4d80f4c12df5"},{"name":"New Movies","id":"bfa0b0e5-e548-4534-af54-c3cc26295db7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/new_movies/?r_date=2020-01-01","description":"<p>This endpoint can be used when a user wants to see the new movies that have recently come out. </p>\n<p>The parameter 'r_date' specifies the date that the user would like to see which new movies have come out at that point in time. \nFor example, if r_date = 2020-01-01, then it will return a list of movies that have come out before that date, sorting by which movies are closest to the date.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["new_movies",""],"host":["127","0","0","1"],"query":[{"description":{"content":"<p>Movies will appear that were released before this date.</p>\n","type":"text/plain"},"key":"r_date","value":"2020-01-01"}],"variable":[]}},"response":[{"id":"fdc2ccea-a3f0-43d3-908a-05b349506b17","name":"New Movies","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/new_movies/?r_date=2020-01-01","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["new_movies",""],"query":[{"key":"r_date","value":"2020-01-01"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 12 Apr 2020 23:51:07 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.8.2"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"2269"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"Movie_ID\": 11,\n            \"Overall_rating\": 8,\n            \"Title\": \"Marriage Story\",\n            \"Description\": \"Noah Baumbach's incisive and compassionate look at a marriage breaking up and a family staying together.\"\n        },\n        {\n            \"Movie_ID\": 6,\n            \"Overall_rating\": 7.9,\n            \"Title\": \" Little Women\",\n            \"Description\": \"Jo March (Saoirse Ronan) reflects back and forth on her life, telling the beloved story of the March sisters - four young women each determined to live life on her own terms.\"\n        },\n        {\n            \"Movie_ID\": 1,\n            \"Overall_rating\": 7.9,\n            \"Title\": \"The Irishman\",\n            \"Description\": \"An aging hitman recalls his time with the mob and the intersecting events with his friend, Jimmy Hoffa, through the 1950-70s.\"\n        },\n        {\n            \"Movie_ID\": 2,\n            \"Overall_rating\": 8.6,\n            \"Title\": \"Parasite\",\n            \"Description\": \"A poor family, the Kims, con their way into becoming the servants of a rich family, the Parks. But their easy life gets complicated when their deception is threatened with exposure.\"\n        },\n        {\n            \"Movie_ID\": 4,\n            \"Overall_rating\": 7.6,\n            \"Title\": \"The Farewell I\",\n            \"Description\": \"A Chinese family discovers their grandmother has only a short while left to live and decide to keep her in the dark, scheduling a wedding to gather before she dies.\"\n        },\n        {\n            \"Movie_ID\": 12,\n            \"Overall_rating\": 7.2,\n            \"Title\": \"Booksmart\",\n            \"Description\": \"On the eve of their high school graduation, two academic superstars and best friends realize they should have worked less and played more. Determined not to fall short of their peers, the girls try to cram four years of fun into one night.\"\n        },\n        {\n            \"Movie_ID\": 7,\n            \"Overall_rating\": 8.4,\n            \"Title\": \"Avengers: Endgame\",\n            \"Description\": \"After the devastating events of Avengers: Infinity War (2018), the universe is in ruins. With the help of remaining allies, the Avengers assemble once more in order to reverse Thanos' actions and restore balance to the universe.\"\n        },\n        {\n            \"Movie_ID\": 3,\n            \"Overall_rating\": 7.6,\n            \"Title\": \"The Favourite\",\n            \"Description\": \"In early 18th century England, a frail Queen Anne occupies the throne and her close friend, Lady Sarah, governs the country in her stead. When a new servant, Abigail, arrives, her charm endears her to Sarah.\"\n        },\n        {\n            \"Movie_ID\": 5,\n            \"Overall_rating\": 8,\n            \"Title\": \"Shoplifters\",\n            \"Description\": \"A family of small-time crooks take in a child they find outside in the cold.\"\n        }\n    ]\n}"}],"_postman_id":"bfa0b0e5-e548-4534-af54-c3cc26295db7"},{"name":"Top Gross","id":"b0576536-7a69-4bbf-9a24-ff0e22716365","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/top_gross/?in_theatres=True&count=5","description":"<p>This endpoint can be used when users wish to organize movies based off of how much money they've made. </p>\n<p>The 'in_theatres' parameter decides whether the list chooses from movies currently in theatres or all movies. The 'count' parameter specifies how many movies appear in the list.</p>\n<p>For example, if in_theatres = True, and count = 5, then it will show the top five highest grossing movies that are still in theatres.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["top_gross",""],"host":["127","0","0","1"],"query":[{"description":{"content":"<p>Whether the user wishes to filter through movies that are in theatres or not.</p>\n","type":"text/plain"},"key":"in_theatres","value":"True"},{"description":{"content":"<p>Number of results</p>\n","type":"text/plain"},"key":"count","value":"5"}],"variable":[]}},"response":[{"id":"1005d151-4c02-4b14-afa3-d124ee66c0a2","name":"Top Gross","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/top_gross/?in_theatres=True&count=5","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["top_gross",""],"query":[{"key":"in_theatres","value":"True"},{"key":"count","value":"5"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 12 Apr 2020 23:48:16 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.8.2"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"1397"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"Movie_ID\": 7,\n            \"Overall_rating\": 8.4,\n            \"Title\": \"Avengers: Endgame\",\n            \"Description\": \"After the devastating events of Avengers: Infinity War (2018), the universe is in ruins. With the help of remaining allies, the Avengers assemble once more in order to reverse Thanos' actions and restore balance to the universe.\",\n            \"gross\": 2800000000\n        },\n        {\n            \"Movie_ID\": 2,\n            \"Overall_rating\": 8.6,\n            \"Title\": \"Parasite\",\n            \"Description\": \"A poor family, the Kims, con their way into becoming the servants of a rich family, the Parks. But their easy life gets complicated when their deception is threatened with exposure.\",\n            \"gross\": 266900000\n        },\n        {\n            \"Movie_ID\": 6,\n            \"Overall_rating\": 7.9,\n            \"Title\": \" Little Women\",\n            \"Description\": \"Jo March (Saoirse Ronan) reflects back and forth on her life, telling the beloved story of the March sisters - four young women each determined to live life on her own terms.\",\n            \"gross\": 206000000\n        },\n        {\n            \"Movie_ID\": 3,\n            \"Overall_rating\": 7.6,\n            \"Title\": \"The Favourite\",\n            \"Description\": \"In early 18th century England, a frail Queen Anne occupies the throne and her close friend, Lady Sarah, governs the country in her stead. When a new servant, Abigail, arrives, her charm endears her to Sarah.\",\n            \"gross\": 95900000\n        },\n        {\n            \"Movie_ID\": 5,\n            \"Overall_rating\": 8,\n            \"Title\": \"Shoplifters\",\n            \"Description\": \"A family of small-time crooks take in a child they find outside in the cold.\",\n            \"gross\": 72700000\n        }\n    ]\n}"}],"_postman_id":"b0576536-7a69-4bbf-9a24-ff0e22716365"},{"name":"MPAA Rating","id":"6eb1fa2b-c2e1-4e27-ad5d-276331734cdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/mpaa_rating?rating=PG","description":"<p>The MPAA Rating endpoint can be used when users want to search for movies with a specific rating that are currently in thetres. such as only G-rated movies, or only R-rated movies. The rating parameter is what specifies this, and can be any of the existing MPAA ratings: G, PG, PG-13, and R.</p>\n<p>In the example request, we set the <code>rating</code> parameter to PG to find all of the movies that have an MPAA rating of PG. We see that this returns 2 movies: \"The Farewell I\" and \"Little Women.\"</p>\n<p>This endpoint can be particularly useful in searching for potential movies that can be suitable for the whole family, which includes a younger audience.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["mpaa_rating"],"host":["127","0","0","1"],"query":[{"description":{"content":"<p>MPAA rating of the movies that you want to retrieve.</p>\n","type":"text/plain"},"key":"rating","value":"PG"}],"variable":[]}},"response":[{"id":"7d6b7c03-06b6-4e99-9ce8-f7b73536bc1c","name":"MPAA Rating","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:8000/mpaa_rating?rating=PG","host":["localhost"],"port":"8000","path":["mpaa_rating"],"query":[{"key":"rating","value":"PG","description":"MPAA rating of the movies that you want to retrieve."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 12 Apr 2020 21:14:33 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.5"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"578"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"Movie_ID\": 6,\n            \"Title\": \" Little Women\",\n            \"MPAA_rating\": \"PG\",\n            \"Description\": \"Jo March (Saoirse Ronan) reflects back and forth on her life, telling the beloved story of the March sisters - four young women each determined to live life on her own terms.\",\n            \"Genres\": [\n                \"drama\",\n                \"romance\"\n            ]\n        },\n        {\n            \"Movie_ID\": 4,\n            \"Title\": \"The Farewell I\",\n            \"MPAA_rating\": \"PG\",\n            \"Description\": \"A Chinese family discovers their grandmother has only a short while left to live and decide to keep her in the dark, scheduling a wedding to gather before she dies.\",\n            \"Genres\": [\n                \"comedy\",\n                \"drama\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"6eb1fa2b-c2e1-4e27-ad5d-276331734cdf"},{"name":"Language","id":"d747f84b-4d04-4257-b680-7feffcf4ceda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/language?language=English","description":"<p>The languages endpoint can be used to get movies of a specific language that are currently in theatres. The <code>language</code> parameter is for the user to specify what languages should be retrieved. In the example request the language to be retrieved is English. We see the reponse containing the movies that have English as its language.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["language"],"host":["127","0","0","1"],"query":[{"description":{"content":"<p>The language of the movies that you want to retrieve.</p>\n","type":"text/plain"},"key":"language","value":"English"}],"variable":[]}},"response":[{"id":"ddcbc2b8-37c6-4ee8-b787-ae8d76528b39","name":"Language","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:8000/language?language=English","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["language"],"query":[{"key":"language","value":"English","description":"The language of the movies that you want to retrieve."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 12 Apr 2020 21:15:29 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.5"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"3487"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"Movie_ID\": 12,\n            \"Title\": \"Booksmart\",\n            \"Overall_rating\": 7.2,\n            \"Release\": \"2019-05-24\",\n            \"Length\": 102,\n            \"Description\": \"On the eve of their high school graduation, two academic superstars and best friends realize they should have worked less and played more. Determined not to fall short of their peers, the girls try to cram four years of fun into one night.\",\n            \"Gross\": 24900000,\n            \"Genres\": [\n                \"comedy\"\n            ]\n        },\n        {\n            \"Movie_ID\": 11,\n            \"Title\": \"Marriage Story\",\n            \"Overall_rating\": 8,\n            \"Release\": \"2019-12-06\",\n            \"Length\": 137,\n            \"Description\": \"Noah Baumbach's incisive and compassionate look at a marriage breaking up and a family staying together.\",\n            \"Gross\": 2300000,\n            \"Genres\": [\n                \"comedy\",\n                \"drama\",\n                \"romance\"\n            ]\n        },\n        {\n            \"Movie_ID\": 10,\n            \"Title\": \"Invisible Life\",\n            \"Overall_rating\": 8,\n            \"Release\": \"2020-04-03\",\n            \"Length\": 139,\n            \"Description\": \"Kept apart by a terrible lie and a conservative society, two sisters born in Rio de Janeiro make their way through life each believing the other is living out her dreams half a world away.\",\n            \"Gross\": 1700000,\n            \"Genres\": [\n                \"drama\"\n            ]\n        },\n        {\n            \"Movie_ID\": 8,\n            \"Title\": \"Bacurau\",\n            \"Overall_rating\": 7.7,\n            \"Release\": \"2020-03-19\",\n            \"Length\": 131,\n            \"Description\": \"After the death of her grandmother, Teresa comes home to her matriarchal village in a near-future Brazil to find a succession of sinister events that mobilizes all of its residents.\",\n            \"Gross\": 3400000,\n            \"Genres\": [\n                \"action\",\n                \"adventure\",\n                \"mystery\"\n            ]\n        },\n        {\n            \"Movie_ID\": 7,\n            \"Title\": \"Avengers: Endgame\",\n            \"Overall_rating\": 8.4,\n            \"Release\": \"2019-04-26\",\n            \"Length\": 181,\n            \"Description\": \"After the devastating events of Avengers: Infinity War (2018), the universe is in ruins. With the help of remaining allies, the Avengers assemble once more in order to reverse Thanos' actions and restore balance to the universe.\",\n            \"Gross\": 2800000000,\n            \"Genres\": [\n                \"action\",\n                \"adventure\",\n                \"drama\"\n            ]\n        },\n        {\n            \"Movie_ID\": 6,\n            \"Title\": \" Little Women\",\n            \"Overall_rating\": 7.9,\n            \"Release\": \"2019-12-05\",\n            \"Length\": 135,\n            \"Description\": \"Jo March (Saoirse Ronan) reflects back and forth on her life, telling the beloved story of the March sisters - four young women each determined to live life on her own terms.\",\n            \"Gross\": 206000000,\n            \"Genres\": [\n                \"drama\",\n                \"romance\"\n            ]\n        },\n        {\n            \"Movie_ID\": 5,\n            \"Title\": \"Shoplifters\",\n            \"Overall_rating\": 8,\n            \"Release\": \"2018-11-23\",\n            \"Length\": 121,\n            \"Description\": \"A family of small-time crooks take in a child they find outside in the cold.\",\n            \"Gross\": 72700000,\n            \"Genres\": [\n                \"crime\",\n                \"drama\"\n            ]\n        },\n        {\n            \"Movie_ID\": 4,\n            \"Title\": \"The Farewell I\",\n            \"Overall_rating\": 7.6,\n            \"Release\": \"2019-08-09\",\n            \"Length\": 100,\n            \"Description\": \"A Chinese family discovers their grandmother has only a short while left to live and decide to keep her in the dark, scheduling a wedding to gather before she dies.\",\n            \"Gross\": 22500000,\n            \"Genres\": [\n                \"comedy\",\n                \"drama\"\n            ]\n        },\n        {\n            \"Movie_ID\": 3,\n            \"Title\": \"The Favourite\",\n            \"Overall_rating\": 7.6,\n            \"Release\": \"2018-12-21\",\n            \"Length\": 119,\n            \"Description\": \"In early 18th century England, a frail Queen Anne occupies the throne and her close friend, Lady Sarah, governs the country in her stead. When a new servant, Abigail, arrives, her charm endears her to Sarah.\",\n            \"Gross\": 95900000,\n            \"Genres\": [\n                \"biography\",\n                \"comedy\",\n                \"drama\"\n            ]\n        },\n        {\n            \"Movie_ID\": 1,\n            \"Title\": \"The Irishman\",\n            \"Overall_rating\": 7.9,\n            \"Release\": \"2019-11-27\",\n            \"Length\": 209,\n            \"Description\": \"An aging hitman recalls his time with the mob and the intersecting events with his friend, Jimmy Hoffa, through the 1950-70s.\",\n            \"Gross\": 8000000,\n            \"Genres\": [\n                \"biography\",\n                \"crime\",\n                \"drama\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"d747f84b-4d04-4257-b680-7feffcf4ceda"},{"name":"Upcoming Movies","id":"75262fc0-8034-4588-81aa-9df65564138b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/top_gross","description":"<p>This endpoint can be used to access what movies are upcoming in theatres to be able to plan your visits. This endpoint will return the movies that are not yet released but are planned to be released.</p>\n<p>As we see in our example we see 3 movies that have future release dates on 2020-10-01, 2020-05-29, and 2020-12-11.</p>\n<p>There are not specific parameters for this endpoint.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["top_gross"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"b7b793ea-ce06-4942-83c5-918bd6bab142","name":"Upcoming Movies","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:8000/upcoming_movies"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 12 Apr 2020 21:15:55 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.5"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"869"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"Movie_ID\": 9,\n            \"Title\": \"1917\",\n            \"Overall_rating\": 8.4,\n            \"Length\": 119,\n            \"Description\": \"April 6th, 1917. As a regiment assembles to wage war deep in enemy territory, two soldiers are assigned to race against time and deliver a message that will stop 1,600 men from walking straight into a deadly trap.\",\n            \"Release\": \"2020-10-01\",\n            \"Genres\": [\n                \"drama\",\n                \"war\"\n            ]\n        },\n        {\n            \"Movie_ID\": 13,\n            \"Title\": \"The Green Knight\",\n            \"Overall_rating\": 7.2,\n            \"Length\": 125,\n            \"Description\": \"A fantasy re-telling of the medieval story of Sir Gawain and the Green Knight.\",\n            \"Release\": \"2020-05-29\",\n            \"Genres\": [\n                \"drama\",\n                \"fantasy\",\n                \"horror\"\n            ]\n        },\n        {\n            \"Movie_ID\": 14,\n            \"Title\": \"Free Guy\",\n            \"Overall_rating\": 7.8,\n            \"Length\": 95,\n            \"Description\": \"A bank teller discovers that hes actually an NPC inside a brutal, open world video game.\",\n            \"Release\": \"2020-12-11\",\n            \"Genres\": [\n                \"action\",\n                \"adventure\",\n                \"comedy\"\n            ]\n        }\n    ]\n}"}],"_postman_id":"75262fc0-8034-4588-81aa-9df65564138b"},{"name":"Add movie","id":"d5dfd607-d50d-4add-8fb5-63cde67396e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"The King's Man","description":"<p>Title of the movie that we are going to add</p>\n","type":"text"},{"key":"release","value":"2020-09-18","description":"<p>Release date of the movie that we are adding</p>\n","type":"text"},{"key":"length","value":"98","description":"<p>Length of the movie that we are adding (in minutes)</p>\n","type":"text"},{"key":"description","value":"As a collection of history's worst tyrants and criminal masterminds gather to plot a war to wipe out millions, one man must race against time to stop them.","description":"<p>Description of the movie that we are adding</p>\n","type":"text"},{"key":"mpaa_rating","value":"PG-13","description":"<p>MPAA rating of the movie that we are adding</p>\n","type":"text"},{"key":"genre","value":"action","description":"<p>First genre of the movie that we are adding</p>\n","type":"text"},{"key":"genre","value":"adventure","description":"<p>Second genre of the movie that we are adding</p>\n","type":"text"},{"key":"genre","value":"comedy","description":"<p>Third genre of the movie that we are adding</p>\n","type":"text"},{"key":"director","value":"Matthew Vaughn","description":"<p>Director name of the movie that we are adding</p>\n","type":"text"},{"key":"performer","value":"Gemma Arterton","description":"<p>Performer in the movie that we are adding</p>\n","type":"text"},{"key":"performer","value":"Matthew Goode","description":"<p>Performer in the movie that we are adding</p>\n","type":"text"},{"key":"performer","value":"Ralph Fiennes","description":"<p>Performer in the movie that we are adding</p>\n","type":"text"},{"key":"language","value":"English","description":"<p>Language of the movie that we are adding</p>\n","type":"text"}]},"url":"http://127.0.0.1:8000/add_movie/","description":"<p>This endpoint can be used by movie studios and independent film creators to add their movies to the database. The entries that are created will be made visible to the users to access information regarding movies they can watch. The body should contain the fields listed below and some of the parameters can be multiple values (a list) and these special (multi) parameters are genre, director, performer, and language.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["add_movie",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"00eb5fcc-c028-4d49-b0ef-fafb138be4d9","name":"Add movie","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"The King's Man","description":"Title of the movie that we are going to add","type":"text"},{"key":"release","value":"2020-09-18","description":"Release date of the movie that we are adding","type":"text"},{"key":"length","value":"98","description":"Length of the movie that we are adding (in minutes)","type":"text"},{"key":"description","value":"As a collection of history's worst tyrants and criminal masterminds gather to plot a war to wipe out millions, one man must race against time to stop them.","description":"Description of the movie that we are adding","type":"text"},{"key":"mpaa_rating","value":"PG-13","description":"MPAA rating of the movie that we are adding","type":"text"},{"key":"genre","value":"action","description":"First genre of the movie that we are adding","type":"text"},{"key":"genre","value":"adventure","description":"Second genre of the movie that we are adding","type":"text"},{"key":"genre","value":"comedy","description":"Third genre of the movie that we are adding","type":"text"},{"key":"director","value":"Matthew Vaughn","description":"Director name of the movie that we are adding","type":"text"},{"key":"performer","value":"Gemma Arterton","description":"Performer in the movie that we are adding","type":"text"},{"key":"performer","value":"Matthew Goode","description":"Performer in the movie that we are adding","type":"text"},{"key":"performer","value":"Ralph Fiennes","description":"Performer in the movie that we are adding","type":"text"},{"key":"language","value":"English","description":"Language of the movie that we are adding","type":"text"}]},"url":{"raw":"http://127.0.0.1:8000/add_movie/?title=The King's Man&release=2020-09-18&length=98&description=As a collection of history's worst tyrants and criminal masterminds gather to plot a war to wipe out millions, one man must race against time to stop them.&mpaa_rating=PG-13&genre=action&genre=adventure&genre=comedy&director=Matthew Vaughn&performer=Gemma Arterton&performer=Matthew Goode&performer=Ralph Fiennes&language=English","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["add_movie",""],"query":[{"key":"title","value":"The King's Man","description":"Title of the movie that we are going to add"},{"key":"release","value":"2020-09-18","description":"Release date of the movie that we are adding"},{"key":"length","value":"98","description":"Length of the movie that we are adding (in minutes)"},{"key":"description","value":"As a collection of history's worst tyrants and criminal masterminds gather to plot a war to wipe out millions, one man must race against time to stop them.","description":"Description of the movie that we are adding"},{"key":"mpaa_rating","value":"PG-13","description":"MPAA rating of the movie that we are adding"},{"key":"genre","value":"action","description":"First genre of the movie that we are adding"},{"key":"genre","value":"adventure","description":"Second genre of the movie that we are adding"},{"key":"genre","value":"comedy","description":"Third genre of the movie that we are adding"},{"key":"director","value":"Matthew Vaughn","description":"Director name of the movie that we are adding"},{"key":"performer","value":"Gemma Arterton","description":"Performer in the movie that we are adding"},{"key":"performer","value":"Matthew Goode","description":"Performer in the movie that we are adding"},{"key":"performer","value":"Ralph Fiennes","description":"Performer in the movie that we are adding"},{"key":"language","value":"English","description":"Language of the movie that we are adding"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 12 Apr 2020 21:46:59 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.5"},{"key":"Content-Type","value":"application/json"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"88"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Successfully added movie The King's Man with Movie_ID 15\",\n    \"success\": true\n}"}],"_postman_id":"d5dfd607-d50d-4add-8fb5-63cde67396e1"}]}