TestsTested | ✓ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Sep 2016 |
SPMSupports SPM | ✗ |
Maintained by Alberto Moral.
Depends on: | |
OAuthSwift | >= 0 |
ObjectMapper | >= 0 |
To run the example project, clone the repo, and run pod install
from the Example directory first.
The main concepts to interact with the BancSabadell API. It uses OAUTH 2.0 to get a valid token, and two simple API to get the user’s account and credit cards. To prove the demo code, you need to provide a valid client identifier and client secret. Also, you must have a test user to log in.
Example:
func getAccounts() {
accountResource.loadAsynchronous(AccountsModel.self) { accounts in
print("Value \(accounts)")
}
}
BancSabadellAPIKit is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "BancSabadellAPIKit"
Alberto Moral, [email protected]
BancSabadellAPIKit is available under the MIT license. See the LICENSE file for more info.