Git Product home page Git Product logo

blshift's Introduction

BL-Shift

Python >=3.6 License: MIT GitHub last commit

Shift code automated redeemer for Borderlands using lists from Orcicorn.

Features

  • works for all Borderlands (3, 2, the Pre-Sequel, GOTY), and all platforms (Xbox, PSN, Steam, Nintendo, Stadia, and Epic).
  • automatically pulls active codes from shift.orcicorn.com.
  • codes can also be manually redeemed.
  • supports multiple shift accounts on different platforms.
  • cross-platform written in python.
  • runs on command line so can be easily scripted or put in a cron job to run on a schedule.
  • open-source so you can be assured your logins are safe and secure.
  • provides a reusable package to use in your own python scripts.

Install

pip install git+https://github.com/derekn/blshift.git

or using pipenv:
pipenv install git+https://github.com/derekn/blshift.git#egg=blshift

Usage

Specify the Shift account username/password and platform (Xbox/PS/etc.) via the command line options,
or using the environment variables: SHIFT_USERNAME, SHIFT_PASSWORD and SHIFT_PLATFORM.

Usage: blshift [OPTIONS]

Options:
  --version                       Show the version and exit.
  -u, --user TEXT                 shift username.  [required]
  -p, --pass TEXT                 shift password.  [required]
  -l, --platform [EPIC|NINTENDO|PLAYSTATION|STADIA|STEAM|XBOX]
                                  redemption platform.  [required]
  -c, --code TEXT                 redeem single shift code, can be used
                                  multiple times.

  --no-cache                      disable shift code caching.
  --cache-dir DIRECTORY           cache directory, default system temp.
  --help                          Show this message and exit.
  • Redeem all active codes:
    blshift -u username -p password -l xbox

  • Manually redeem codes:
    blshift -u username -p password -l xbox -c CBCTJ-3TJ3J-C3XBS-9RW3C-TTXX2
    the -c/--code option can be used multiple times to redeem several codes

  • Using environment variables to redeem on multiple platforms

export SHIFT_USERNAME='[email protected]'
export SHIFT_PASSWORD='abc123'

blshift --platform xbox
blshift --platform playstation

blshift's People

Contributors

derekn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.