Latest 1.1.6
Homepage https://github.com/alaphao/CoindarAPI
License MIT
Platforms ios 10.0
Dependencies Moya
Authors

CI Status
Version
License
Platform
Swift 5.0

A wrapper around the Coindar API written in Swift

Quick Start

Import CoindarAPI and create an instance of Coindar with your token.

You can get a Coindar token here

import CoindarAPI

let api = Coindar(token: "MyCoindarToken")

Available methods:

func getEvents(params: EventsParams, onSuccess: ([Event]) -> Void, onError: (Error) -> Void) -> Cancellable

func getCoins(progress: (Double) -> Void, onSuccess: ([Coin]) -> Void, onError: (Error) -> Void) -> Cancellable

func getTags(progress: (Double) -> Void, onSuccess: ([Tag]) -> Void, onError: (Error) -> Void) -> Cancellable

func getSocial(coins: [Coin], onSuccess: ([Social]) -> Void, onError: (Error) -> Void) -> Cancellable

Installation

CoindarAPI is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'CoindarAPI'

License

CoindarAPI is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "CoindarAPI",
    "version": "1.1.6",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "summary": "A wrapper around Coindar API",
    "homepage": "https://github.com/alaphao/CoindarAPI",
    "authors": {
        "Aleph Retamal": "[email protected]"
    },
    "source": {
        "git": "https://github.com/alaphao/CoindarAPI.git",
        "tag": "1.1.6"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "Sources/*.swift",
    "swift_version": "5.0",
    "dependencies": {
        "Moya": [
            "~> 13.0.0"
        ]
    }
}

Pin It on Pinterest

Share This