PyBlaze
Python package to access Blaze API resources.
pip install bonsancon-pyblaze
Games available:
How to use
from pyblaze import BlazeClient
client = BlazeClient()
client.version() # Version(version='2.159.0')
If you want to get data from specific game, you can:
from pyblaze.games import Crash
client = Crash()
client.current() # CurrentResponse(crash_point=None, total_eur_bet=5454.341490738392, ...)
Clients and methods
The package have 3 clients:
| Client | Description | import |
|---|---|---|
BlazeClient |
Blaze API Client. | from pyblaze import BlazeClient |
Crash |
Blaze Crash Client. | from pyblaze.games import Crash |
Double |
Blaze Double Client. | from pyblaze.games import Double |
BlazeClient
| Method | Description |
|---|---|
announcement() |
Get current announcement. |
chat_rooms() |
Get chat rooms config. |
chat_room(chat_number) |
Get messages from a chat room. |
country() |
Get country config. |
currencies() |
Get currencies config. |
settings() |
Get Blaze platform settings. |
time() |
Get time (for what?). |
version() |
Get Blaze platform version. |
Games
| Method | Description |
|---|---|
current() |
Get current game. |
get_game_by_id(id) |
Get game data by id. |
get_previous_game_hash_by_hash(hash_code) |
Get previous game hash by the given hash. |
get_previous_games_to_hash_by_hash(hash_code, hash_match) |
Get previous games to hash. |
get_previous_n_games_by_hash(hash_code, number_of_games) |
Get previous N games by the given hash. |
get_result_by_hash(game_hash) |
Get result by the given hash. |
recent() |
Get recent results. |
recent_history() |
Get recent results. |
TO DO: fix Double methods to previous games.
Contributing
Contributions are more than welcome. Fork, improve and make a pull request. For bugs, ideas for improvement or other, please create an issue.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for bonsancon-pyblaze 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bonsancon-pyblaze-0.0.11.tar.gz | 8.3 kB | Without provenance | Details for bonsancon-pyblaze-0.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bonsancon_pyblaze-0.0.11-py3-none-any.whl | Python 3 | none | any | Details for bonsancon_pyblaze-0.0.11-py3-none-any.whl |
Total release size: 28.1 kB
Release files / bonsancon-pyblaze-0.0.11.tar.gz
| Download URL | bonsancon-pyblaze-0.0.11.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26b7c7435ef3c0d8214c271e67220232c4056c9bfdff6317eecce1837c6807c7
|
|
BLAKE2b-256 checksum How to use checksums |
a1155e3aa39bc969df9d170f86adba1ff76eb54037371cd41774f7fe2b269be4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.8.2 requests/2.26.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.7
|
Release files / bonsancon_pyblaze-0.0.11-py3-none-any.whl
| Download URL | bonsancon_pyblaze-0.0.11-py3-none-any.whl |
|---|---|
| Size | 19.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36f73bf864e593f5bdb0b64dd6bd8cf53dd997c863ab916c35aade21b6d485fd
|
|
BLAKE2b-256 checksum How to use checksums |
d998e5b73887e7ffe5f7c218fde52dacbf1695ac570d3ea21f4dd1e1b62c7fbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.8.2 requests/2.26.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.7
|
Security for bonsancon-pyblaze 0.0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.