Skip to content

How to use this within python? #11

@bobbintb

Description

@bobbintb

I am trying to get this to work in python instead of cli but this simple test isn't working.

import ptpapi

connection = ptpapi.login(username='username',passkey='xxxxxxxxxxxxxxxxxxxxxxxxxx')
print(connection.current_user())

Running the above just once locks me out of PTP:
Your popcorn quota has been reached, come back later!

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