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.2.tar.gz (5.7 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.2-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: recnetlogin-0.0.2.tar.gz
  • Upload date:
  • Size: 5.7 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.2.tar.gz
Algorithm Hash digest
SHA256 a0933011020f81e09d349a5161e36ed05ba42558af3070243d024ae7cfc8b052
MD5 c737b493caf3b3f96825f274fb41b492
BLAKE2b-256 75e002c3e59b3c7bfb46956f63e2f7b813f81fea4a9433758aec653f144842f2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: recnetlogin-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0d4c7acc6036046e9fb07db896b2ecc2e5f47604a6422edf0a70c0b2ef3c896
MD5 5330e1838ed0a3cdc545c99a26b487c2
BLAKE2b-256 4522d81e7ee2ef8c593ad0837b0cc41c1bb3b12db9096cd758ac33f59143b545

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