{"_id":"56a673332ec8310d007bc20f","__v":5,"githubsync":"","project":"560d5ac71ec45619006069d6","category":{"_id":"560ebbffcac9dc0d007af87a","project":"560d5ac71ec45619006069d6","pages":["560ebc0e54af2b0d005bbf8a","560ebc22c4e4ae0d00b42f97","560ebc3059cb8d0d0015cd61","560efe33de15f60d0018d2ce","560f04a352ef1a0d00c49cb5","560f050552ef1a0d00c49cb7","560f051dde15f60d0018d2dc","560f053752ef1a0d00c49cb9","560f0541de15f60d0018d2de","560f054c9812c10d002729ee","560f055543ea130d00a3622e","560f055ca36c610d00e70154","560f05649812c10d002729f0","56127f8b09bdc51700696fe8","56127f9a436e0b0d00012a19","56a673332ec8310d007bc20f"],"version":"560d5ac71ec45619006069d9","__v":16,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-02T17:16:47.793Z","from_sync":false,"order":9999,"slug":"object-reference","title":"Object Reference"},"user":"560d5a4faf97231900938125","version":{"_id":"560d5ac71ec45619006069d9","__v":6,"project":"560d5ac71ec45619006069d6","createdAt":"2015-10-01T16:09:43.711Z","releaseDate":"2015-10-01T16:09:43.711Z","categories":["560d5ac81ec45619006069da","560dabb698a6ae3700673f9f","560dabe1961d492300d94b4b","560dac2cd10a730d0081ac92","560dacb26660a03700976de4","560ebbffcac9dc0d007af87a"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-25T19:10:43.208Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":16,"body":"[block:parameters]\n{\n  \"data\": {\n    \"0-0\": \"`price`\",\n    \"0-1\": \"Double\",\n    \"h-0\": \"Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Description\",\n    \"0-2\": \"The most recently-updated price from GasBuddy/OPIS for this station. The price is for the given `currency` and for the given `fuel_type`, per the given `liquid measurement`, rounded to thousandth's digit.\",\n    \"1-0\": \"`fuel_type_id`\",\n    \"1-1\": \"Integer\",\n    \"1-2\": \"1 = Diesel\\n3 = Regular (Unleaded)\\n4 = Mid Grade\\n5 = Premium\",\n    \"2-0\": \"`fuel_type`\",\n    \"2-1\": \"String\",\n    \"2-2\": \"The text value for the above ID. Can be Diesel, Unleaded, Mid Grade, or Premium.\",\n    \"3-0\": \"`background_color`\",\n    \"3-1\": \"String\",\n    \"3-2\": \"The hex color value associated with the given `fuel_type` value. In the iExit apps, Unleaded prices are colored different than, say, Diesel prices.\",\n    \"4-0\": \"`currency`\",\n    \"4-1\": \"String\",\n    \"4-2\": \"Either USD or CAD.\",\n    \"5-0\": \"`liquid_measurement`\",\n    \"5-1\": \"String\",\n    \"5-2\": \"Either Gallons or Liters\",\n    \"6-0\": \"`updated_at`\",\n    \"6-1\": \"String\",\n    \"6-2\": \"The date and time this fuel price was last updated, in the local time of that gas station. This is pulled from GasBuddy/OPIS.\\n\\nExample format: \\n2016-01-25T03:08:00.000Z\",\n    \"7-0\": \"`avg_price`\",\n    \"8-0\": \"`num_stations_for_avg`\",\n    \"9-0\": \"`business`\",\n    \"7-1\": \"Double\",\n    \"8-1\": \"Integer\",\n    \"7-2\": \"[optional. Only present when the child of an `Exit` object]\\n\\nWhen associated with an exit, this is the average price of all stations found at this exit (which means located within 1 mile of the exit's offramp). \\n\\nThe price is for the given `currency` and for the given `fuel_type`, per the given `liquid measurement`, rounded to thousandth's digit.\",\n    \"8-2\": \"[optional. Only present when the child of an `Exit` object]\\n\\nThe number of stations at the associated exit for which we have a price, that we can use to compute the average price.\",\n    \"9-2\": \"[optional. Only present when the child of an `Exit` object]\\n\\nThe Business/POI object associated with the actual business at this exit with the lowest price for the given `fuel_type`.\",\n    \"9-1\": \"[Business / POI](doc:business-poi) object\"\n  },\n  \"cols\": 3,\n  \"rows\": 10\n}\n[/block]","excerpt":"Information for real-time prices associated with a Business/POI","slug":"fuel-price","type":"basic","title":"Fuel Price"}

Fuel Price

Information for real-time prices associated with a Business/POI

[block:parameters] { "data": { "0-0": "`price`", "0-1": "Double", "h-0": "Name", "h-1": "Type", "h-2": "Description", "0-2": "The most recently-updated price from GasBuddy/OPIS for this station. The price is for the given `currency` and for the given `fuel_type`, per the given `liquid measurement`, rounded to thousandth's digit.", "1-0": "`fuel_type_id`", "1-1": "Integer", "1-2": "1 = Diesel\n3 = Regular (Unleaded)\n4 = Mid Grade\n5 = Premium", "2-0": "`fuel_type`", "2-1": "String", "2-2": "The text value for the above ID. Can be Diesel, Unleaded, Mid Grade, or Premium.", "3-0": "`background_color`", "3-1": "String", "3-2": "The hex color value associated with the given `fuel_type` value. In the iExit apps, Unleaded prices are colored different than, say, Diesel prices.", "4-0": "`currency`", "4-1": "String", "4-2": "Either USD or CAD.", "5-0": "`liquid_measurement`", "5-1": "String", "5-2": "Either Gallons or Liters", "6-0": "`updated_at`", "6-1": "String", "6-2": "The date and time this fuel price was last updated, in the local time of that gas station. This is pulled from GasBuddy/OPIS.\n\nExample format: \n2016-01-25T03:08:00.000Z", "7-0": "`avg_price`", "8-0": "`num_stations_for_avg`", "9-0": "`business`", "7-1": "Double", "8-1": "Integer", "7-2": "[optional. Only present when the child of an `Exit` object]\n\nWhen associated with an exit, this is the average price of all stations found at this exit (which means located within 1 mile of the exit's offramp). \n\nThe price is for the given `currency` and for the given `fuel_type`, per the given `liquid measurement`, rounded to thousandth's digit.", "8-2": "[optional. Only present when the child of an `Exit` object]\n\nThe number of stations at the associated exit for which we have a price, that we can use to compute the average price.", "9-2": "[optional. Only present when the child of an `Exit` object]\n\nThe Business/POI object associated with the actual business at this exit with the lowest price for the given `fuel_type`.", "9-1": "[Business / POI](doc:business-poi) object" }, "cols": 3, "rows": 10 } [/block]