{"info":{"_postman_id":"065d9dd1-df42-2f1f-56a5-ab8322327a8d","name":"imdbAPI","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>This is collection of API which uses IMDB api to get movie data, store locally and perform searching.</p>\n<h1 id=\"how-to-use\">How to use</h1>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>npm install\nnode index.js\n</code></pre><p>#Config\nadd your database path into config file befor run.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"How to use","slug":"how-to-use"}],"owner":"8580721","collectionId":"065d9dd1-df42-2f1f-56a5-ab8322327a8d","publishedId":"SzzoZEvV","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-06-21T15:41:05.000Z"},"item":[{"name":"find movie by title","id":"2a22e1a3-260c-2a32-e3d6-6adab90a5215","request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"http://localhost:62062/api/searchMovie/Matrix","description":"<p>this endpoint will try to find movie by its name on local database, if did't found then go to idbm api for query and store on db</p>\n","urlObject":{"protocol":"http","port":"62062","path":["api","searchMovie","Matrix"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2a22e1a3-260c-2a32-e3d6-6adab90a5215"},{"name":"update movie's details by title","id":"80bf5f67-c33f-dbdb-f676-21a2faf43a3c","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"rating\": 9,\n\t\"genres\": \"horror\"\n}"},"url":"http://localhost:62062/api/updateMovie/Matrix","description":"<p>this endpoint will update genres and rating by name of the movie</p>\n","urlObject":{"protocol":"http","port":"62062","path":["api","updateMovie","Matrix"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"80bf5f67-c33f-dbdb-f676-21a2faf43a3c"},{"name":"Search by Id","id":"bd6d1076-d7fc-85ad-a040-35785ca81bd9","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:62062/api/searchid/?id=tt0106062","description":"<p>this endpoint will search by id</p>\n","urlObject":{"protocol":"http","port":"62062","path":["api","searchid",""],"host":["localhost"],"query":[{"key":"id","value":"tt0106062"}],"variable":[]}},"response":[],"_postman_id":"bd6d1076-d7fc-85ad-a040-35785ca81bd9"},{"name":"Search by  between start and end year","id":"acacceb1-ede3-701f-27ce-f150023b2af6","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:62062/api/searchYear/?start=1980&end=1990","description":"<p>this endpoint will search movies by between years</p>\n","urlObject":{"protocol":"http","port":"62062","path":["api","searchYear",""],"host":["localhost"],"query":[{"key":"start","value":"1980"},{"key":"end","value":"1990"}],"variable":[]}},"response":[],"_postman_id":"acacceb1-ede3-701f-27ce-f150023b2af6"},{"name":"Search by exect year","id":"a33fa289-9c42-6506-3133-462a83e21c22","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:62062/api/searchYear/?year=1986","description":"<p>this endpoint will search movies by year</p>\n","urlObject":{"protocol":"http","port":"62062","path":["api","searchYear",""],"host":["localhost"],"query":[{"key":"year","value":"1986"}],"variable":[]}},"response":[],"_postman_id":"a33fa289-9c42-6506-3133-462a83e21c22"},{"name":"Search by higher than rating","id":"0f08c680-fcd5-017d-77c3-5a7b2fc880fc","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:62062/api/searchrating/?higherrating=7","description":"<p>this endpoint will search movies by rating higher than x</p>\n","urlObject":{"protocol":"http","port":"62062","path":["api","searchrating",""],"host":["localhost"],"query":[{"key":"higherrating","value":"7"}],"variable":[]}},"response":[],"_postman_id":"0f08c680-fcd5-017d-77c3-5a7b2fc880fc"},{"name":"Search by lower than rating","id":"bb2f6e7f-eed3-53d4-37fc-ebbd08aa2f25","request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:62062/api/searchrating/?lowerrating=7","description":"<p>this endpoint will search movies by rating lower than x</p>\n","urlObject":{"protocol":"http","port":"62062","path":["api","searchrating",""],"host":["localhost"],"query":[{"key":"lowerrating","value":"7"}],"variable":[]}},"response":[],"_postman_id":"bb2f6e7f-eed3-53d4-37fc-ebbd08aa2f25"},{"name":"Search by genres","id":"f406b538-f2ad-a542-004a-10f96a939472","request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"genres\" : [\"comedy\", \"action\"]}"},"url":"http://localhost:62062/api/searchgenres/","description":"<p>this endpoint will search movies by genres</p>\n","urlObject":{"protocol":"http","port":"62062","path":["api","searchgenres",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f406b538-f2ad-a542-004a-10f96a939472"}]}