A wrapper for the GrowStocks API, made for both synchronous and asynchronous applications.
Project description
A wrapper for the GrowStocks API, made for both synchronous and asynchronous applications.
NOTE: asynchronous support has not been implemented yet, but is planned for the near future.
PyPI: https://pypi.org/project/growstocks/
Docs: https://growstocks.readthedocs.io/en/latest/
Installation
You can install released versions of growstocks from the Python Package Index via pip or a similar tool:
Stable Release: pip install growstocks
Working Version: pip install git+https://github.com/BobDotCom/growstocks.git
Usage
>>> import growstocks
>>> client = growstocks.Client(913117854995652992,"T%GRD4iEiFmgyYE!O5&ZCx3Rn%uqwPV3")
>>> client.default_scopes = growstocks.Scopes(profile=True, balance=True, discord=True)
>>> user = client.auth.fetch_user('31G4k57rG3asdyyi5Lqk')
>>> dict(user)
{'discord_id': '690420846774321221',
'id': 1916,
'name': 'BobDotCom',
'email': None,
'growid': 'Bob430',
'balance': 3}
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 Distribution
growstocks-0.5.0.tar.gz
(7.9 kB
view hashes)
Built Distribution
Close
Hashes for growstocks-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfe0013ddd77eef278bd6212b97e9dc2faca98b7a1a1d3ea7b2d662fa2cfcecb |
|
MD5 | 8ed69f015800453872c4261a534002c4 |
|
BLAKE2b-256 | 85c94b9f19b67f4d22c299f456fb8ff91f2beae6ea9439f506aba54b34d23cc0 |