Skip to content

Use account-wide token with Base class #70

@unidesigner

Description

@unidesigner

Hi,

I have a shared base and wanted to access it via an account-wide token, but I get a permission denied error. Is there a way to do this using tokens instead of the Account object?

Thanks.

urlbase = f'https://seatableurl'
post = {'username': 'email', 'password': 'pass'}
r = requests.post(urlbase + '/api2/auth-token/', data=post)
base = Base(r.json()['token'], urlbase)
base.list_rows('mysheet')

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