Ninja Heroes: New Era's Ninja Income Automation Script
Script to automate Ninja Income claim for those who have many accounts.
- Install Python 3.8+
- Download or clone the repository
git clone https://github.com/Insisted/NH_Income_Automation.git
- Get into the directory of the project
- Press
[Shift] Right Click
on the directory - Click on
Open in (Terminal|Command Prompt|PowerShell)
- Install the required packages
pip install -r requirements.txt
- Find and fill in the accounts details in
data.json
Automation script using POST
/GET
requests, utilizing multithreading
to claim the Ninja Income
, and significantly ultimately more efficient than nh_claim.py
.
To run
- Basically the same as Installation's
3 - 5
instruction above - Run the script by double clicking or executing
nh_claim-fast.py
on terminal, with or without the starting point, e.g.nh_claim-fast.py 1
- Just wait for it to finish
This tutorial is only intended and should be applicable for any smartphone that have access to Python environment.
In this tutorial I will use Termux
- Install Termux from Github or F-Droid or run Python on any environment you want
- Install Python3 from Termux
yes | pkg upgrade pkg install python3 -y
- Download and unpack or clone the repository from Termux
pkg install git git clone https://github.com/Insisted/NH_Income_Automation.git
- Get into the directory of the project
- If downloaded
- Execute
termux-setup-storage
- use
cd
command to get into the extracted folder, e.g.cd storage/downloads/NH_Income_Automation-main
- Execute
- If cloned
- use
cd
command to get into the cloned repocd NH_Income_Automation
- use
- If downloaded
- Install the required packages
pip install -r requirements.txt
- Find and fill in the accounts details in
data.json
To run
- Basically the same as Mobile Installation's
4
instruction above - Run the script by executing
nh_claim-fast.py
on terminal, with or without the starting point, e.g.python nh_claim-fast.py 1
This tutorial is designed for anyone to use the script without the need of installing anything aside for having a Github account.
- Import or clone and publish this project on your own Github account
- Open the repository setting and head to Actions setting
- Make sure that the setting follows this image below
- Find and fill in your accounts details in
data.json
- Commit and push the changes
- Check the Running Actions
- Unfortunately, daily claim information hasn't been implemented yet
(I could do a simple HTTP/S request to send it through one's Telegram Bot, but I'll save that for later)
Currently Will only be supporting Chrome
, Edge
, and Firefox
and only on Windows
presumably.
The script will run on your browser's private/incognito mode, except for Firefox
.
you can set the value of BROWSER
variable inside nh_claim.py
with either chrome
, edge
or firefox
to make it easier later to run the script with just nh_claim.py
or just run the script directly
To run
- Basically the same as Installation's
3 - 5
instruction above - Run the script by double clicking or executing
nh_claim.py
on terminal, followed by any browser listed above as an argument, e.g.nh_claim.py edge
- If the driver is not there yet, it will download the proper driver executable of the selected browser and store it inside
driver\
. Just wait until it's done downloading
- When the browser window showed, go get your coffee