Popularity
0.6
Stable
Activity
0.0
Stable
8
2
3

Programming language: Swift
License: MIT License
Tags: Unofficial     SDK    
Latest version: v0.1.0

BittrexApiKit alternatives and similar libraries

Based on the "Unofficial" category.
Alternatively, view BittrexApiKit alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of BittrexApiKit or a related project?

Add another 'Unofficial' Library

README

BittrexApiKit

Swift client for Bittrex api. It support all APIs with most recent changes. more info here

let api = Bittrex(apikey: "api key", secretkey: "secret key")
api.getMarkets() { (response) in
    switch response{
        case .success(let data):
            print(data)
        case .failed(let err):
            print(err)
    }
}

api.getBalance(currency: 'BTC') { (response) in
    switch response{
        case .success(let data):
            print(data)
        case .failed(let err):
            print(err)
    }
}

Supported APIs

Public APIs

    public func getMarkets()
    public func getCurrencies()
    public func getTicker()
    public func getMarketSummaries()
    public func getMarketSummary(market: String)
    public func getOrderBook(market: String)
    public func getMarketHistory(market: String)

Market APIs

    public func buyLimit(market: String, quantity: String, rate: String)
    public func sellLimit(market: String, quantity: String, rate: String)
    public func cancelBuySell(uuid: String)
    public func getOpenOrders(market: String)

Account APIs

    public func getBalances()
    public func getBalance(currency: String)
    public func getDepositAddress(currency: String)
    public func withdraw(currency: String, quantity: String, address: String)
    public func getOrder(uuid: String)
    public func getOrderHistory(uuid: String)
    public func getWithdrawalHistory(currency: String)
    public func getDepositHistory(currency: String)

Requirments

  • Swift 4+
  • iOS 9+

Installation

You can simply install using Cocoapods

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
use_frameworks!

target '<Your Target Name>' do
    pod 'BittrexApiKit'
end

Contribution

You want help? That's great! submit a pull request! :grinning: