Skip to content

Python Documentation Revision#19

Open
Lumi-VRC wants to merge 1 commit intovrchatapi:mainfrom
Lumi-VRC:patch-1
Open

Python Documentation Revision#19
Lumi-VRC wants to merge 1 commit intovrchatapi:mainfrom
Lumi-VRC:patch-1

Conversation

@Lumi-VRC
Copy link
Copy Markdown

Added code examples and suggestions for automatic 2fa token generation and cookie persistence, and modified the description to be more specific towards what's in the revised documentation.

Unsure if pickle is best way to store cookies, but it works.

Added code examples and suggestions for automatic 2fa token generation and cookie persistence.
To interact with authenticated VRChat endpoints, your script needs to complete login and, when required, 2FA.
2FA can be either an email code or an authenticator app code.

#### Automatic (recommended)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does automatic here mean? If you're not using cookies or explivit authentication this will fail

Also, it'd be good to keep the examples aligned with the https://github.com/vrchatapi/vrchatapi-python readme and https://github.com/vrchatapi/vrchatapi-python/tree/main/examples examples I think

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I more or less aligned that "automatic" example with the JS example, which was similar. I'll align the examples as you suggested tomorrow, I didn't see those before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants