25 stable releases
1.1.16 | Jan 5, 2023 |
---|---|
1.1.15 | Dec 15, 2022 |
1.1.14 | Nov 15, 2022 |
1.1.10 | Jun 28, 2022 |
0.1.1 | Jul 20, 2020 |
#27 in #cryptocurrencies
66KB
1.5K
SLoC
bitsors
A Rust wrapper for the Bitso API, with support for the public and private API endpoints, plus the WebSocket API.
Testing
cargo test
We also make sure Clippy is happy with us with:
cargo clippy --all-features --all-targets -- -D warnings
Examples
You can find lots of examples under the examples/
folder!
MSRV
1.56.1
lib.rs
:
Description
bitsors
is a wrapper for the Bitso API. So far
it includes most of the functionality of the public
and private API endpoints, plus support for the WebSocket API
Disclaimer: Some of the functionality for the private API is not covered in this wrapper.
Uncovered sections:
- Mobile Phone Number Registration
- Mobile Phone Number Verification
Getting started
Authorization
No authorization is needed for the public API. However, the private API
needs authorization as indicated in the official API documentation.
The wrapper takes care of the authentication method. To be able to use
the private API functionality, therefore, you only need to set your
API key and secret variables in a .env
file, export them directly
to your environment variables or supply them in-line through the
BitsoCredentials
' api_key
and api_secret
methods.
Examples
For more detailed information on how to use this wrapper, you could see the examples, which hold detailed use-cases.
Dependencies
~10–24MB
~374K SLoC