Skip to content

Usage examples #18

@ramonsmits

Description

@ramonsmits

Please extend the readme with atleast a simple example explaining how to use the framework. I'm unable to use it.

For example, I tried the following but it doesnt work. Maybe my access token is incorrect but it is also unclear how to obtain an access token in the first place.

            var result = await client.GetVehiclesAsync(TESLA_ACCESS_TOKEN);
            var vehicles = result.Data.Response;
            foreach (var vehicle in vehicles)
            {
                Console.WriteLine(vehicle.DisplayName);
            }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions