Swiftpack.co - alephao/CoindarAPI as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A wrapper around the Coindar API
.package(url: "https://github.com/alephao/CoindarAPI.git", from: "1.2.1")


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


CoindarAPI is available through CocoaPods and Swift Package Manager.


Simply add the following line to your Podfile:

pod 'CoindarAPI'

Swift Package Manager

Through Xcode UI (Xcode 11+)

Go to File -> Swift Packages -> Add Package Dependency... and enter package repository URL https://github.com/alephao/CoindarAPI.git, then follow the instructions.

Without Xcode

Simply add the following as a dependency to your Package.swift, under dependencies:

.package(url: "https://github.com/alephao/CoindarAPI.git", .upToNextMajor(from: "1.0.0"))

then specify "CoindarAPI" as a dependency of the Target in which you wish to use CoindarAPI.


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


Stars: 2
Last commit: Yesterday

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.


Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics