Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MyPlexAccount.ping() to refresh authentication token #1271

Merged
merged 2 commits into from Nov 3, 2023

Conversation

JonnyWong16
Copy link
Collaborator

Description

Add MyPlexAccount.ping() method to ping the Plex.tv API. The /api/v2/ping endpoint is used to refresh the Plex authentication token to prevent it from expiring.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the docstring for new or existing methods
  • I have added tests when applicable

@JonnyWong16 JonnyWong16 merged commit 253949c into pkkid:master Nov 3, 2023
5 checks passed
@JonnyWong16 JonnyWong16 deleted the feature/ping branch November 13, 2023 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant