BancSabadellAPIKit

A delightbul networkin API to manage BancSabadell requests


License
MIT
Install
pod try BancSabadellAPIKit

Documentation

BancSabadellAPIKit

CI Status Version License Platform

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:

var accountResource: Resource<AccountsModel> = Resource(pathComponent: "\(APIConstants.APIEndPoint()!+APIConstants.APIPathAccounts()!)")

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, alberto.moral.g@gmail.com

License

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