All Projects → iCell → CryptoCurrencyKit

iCell / CryptoCurrencyKit

Licence: MIT license
A Swift crypto-currencies price library for accessing coinmarket APIs

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to CryptoCurrencyKit

kriptomist
Fundamental cryptocurrency analysis
Stars: ✭ 29 (-45.28%)
Mutual labels:  coinmarketcap
rich-uncle-pennybags-bot
A telegram bot for all of your crypto needs. Works over the bitfinex and coinmarketcap APIs
Stars: ✭ 15 (-71.7%)
Mutual labels:  coinmarketcap
coinmarketcap-api
CoinMarketCap.com API PHP wrapper
Stars: ✭ 26 (-50.94%)
Mutual labels:  coinmarketcap
ionic-cryptocurrency
Ionic cryptocurrency tracker 🚀
Stars: ✭ 22 (-58.49%)
Mutual labels:  coinmarketcap
go-coinmarketcap
The Unofficial Coin Market Cap API client for Go.
Stars: ✭ 61 (+15.09%)
Mutual labels:  coinmarketcap
Coinsta
A Python package for acquiring both historical and current data of cryptocurrencies
Stars: ✭ 47 (-11.32%)
Mutual labels:  coinmarketcap
libcryptomarket
Powerful cryptocurrency market analysis toolkit
Stars: ✭ 43 (-18.87%)
Mutual labels:  coinmarketcap
cointop
A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀
Stars: ✭ 3,589 (+6671.7%)
Mutual labels:  coinmarketcap
CoinMarketBot
A Discord bot that automatically reports updates of crypto from https://coinmarketcap.com/
Stars: ✭ 35 (-33.96%)
Mutual labels:  coinmarketcap
coinmarketcap-api
CoinMarketCap API wrapper for node
Stars: ✭ 111 (+109.43%)
Mutual labels:  coinmarketcap
coinmarketcap-icons-cryptos
Repository of all crypto icons, and allows you to download all images of icons of crypto currencies listed on the coinmarketcap site 9129 icons
Stars: ✭ 17 (-67.92%)
Mutual labels:  coinmarketcap
MKT
Exchange Price Service , Stocks , Cryptocurrency,Stock prediction and more
Stars: ✭ 27 (-49.06%)
Mutual labels:  coinmarketcap
coinmarketcap-new-listings-sniper-bot
Sniper bot to buy new tokens listed on Coinmarketcap.
Stars: ✭ 55 (+3.77%)
Mutual labels:  coinmarketcap
coinmarketcap-ethtoken-db
A database of Ethereum tokens on CoinMarketCap.com in machine-friendly format
Stars: ✭ 25 (-52.83%)
Mutual labels:  coinmarketcap
cryptodiversify
Automatically check your portfolio on the Binance exchange and advice you on rebalancing your portfolio into the top 20 cryptocurrencies by market capitalization
Stars: ✭ 43 (-18.87%)
Mutual labels:  coinmarketcap
coinwatch
Coinmarketcap console client to keep track of your crypto currency trades - are you winning or losing?
Stars: ✭ 73 (+37.74%)
Mutual labels:  coinmarketcap
cryptocheck
Check prices of cryptocurrencies via command line
Stars: ✭ 31 (-41.51%)
Mutual labels:  coinmarketcap
cryptocharts
Cryptocurrency stats and charts displayed in your terminal.
Stars: ✭ 55 (+3.77%)
Mutual labels:  coinmarketcap
Cointop
A fast and lightweight interactive terminal based UI application for tracking cryptocurrencies 🚀
Stars: ✭ 2,912 (+5394.34%)
Mutual labels:  coinmarketcap
python-coinmarketcap
CoinMarketCap Python API Wrapper
Stars: ✭ 67 (+26.42%)
Mutual labels:  coinmarketcap

CryptoCurrencyKit

CryptoCurrencyKit is an API kit based on CryptoCurrency Market Capitalizations

Requirements

  • iOS 8.0+ / macOS 10.10+ / tvOS 9.0+
  • Xcode 9.0+
  • Swift 4.0+

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate CryptoCurrencyKit into your Xcode project using CocoaPods, specify it in your Podfile:

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

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

Then, run the following command:

$ pod install

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate CryptoCurrencyKit into your Xcode project using Carthage, specify it in your Cartfile:

github "iCell/CryptoCurrencyKit"

Run carthage update to build the framework and drag the built CryptoCurrencyKit.framework into your Xcode project.

Swift Package Manager

The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. It is in early development, but Alamofire does support its use on supported platforms.

Once you have your Swift package set up, adding Alamofire as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
    .Package(url: "https://github.com/iCell/CryptoCurrency.git")
]

Usage

fetch tickers

CryptoCurrencyKit.fetchTickers { response in
    switch response {
    case .success(let data):
        print(data)
    case .failure(let error):
        print(error)
    }
}

fetch a specific crypto currency

CryptoCurrencyKit.fetchTicker(coinName: "BitCoin", convert: .jpy) { response in
    switch response {
    case .success(let bitCoin):
        print(bitCoin.priceJPY)
    case .failure(let error):
        print(error)
    }
}

fetch global data

CryptoCurrencyKit.fetchGlobal(convert: .cny) { response in
    switch response {
    case .success(let data):
        print(data)
    case .failure(let error):
        print(error)
    }
}

Author

iCell, [email protected]

License

Alamofire is released under the MIT license. See LICENSE for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].