Reedyuk / mexc-api-kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mexc-api-kotlin

Kotlin badge badge badge

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()

About

License:GNU General Public License v3.0


Languages

Language:Kotlin 100.0%