Skip to main content

RecNetLogin is a Python package that allows you to acquire your RecNet bearer token and more with your account credentials!

Project description

RecNet-Login

This is a Python package that allows you to acquire your RecNet bearer token and more with your account credentials! This is the rewritten version! For the older version, visit the legacy branch.

Features

  • Automatically renewing token
  • Supports 2FA accounts
  • Decoding the bearer token
  • Detailed exceptions

Installation

Done via pip:

pip install -U recnetlogin

Usage

Check the examples folder for useful examples to get started with the package.

Alternative ways of getting your bearer token

  • Run this JS script on your browser's DevTools console.
url = window.location.href
if (url.includes("rec.net")) {
   try {
    b_token = "Bearer " + JSON.parse(localStorage.getItem("oidc.user:https://auth.rec.net:recnet"))["access_token"]
    console.log(b_token)
    alert("Successfully printed bearer token on console!")
    }
    catch(err) {
        alert("Not logged in on RecNet!")
    } 
}
else {
    alert("Not in rec.net")
}
  • Generate from cookie

Rec Room API Tool Box made by zigzatuzoo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

recnetlogin-0.0.5.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

recnetlogin-0.0.5-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file recnetlogin-0.0.5.tar.gz.

File metadata

  • Download URL: recnetlogin-0.0.5.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for recnetlogin-0.0.5.tar.gz
Algorithm Hash digest
SHA256 ed5f8ede46b2d3b55717853f359c006d83fe5f4c06e1f58e54231d2cc7225e9f
MD5 e3fa674226b052aa219e9b0c215fd473
BLAKE2b-256 cf58b02af2db88bb5c47c09bd1dbe42f8697b794acfcdb7e14a4abb08bba1b1e

See more details on using hashes here.

File details

Details for the file recnetlogin-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: recnetlogin-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for recnetlogin-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0e885056f7541841b6c182697270aa2d4b8ad1bd7f19aa7ccfa295b038dc0247
MD5 30da9b0bf40748d0d710de8125bfcc19
BLAKE2b-256 2462e75c6f91eba3146fcff6b3485924b1a2049ece97ee6af99293a460c39aef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page