v0.8 is ready for internal production, however still need changes and need improve some class and renaming for future use.
Differences from previous version+
- Built from scratch using Siesta framework and Swift 3
- Better function naming
- Siesta built in caching and expiry time
Features
- auth
- oauth2
- Configure using custom end point
- Set different expiry date for different API request
- Common use local variable (currentVehicle, vehicles, lastVehicleId etc)
- Set expiry time for different API request
- Katsana API functions
Public Function name
- requestVehicle
- requestAllVehicles
- requestVehicleLocation
- requestAllVehicleLocations
- vehicleWith(vehicleId
- requestTripSummaryToday
- requestTripSummaries
- requestTripHistory
- requestTripHistoryUsing(summary
- requestAddress
- requestResponse(forPath
- requestResponseUsing(fullPath
Whats Next?
- Better error handling and message
- Improved logging (info, error etc)
- Support different distance format (miles and kilometers)