1
0

Тайлбар байхгүй

KeyMasterOfGozer 9e4b571335 Create Objects Market and Player 6 сар өмнө
.gitignore 9e4b571335 Create Objects Market and Player 6 сар өмнө
README.md 9e4b571335 Create Objects Market and Player 6 сар өмнө
config.py 9e4b571335 Create Objects Market and Player 6 сар өмнө
market.py 9e4b571335 Create Objects Market and Player 6 сар өмнө
player.py 9e4b571335 Create Objects Market and Player 6 сар өмнө

README.md

BoobyLegends Economic Helper

This is intended as a helper to find trends in the Booby Legends game.

I intend to built a Discord Bot Interface to let us share in our guild.

Classes

There are some main components written as python classes.

Market

Loads the current Market values for cards.

You can initialize the Market List like this:

from market import Market
m=Market()
m.fetchData()
m.show()

Player

Loads the current Player values for cards. To get stock values, a "config.json" file must be in the folder with a "cookie" defined to have the player's login. I got my cookie by using the "EditThisCookie" plugin for Chrome. The config file should looks omething like this.

{
    "cookie":
        {
            "name":"wordpress_logged_in_f129834928365fbaer348384348y23423uy2323",
            "value":"keymasterofgozer%8ksojhelFM88efn98709cvaSneOVWEUVn9dvs9eVASEvjSEv8ksojhelFM88efn98709cvaSneOVWEUVn9dvs9eVASEvjSEv8ksojhelFM88efn98709cvaSneOVW"
        }
}

You can initialize your Player list like this:

from player import Player
p=Player()
p.fetchData()
p.show()