Skip to main content

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

Reason this release was yanked:

Dependancy is broken

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: recnetlogin-0.0.6.tar.gz
  • Upload date:
  • Size: 5.9 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.6.tar.gz
Algorithm Hash digest
SHA256 295f759eee73ae1014cd93102710ec617865d1de4832dd59dc4f20c90871f17f
MD5 d63ba52c88955425cc11099c688e2f0e
BLAKE2b-256 62901a092c6c6ced0a6fba7bfa46dec9d83033df3058f0099425749d44486b3c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: recnetlogin-0.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 e7bc3d27c8ecec151536fe52fd458343a8748e9a69d9a906303bf3638fbb5046
MD5 8e94b6c6c71cc83dea1368195a1fc8f3
BLAKE2b-256 a3632f86419fb5b167abc08b31e8fb4e76158674520247e20f12cf07821ff595

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