binance-openapi

Crates.iobinance-openapi
lib.rsbinance-openapi
version0.0.0
sourcesrc
created_at2024-06-05 09:09:13.519293
updated_at2024-06-05 09:09:13.519293
descriptionBinance _typed_ REST API bindings, generated via progenitor
homepage
repositoryhttps://github.com/drahnr/binance-openapi
max_upload_size
id1262596
size3,317,501
rust-libp2p Maintainers (github:libp2p:rust-libp2p-maintainers)

documentation

README

binance-openapi

Based on an (adapted) OpenAPI spec from https://github.com/binance/binance-api-swagger

Adaptations

  • disabled some API calls due to
    • usage of both lower case m and upper case M breaks with the used generator
    • usage of arrays in args, which doesn't have defined format and hence fails to generate for now

Motivation

Trying to use binance's rust API leaves much to be desired, the return types are all raw streams and only provide conversion to strings which have to be manually parsed using i.e. serde_json to hand written types. We can do better.

Commit count: 2

cargo fmt