Fuel Up, James - Personal Project

Fuel Up, James - Personal Project

Description

An extension to a cross-platform fuel-finder app that adds live South Australian fuel prices, letting drivers spot the cheapest nearby station by fuel type and tap to navigate straight there.

Challenge

Fold a completely different government data source (SAFPIS) into an app originally built for European prices—reconciling a new API shape, a token-based authentication model, and Australian fuel grades that don't map onto the existing ones—without disrupting the shared map UI.

Solution

Built a dedicated SouthAustraliaFuelService behind a dependency-injected HttpClient that authenticates with SAFPIS, caches sites and prices, and normalises them into the app's shared station model. Added region-aware fuel-type mapping (Unleaded 91, E10, Premium 95/98, Diesel) with graceful fallback for unsupported grades, distance-based sorting around the user's location, and one-tap native navigation via Map.OpenAsync. The subscriber token is kept out of source control through a git-ignored secrets file.

  • SAFPIS API integration
  • Region-aware fuel-type mapping
  • One-tap native navigation