mexc-api-kotlin
A Kotlin Multiplatform Library for using the Mexc Api
Running
The library works on the following platforms: Android
, iOS
, JavaScript
, JVM
.
Usage
First register with Mexc for an api access key and secret key
https://www.mexc.com/user/openapi
Then create an instance of the client
val client = MexcClient("accessKey", "secretKey")
To access the different api endpoints, they are grouped into three categories as per the mexc api. https://mxcdevelop.github.io/APIDoc/
Market Data
client.marketDataClient.trades("LUNCUSDT")
Spot Trades
client.spotTradeClient.allOrders("LUNCUSDT")
ETF
client.etfClient.info()