Skip to content

An Open Exchange Rates API wrapper written in Swift

License

Notifications You must be signed in to change notification settings

JanGorman/Bling

Repository files navigation

Bling 💰

CI codecov Version License Platform Carthage compatible

An Open Exchange Rates API wrapper written in Swift using Combine.

Requirements

  • Swift 5.1
  • iOS 13.0+

Install

Bling is available on Cocoapods. Add it to your Podfile and run pod install:

pod 'Bling'

Usage

To use Bling you need to create a new instance and pass it your app id:

let bling = Bling(appId: "")

bling.latest()
  .sink(receiveCompletion: { _ in },
        receiveValue: { print($0) })
  .store(in: &subscriptions)

License

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