BancSabadellAPIKit 0.1.1

BancSabadellAPIKit 0.1.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Sep 2016
SPMSupports SPM

Maintained by Alberto Moral.



 
Depends on:
OAuthSwift>= 0
ObjectMapper>= 0
 

BancSabadellAPIKit

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Intro

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)")
    }
}

Installation

BancSabadellAPIKit is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "BancSabadellAPIKit"

Author

Alberto Moral, [email protected]

License

BancSabadellAPIKit is available under the MIT license. See the LICENSE file for more info.