forked from wobm/playninjalegends
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 months ago | |
---|---|---|
playninjalegends | 5 months ago | |
.gitignore | ||
LICENSE | ||
README.md | ||
setup.py | 5 months ago |
README.md
Ninja Legends API
Not related to or with playninjalegends.com.
Installation
Download the repository or clone with git
git clone https://git.teknik.io/wobm/playninjalegends
Using setuptools,
python setup.py install
or pip
pip install -e .
Example Usage
from playninjalegends import NinjaLegendsAPI
nlapi = NinjaLegendsAPI("https://playninjalegends.com/amf_nl/")
user = nlapi.systemLogin.loginUser(username='xxx', password='xxx')
res = nlapi.huntingHouse.getData(user, char_id) # char_id is int
bossNum = 2
battleCode = nlapi.huntingHouse.startHunting(7069, bossNum)
res = nlapi.huntingHouse.finishHunting(7069, bossNum, battleCode)
Changlog
All notable changes to this project will be documented in this section.
[0.0.2] - 2021-12-22
Added
HuntingHouse
Fixed
BattleSystem
hash param
[0.0.1] - 2021-12-20
Added
- Basic feature such as
BattleSystem
andSystemLogin