Skip to content

Example without flask #1

@ari

Description

@ari

I don't want to use flask in my integration scripts, which is why I'm paying an additional $10 for the custom connection.

Please supply an example of how to get the token without flask.

    api_client = ApiClient(
        Configuration(
            debug=False,
            oauth2_token=OAuth2Token(
                client_id=CLIENT_ID, client_secret=CLIENT_SECRET
            ),
        ),
        pool_threads=1,
    )

throws an error:

xero_python.exceptions.OAuth2TokenSaverError: Invalid oauth2_token_saver=None function

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions