TestsTested | ✓ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Mar 2016 |
SPMSupports SPM | ✓ |
Maintained by Alexander Edge.
A framework for fetching stock information and exchange rates from the Yahoo API.
Fetching one or more quotes is straightforward:
Quote.fetch(["MSFT","AAPL"]) { result in
switch result {
case .Success(let quotes):
// do something with the quotes
break
case .Failure(let error):
// handle the error
break
}
}.resume()
As is fetching one or more exchange rates:
ExchangeRate.fetch(["USDGBP","GBPEUR"]) { result in
switch result {
case .Success(let exchangeRates):
// do something with the exchange rates
break
case .Failure(let error):
// handle the error
break
}
}.resume()
iOS 8.0 / Mac OS 10.10
StocksKit is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "StocksKit"
Alexander Edge, [email protected]
StocksKit is available under the MIT license. See the LICENSE file for more info.