TeslaSwift
TeslaSwift copied to clipboard
Added customizable scopes
Edited TeslaAPI enum to include customizable scopes for Fleet API. Did not touch .ownerAPI as Owner API is deprecated and its deletion from this package should occur soon.
Can you add a default Scope to the enum to return all the standard scopes so that we dont need to think too much when adding scopes?
Can you add a default Scope to the enum to return all the standard scopes so that we dont need to think too much when adding scopes?
Sure, standard scopes as in just vehicle-related + openid + offline or all?
@itsMeDavidV like adding all to the variable in the enum
Hi, i added myself the static var all
so we dont need to set the scopes manually
Nice, sorry about that! Not a lot of spare time these days :/