A package to interact with the Grand Exchange
Project description
GrandExchange-ToolBox
Package to interact with the OSRS live Grand Exchange API alongside additional functions used in common money making approaches.
Quickstart
import grandexchange
DISCORD_ID = "#1234"
client = grandexchange.Client(user_agent=DISCORD_ID)
all_current_prices = client.get_current_prices()
# Names are case sensitive
nature_rune = client.get_current_prices("Nature rune")[0]
# Accessing item properties from the API
# nature_rune.highest.price
# nature_rune.lowest.price
# nature_rune.highest.volume
# nature_rune.lowest.volume
flip = grandexchange.flip(nature_rune, volume=1000)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
File details
Details for the file GrandExchangeToolbox-0.1-py3.10.egg
.
File metadata
- Download URL: GrandExchangeToolbox-0.1-py3.10.egg
- Upload date:
- Size: 41.2 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9b9d4bdf0790128199ecea3c2c5fce73f7fb27d36e84ca3389a1f122c68c259 |
|
MD5 | 485ad181201318f757659ccd578e6d8a |
|
BLAKE2b-256 | da5e359d22690ecfd7fb913dc8ac220b68f7e7bc0c733ddadf6377e6452a171f |
File details
Details for the file GrandExchangeToolbox-0.1-py3-none-any.whl
.
File metadata
- Download URL: GrandExchangeToolbox-0.1-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea9e25e92be82b7fe83f82abf7378bd685d0362fdeedcf4621b4a34508f7162f |
|
MD5 | ea4797a03852465fd44f3318a9e51643 |
|
BLAKE2b-256 | 6b09c65d7af3b70a56f7ab40e8d0ad54fa394768932eaa84e23f6f0ff44f76b0 |