{"id":32143296,"url":"https://github.com/icell/cryptocurrencykit","last_synced_at":"2025-10-21T07:56:37.079Z","repository":{"id":41342262,"uuid":"104041606","full_name":"iCell/CryptoCurrencyKit","owner":"iCell","description":"A Swift crypto-currencies price library for accessing coinmarket APIs","archived":false,"fork":false,"pushed_at":"2017-10-19T05:39:03.000Z","size":27,"stargazers_count":52,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-21T07:56:36.884Z","etag":null,"topics":["api","blockchain","coinmarketcap","cryptocurrency","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iCell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-19T07:28:32.000Z","updated_at":"2025-08-07T03:04:46.000Z","dependencies_parsed_at":"2022-08-31T23:27:05.349Z","dependency_job_id":null,"html_url":"https://github.com/iCell/CryptoCurrencyKit","commit_stats":null,"previous_names":["icell/cryptocurrency"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/iCell/CryptoCurrencyKit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iCell%2FCryptoCurrencyKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iCell%2FCryptoCurrencyKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iCell%2FCryptoCurrencyKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iCell%2FCryptoCurrencyKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iCell","download_url":"https://codeload.github.com/iCell/CryptoCurrencyKit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iCell%2FCryptoCurrencyKit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280225808,"owners_count":26293888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","blockchain","coinmarketcap","cryptocurrency","swift"],"created_at":"2025-10-21T07:56:35.540Z","updated_at":"2025-10-21T07:56:37.072Z","avatar_url":"https://github.com/iCell.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CryptoCurrencyKit\n\n\nCryptoCurrencyKit is an API kit based on [CryptoCurrency Market Capitalizations](https://coinmarketcap.com/api/)\n\n\n## Requirements\n\n- iOS 8.0+ / macOS 10.10+ / tvOS 9.0+\n- Xcode 9.0+\n- Swift 4.0+\n\n## Installation\n\n### CocoaPods\n\n[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:\n\n```bash\n$ gem install cocoapods\n```\n\nTo integrate CryptoCurrencyKit into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :ios, '10.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\n    pod 'CryptoCurrencyKit'\nend\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\n### Carthage\n\n[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.\n\nYou can install Carthage with [Homebrew](http://brew.sh/) using the following command:\n\n```bash\n$ brew update\n$ brew install carthage\n```\n\nTo integrate CryptoCurrencyKit into your Xcode project using Carthage, specify it in your `Cartfile`:\n\n```ogdl\ngithub \"iCell/CryptoCurrencyKit\"\n```\n\nRun `carthage update` to build the framework and drag the built `CryptoCurrencyKit.framework` into your Xcode project.\n\n### Swift Package Manager\n\nThe [Swift Package Manager](https://swift.org/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. \n\nOnce 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`.\n\n```swift\ndependencies: [\n    .Package(url: \"https://github.com/iCell/CryptoCurrency.git\")\n]\n```\n\n## Usage\n\nfetch tickers\n\n```Swift\nCryptoCurrencyKit.fetchTickers { response in\n    switch response {\n    case .success(let data):\n        print(data)\n    case .failure(let error):\n        print(error)\n    }\n}\n```\n\nfetch a specific crypto currency\n\n```Swift\nCryptoCurrencyKit.fetchTicker(coinName: \"BitCoin\", convert: .jpy) { response in\n    switch response {\n    case .success(let bitCoin):\n        print(bitCoin.priceJPY)\n    case .failure(let error):\n        print(error)\n    }\n}\n```\n\nfetch global data\n\n```Swift\nCryptoCurrencyKit.fetchGlobal(convert: .cny) { response in\n    switch response {\n    case .success(let data):\n        print(data)\n    case .failure(let error):\n        print(error)\n    }\n}\n```\n\n## Author\n\niCell, icell.vip@gmail.com\n\n## License\n\nAlamofire is released under the MIT license. [See LICENSE](https://github.com/iCell/CryptoCurrency/blob/master/LICENSE)  for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficell%2Fcryptocurrencykit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficell%2Fcryptocurrencykit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficell%2Fcryptocurrencykit/lists"}