Having a sunny day and the taste for sweet lemons on your crustacean mind? Wait no longer as here comes the (partly autogenerated) API client of the lemon markets api for Rust. Due to some name clashes the OpenAPI generation of the specification produces funny looking plain text (noncompilable code).
This repository fixes this and improves on some typings. A stubbed support for real time data is written but unusable as the current rust ably sdk does not support ably's real time data feature. There isn't much testing right now and the docs are incomplete and usability is clunky due to autogeneration. Will maybe fixed in the future. If you come from the future with the solution plz open a Pull request!
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: 1da2ed0b5fefcf155fa143ba4b81c08c3c1c351c
- Package version: 1da2ed0b5fefcf155fa143ba4b81c08c3c1c351c
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Put the package under your project folder in a directory named openapi
and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./openapi" }
All URIs are relative to /v1
Class | Method | HTTP request | Description |
---|---|---|---|
InstrumentsApi | get_instruments_instruments_get | GET /instruments/ | Get Instruments |
OhlcApi | ohlc_get_ohlc_d1_get | GET /ohlc/d1/ | Ohlc Get |
OhlcApi | ohlc_get_ohlc_h1_get | GET /ohlc/h1/ | Ohlc Get |
OhlcApi | ohlc_get_ohlc_m1_get | GET /ohlc/m1/ | Ohlc Get |
QuotesApi | get_latest_quote_quotes_latest_get | GET /quotes/latest/ | Get Latest Quote |
QuotesApi | get_quotes_quotes_get | GET /quotes/ | Get Quotes |
TradesApi | get_latest_trades_trades_latest_get | GET /trades/latest/ | Get Latest Trades |
TradesApi | get_trades_trades_get | GET /trades/ | Get Trades |
VenuesApi | get_venues_venues_get | GET /venues/ | Get Venues |
- ApiEndpointsOhlcPageDict
- ApiEndpointsQuotesPageDict
- ApiEndpointsTradesPageDict
- From
- FromAnyOf
- Instrument
- ModelType
- OhlcDecimal
- OhlcInt
- OpeningHours
- PageInstrument
- PageUnionOhlcDecimalOhlcInt
- PageVenue
- ResponseError
- ResultsInner
- SortType
- T
- Venue
- VenueSpecificAttrs
To get access to the crate's generated documentation, use:
cargo doc --open
n-0 - Niklas Jona Lohmann
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: b996d5fa9acbe1796d08c2f8360172c63ac713ad
- Package version: b996d5fa9acbe1796d08c2f8360172c63ac713ad
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Put the package under your project folder in a directory named openapi
and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./openapi" }
All URIs are relative to /v1
Class | Method | HTTP request | Description |
---|---|---|---|
AccountApi | account_bank_statements_get_account_bankstatements_get | GET /account/bankstatements/ | Account Bank Statements Get |
AccountApi | account_documents_get_account_documents_get | GET /account/documents/ | Account Documents Get |
AccountApi | account_documents_get_id_account_documents_document_id_get | GET /account/documents/{document_id}/ | Account Documents Get Id |
AccountApi | account_get_account_get | GET /account/ | Account Get |
AccountApi | account_put_account_put | PUT /account/ | Account Put |
AccountApi | account_withdraw_post_account_withdrawals_post | POST /account/withdrawals/ | Account Withdraw Post |
AccountApi | account_withdrawals_get_account_withdrawals_get | GET /account/withdrawals/ | Account Withdrawals Get |
OrdersApi | order_get_orders_get | GET /orders/ | Order Get |
OrdersApi | order_id_activate_post_orders_order_id_activate_post | POST /orders/{order_id}/activate/ | Order Id Activate Post |
OrdersApi | order_id_delete_orders_order_id_delete | DELETE /orders/{order_id}/ | Order Id Delete |
OrdersApi | order_id_get_orders_order_id_get | GET /orders/{order_id}/ | Order Id Get |
OrdersApi | order_post_orders_post | POST /orders/ | Order Post |
PositionsApi | positions_get_positions_get | GET /positions/ | Positions Get |
PositionsApi | positions_performance_get_positions_performance_get | GET /positions/performance/ | Positions Performance Get |
PositionsApi | positions_statements_get_positions_statements_get | GET /positions/statements/ | Positions Statements Get |
UserApi | user_get_user_get | GET /user/ | User Get |
- AccountResponse
- ActivateOrderModel
- BankStatement
- CreateOrderRequest
- CreateOrderResponse
- DocumentResponse
- DocumentsResponseModel
- GetUserResponse
- HttpValidationError
- LocationInner
- Mode
- PageBankStatement
- PagePortfolio
- PagePosition
- PagePositionProfit
- PageReadOrderResponse
- PageWithdrawal
- PlaybookGlobalsModelsSchemaBankStatementTypes
- PlaybookGlobalsModelsSchemaOrderTypes
- Portfolio
- Position
- PositionProfit
- PositionType
- ReadOrderResponse
- RegulatoryInformation
- ResponseAccountResponse
- ResponseCreateOrderResponse
- ResponseDocumentResponse
- ResponseGetUserResponse
- ResponseListAppsApiEndpointsAccountDocumentsResponseModel
- ResponseOk
- ResponseReadOrderResponse
- Sides
- Sorting
- Status
- UpdateAccountModel
- ValidationError
- Venue
- WithdrawMoneyRequest
- Withdrawal
To get access to the crate's generated documentation, use:
cargo doc --open
n-0 - Niklas Jona Lohmann