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 git:

python -m pip install -U git+https://github.com/Jegarde/RecNet-Login.git#egg=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.1.tar.gz (5.6 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.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: recnetlogin-0.0.1.tar.gz
  • Upload date:
  • Size: 5.6 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.1.tar.gz
Algorithm Hash digest
SHA256 da2abb19dd331f90af8f534b4e07f3718bfd2109c8fe961a5cace505c4cbccdb
MD5 1a5a04aaaf4af9d34c33639cfe1bd5ba
BLAKE2b-256 cb3b4afc0fe1c5a6c3aa75dce987935f79022f8ff4b87f53a00b77f6656f7c56

See more details on using hashes here.

File details

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

File metadata

  • Download URL: recnetlogin-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a73e760c65da2128039460960f024296a8499baa5abaaee041b958367883615f
MD5 bf11ecfec0c27a043216922e0d682dc1
BLAKE2b-256 a568f047130890bd0b180046fc9ea97f1d353911ba598bd75f73594dc68060c0

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