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

Uploaded Python 3

File details

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

File metadata

  • Download URL: recnetlogin-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 d117fe9b05f2ffc7a7091b86aaa0ec828f6fa5d75648fbcfe8eb948fe6ce38b2
MD5 ccceff24820ac6918d08a804a66d2997
BLAKE2b-256 c81a2271dded6ebe9b4748abc7e0dbf9c61bfce84ac4cc1ea14b654d6178894d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: recnetlogin-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7d32269b5b6035a8f0e840d6b275c677c6e5900078deaa695e7af49fcf99f908
MD5 1fdcf6ad1eb5c3d2b6cfe8eddbe8e1d8
BLAKE2b-256 96a6445f3ba940452097ebe40c7cfa666ac56f71a1cdf8191647c5165857f1b8

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