wtpalexander/audi-connect
This is an unofficial Swift Package for integrating Audi Connect Services. This package has been assembled using the [audiconnectpy](https://github.com/cyr-ius/audiconnectpy) package as basis. Credits to [@cyr-ius](https://github.com/cyr-ius) for the creation and maintenance of t
Is the API official?
Absolutely not. These endpoints are a result of reverse engineering Audi's web and mobile applications.
Requirements
Swift
Porsche Connect requires Swift 6.0 or higher. It uses the new async/await concurrency language features introduced in Swift 5.5.
Supported Platforms
Currently the library supports the following platforms:
- macOS (Version 13+)
- iOS (Version 16+)
Examples/Supported APIs
Get Vehicles
let audiConnect = AudiConnect(username: "username", password: "password", country: "GB", model: .standard)
let vehicles = try await audiConnect.getVehicles()Get Vehicle Information
let audiConnect = AudiConnect(username: "username", password: "password", country: "GB", model: .standard)
let vehicleInformation = try await audiConnect.getVehicleInformation(vin: "vehicle vin")Get Vehicle Status
let audiConnect = AudiConnect(username: "username", password: "password", country: "GB", model: .standard)
let vehicleStatus = try await audiConnect.getVehicleStatus(vin: "vehicle vin")Note: Not all properties are currently being decoded, additions to the library are welcomed to add support for these.
Still to be added
- Further APIs, vehicle control, feature parity with the python equivalent
- Refreshing tokens as required (currently tokens will expire and require re-authentication)
Contributions are very welcome, this library is certainly a minimal implementation built for certain requirements.
Package Metadata
Repository: wtpalexander/audi-connect
Default branch: main
README: README.md