GithubHelp home page GithubHelp logo

jyoo980 / crypto-exchange Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 2.0 4.62 MB

iOS cryptocurrency exchange-rate app, custom caching for API calls and data.

Swift 99.54% Ruby 0.46%
cryptocurrency bitcoin etherium litecoin dogecoin exchange-rate

crypto-exchange's Introduction

crypto-exchange

An easy way to check the most up-to-date exchange rates between popular cryptocurrencies and real-world currency. crypo-exchange uses the CryptoCompare API to get the exchange rates for over 5 commonly used cryptocurrencies, and stores them in a custom cache. crypo-exchange also shows historical exchange rate data for cryptocurrencies, going back up to a year. Below are some screenshots of the app in action. You can also 3D touch anywhere on the app screen to view some statistics for a given cryptocurrency.

Development Requirements

  • To use Charts for iOS, you need to install Cocoapods via Ruby. Luckily, macOS ships with Ruby in the base installation, so all you need to do after cloning this repo is to cd into crypto-exchange and run sudo gem install cocoapods, then run pod install.

Features and Tech Stack

  • CryptoCompare API (for most up-to-date exchange rates)
  • Coinbin API (for historical exchange rates)
  • CoinMarketCap API (for 3D Touch data)
  • Charts for iOS
  • Custom Caching - ExchangeRateCache.swift, GraphDataCache.swift
  • 3D Touch integration

Current facts

  • Currently supports: BCH, BTC, BTG, DOGE, ETH, LTC, and XRP
  • Conversion rate data available for: CAD, EUR, GBP, JPY, and USD
  • 3D Touch data includes % changes per hour, day, and week for all crypocurrencies

Todos

  • Refactor into MVC architecture - Tentatively Complete
  • Introduce caching for API calls (workaround for 100 requests/24hr limit) - Complete
  • Refactor to use with API which has unlimited calls - Complete
  • Introduce caching for historical data graphs - Complete

Note: new TODOs can be seen in the projects section of this repository.

crypto-exchange's People

Contributors

jyoo980 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

factumgame

crypto-exchange's Issues

ExchangeCacheRequest() is misssing still file is present in project

ExchangeCacheRequest() shows missing with this error - Use of unresolved identifier 'ExchangeCacheRequest'
in appdelegate var name is 'exchangeCache' another issue is in view controller there is also missing variable related to this file same file is present in project error is - CoinExchangeRequest
image is uploaded below.
Screenshot 2019-08-19 at 5 42 14 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.