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.4.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.4-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: recnetlogin-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 d58bd569b05a852a345220ec52705a20b8ea68dffc4e15d7380e538be1833dc9
MD5 8c1b40b8e567450d08595c841c7e26cc
BLAKE2b-256 60f2b0d2138aa88549c5ae5c294fa833a9280ace53f0a78f1df482eed2c94f33

See more details on using hashes here.

File details

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

File metadata

  • Download URL: recnetlogin-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 abda41681c920e6f84be6bbb7f5e610d6f6a1a9f1da303fc849558e378711f65
MD5 3dff14169cfddfe8fb51c8f552e8cac0
BLAKE2b-256 a5d3c03708293a6590ada091fdbfd9dd039cfd1e30af34c5745c5ab2ebad6e4c

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