{"info":{"_postman_id":"4b79c829-8650-4f01-b281-4d4ba69c4615","name":"Price Prediction App","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"3999319","collectionId":"4b79c829-8650-4f01-b281-4d4ba69c4615","publishedId":"SzmfYx5R","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-05-10T09:45:02.000Z"},"item":[{"name":"{url}/api/auth/","id":"4bd7d598-93b4-4af6-ae8e-dc86c36eb89c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"username\": \"user\",\n\t\"password\": \"password\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/auth/","description":"<p>Request body should be <code>username</code> and <code>password</code>. Returns user token.</p>\n","urlObject":{"port":"8000","path":["api","auth",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4bd7d598-93b4-4af6-ae8e-dc86c36eb89c"},{"name":"{url}/api/v1/get-predictions/","id":"0f1d2129-deaf-4c8c-a234-53ee45a02c24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n\t\"price_date\": \"05/09/2020\",\n\t\"name\": \"Maruti Alto K10 LXI CNG\",\n\t\"location\": \"Delhi\",\n\t\"year\": 2014,\n\t\"km_driven\": 40929,\n\t\"fuel_type\": \"CNG\",\n\t\"transmission\": \"Manual\",\n\t\"owner_type\": \"First\",\n\t\"mileage\": 32.26,\n\t\"engine\": 998,\n\t\"power\": 58.2,\n\t\"seats\": 4\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8000/api/v1/get-predictions/","description":"<p>Requires user token. Accepts the following as request body: <code>price_date</code>, <code>name</code>, <code>location</code>, <code>year</code>, <code>km_driven</code>, <code>fuel_type</code>, <code>transmission</code>, <code>owner_type</code>, <code>mileage</code>, <code>engine</code>, <code>power</code>, <code>seats</code>.</p>\n<ul>\n<li><code>price_date</code>: date for which price is to be predicted (mm/dd/yy),</li>\n<li><code>name</code>: The brand, model, and variation of the car.</li>\n<li><code>location</code>: The location in which the car is being sold or is available for purchase. Should be one of Ahmedabad, Bangalore, Chennai, Coimbatore, Delhi, Haderabad, Jaipur, Kochi, Kolkata, Mumbai, Pune.</li>\n<li><code>year</code>: The year or edition of the model.</li>\n<li><code>kilometers_driven</code>: The total kilometers driven in the car by the previous owner(s) in KM.</li>\n<li><code>fuel_type</code>: The type of fuel used by the car.</li>\n<li><code>transmission</code>: The type of transmission used by the car.</li>\n<li><code>owner_type</code>: Whether the ownership is Firsthand, Second hand or other.</li>\n<li><code>mileage</code>: The standard mileage offered by the car company.</li>\n<li><code>engine</code>: The displacement volume of the engine in cc.</li>\n<li><code>power</code>: The maximum power of the engine in brake horsepower (bhp).</li>\n<li><code>seats</code>: The number of seats in the car.</li>\n<li><code>price</code>: The price of the used car in Naira.</li>\n</ul>\n","urlObject":{"port":"8000","path":["api","v1","get-predictions",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f1d2129-deaf-4c8c-a234-53ee45a02c24"},{"name":"{url}/api/v1/create-record/","id":"4ad449a3-c207-4fc7-bbdf-0434d466f92c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"brand\": \"maruti\",\n    \"model\": \"alto\",\n    \"location\": \"delhi\",\n    \"year\": 2015,\n    \"km_driven\": 40929,\n    \"fuel_type\": \"CNG\",\n    \"transmission\": \"Manual\",\n    \"owner_type\": \"First\",\n    \"mileage\": 32.26,\n    \"engine\": 998,\n    \"power\": 58.2,\n    \"seats\": 4,\n    \"price\": 1342457.65\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/v1/create-record/","description":"<p>Details are similar to those used for getting predictions.</p>\n","urlObject":{"protocol":"http","port":"8000","path":["api","v1","create-record",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4ad449a3-c207-4fc7-bbdf-0434d466f92c"}]}