j16r / coinbase-rs Goto Github PK
View Code? Open in Web Editor NEWCoinbase Rust API Client
License: Apache License 2.0
Coinbase Rust API Client
License: Apache License 2.0
$ cargo run
Updating crates.io index
error: failed to select a version for the requirement `crypto-mac = "^0.7"`
candidate versions found which didn't match: 0.11.1, 0.11.0, 0.10.1, ...
location searched: crates.io index
required by package `hmac v0.7.0`
... which is depended on by `coinbase-rs v0.3.0`
hmac should also yank 0.7.0 but hasn't done so yet.
I recommend bumping hmac (unfortunately there are some breaking changes) and yank coinbase-rs 0.3.0 after release
This is the error:
thread 'main' panicked at 'called Result::unwrap() on an Err value: Serde(Error("missing field data", line: 1, column: 53))'
This is the code:
let sell_price = coinbase
.sell_price(format!("{}{}", &account.currency.code, "-EUR").as_str())
.await
.unwrap()
.amount;
coinbase
is a coinbase_rs::Public
object, and account
is a coinbase_rs::Private::Account
object
Is there a plan to support buys, sells, or transfers in this crate?
It seems like maybe you're working on this again? Any interest in collaborating in a Matrix room or something? I'm a bit of a novice when it comes to more advanced Rust, but I've made a couple small additions and have some questions about plans/current state of this library.
Either way, thanks for this so far.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.