https://github.com/jangorman/bling
An Open Exchange Rates API wrapper written in Swift
https://github.com/jangorman/bling
carthage cocoapod cocoapods openexchangerates swift
Last synced: about 1 year ago
JSON representation
An Open Exchange Rates API wrapper written in Swift
- Host: GitHub
- URL: https://github.com/jangorman/bling
- Owner: JanGorman
- License: mit
- Created: 2018-02-18T20:21:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-04-09T09:05:59.000Z (about 1 year ago)
- Last Synced: 2025-04-09T10:27:26.020Z (about 1 year ago)
- Topics: carthage, cocoapod, cocoapods, openexchangerates, swift
- Language: Swift
- Size: 354 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bling 💰

[](https://codecov.io/gh/JanGorman/Bling)
[](http://cocoapods.org/pods/Bling)
[](http://cocoapods.org/pods/Bling)
[](http://cocoapods.org/pods/Bling)
[](https://github.com/Carthage/Carthage)
An [Open Exchange Rates](https://openexchangerates.org) API wrapper written in Swift using Combine.
## Requirements
- Swift 5.1
- iOS 13.0+
## Install
Bling is available on [Cocoapods](http://cocoapods.org). Add it to your `Podfile` and run `pod install`:
```ruby
pod 'Bling'
```
## Usage
To use Bling you need to create a new instance and pass it your app id:
```swift
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