{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/106977b6bf8340a78b1dfe70e553c308\" frameborder=\"0\" width=\"1920\" height=\"1440\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1440,"width":1920,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1440,"thumbnail_width":1920,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/106977b6bf8340a78b1dfe70e553c308-23a6e9e3a0681a94.gif","duration":303.042638,"title":"Fuel Optimization Route API – Django Backend Demo","description":"Hi, I built a Django API that computes a root between two U.S. locations and optimizes where to refuel based on fuel prices and the cost. Instead of checking every point, I sample the route roughly every 50 miles, track how much fuel is left, and when remaining range drops close to 4 miles, I search for nearby stations within a radius and pick the cheapest option near the route. Before stopping, I also look ahead about 150 miles to see if a cheaper station is reachable to avoid unnecessary stops. The API endpoint returns total distance, optimized fuel stops, balances, fuel price, and total fuel cost for the journey. No action was requested from viewers."}