All Projects → rzari → jarling

rzari / jarling

Licence: MIT License
A Java Library for the Starling Bank API

Programming Languages

java
68154 projects - #9 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to jarling

developer-resources
A list of useful links, our partners, as well as the stand out projects from the community
Stars: ✭ 86 (+514.29%)
Mutual labels:  starling, starlingbank
eoLinker
在线 API 研发管理测试工具,最后能用的开源修复版本(4.0.1本地测试插件兼容3.5与4.0版本)。
Stars: ✭ 62 (+342.86%)
Mutual labels:  api-client
dns
dns is a simple CLI tool for DNS-LG API
Stars: ✭ 28 (+100%)
Mutual labels:  api-client
laravel-quickbooks-client
SPINEN's Laravel Client for QuickBooks.
Stars: ✭ 25 (+78.57%)
Mutual labels:  api-client
keen-analysis.js
A light JavaScript client for Keen
Stars: ✭ 40 (+185.71%)
Mutual labels:  api-client
tweetsOLAPing
implementing an end-to-end tweets ETL/Analysis pipeline.
Stars: ✭ 24 (+71.43%)
Mutual labels:  api-client
CompaniesHouse.NET
A simple .NET client wrapper for CompaniesHouse API
Stars: ✭ 28 (+100%)
Mutual labels:  api-client
square-java-sdk
Java client library for the Square API
Stars: ✭ 39 (+178.57%)
Mutual labels:  api-client
jobs-stackoverflow
Making it easy to integrate with the Stack Overflow job board API
Stars: ✭ 17 (+21.43%)
Mutual labels:  api-client
revolut-php
💳 PHP Bindings for the Revolut Business API
Stars: ✭ 37 (+164.29%)
Mutual labels:  api-client
messaging-apis
Messaging APIs for multi-platform
Stars: ✭ 1,759 (+12464.29%)
Mutual labels:  api-client
pychannels
Python library for querying and controlling the Channels app.
Stars: ✭ 15 (+7.14%)
Mutual labels:  api-client
j2ssh-maverick
The open source branch of our legacy API providing a robust, mission critical SSH component to the community.
Stars: ✭ 57 (+307.14%)
Mutual labels:  api-client
postmates-api
PHP API Client for Posmates
Stars: ✭ 16 (+14.29%)
Mutual labels:  api-client
hcloud-rust
Unofficial Rust crate for accessing the Hetzner Cloud API
Stars: ✭ 22 (+57.14%)
Mutual labels:  api-client
downcloud
Download your own Soundcloud tracks (uncompressed)
Stars: ✭ 22 (+57.14%)
Mutual labels:  api-client
Bittrex.Api.Client
A C# http client wrapper for the Bittrex cryptocurrency trading platform api
Stars: ✭ 14 (+0%)
Mutual labels:  api-client
enasearch
A Python library for interacting with ENA's API
Stars: ✭ 17 (+21.43%)
Mutual labels:  api-client
dataiku-api-client-python
Python client for the DSS public API
Stars: ✭ 32 (+128.57%)
Mutual labels:  api-client
pastebin-csharp
API client for Pastebin in C#
Stars: ✭ 25 (+78.57%)
Mutual labels:  api-client

Jarling

Jarling is a Java library that provides simple access to the Starling Bank API. It aims to have minimal dependencies, currently only gson for json processing and is compatible with Java 1.8+.

Getting Started

Prerequisites

  • Java 1.8 or greater
  • Gson

Download

Jarling 0.2.0 can be downloaded here or added as a dependency to Maven using the following:

<dependency>
  <groupId>org.jarling</groupId>
  <artifactId>jarling</artifactId>
  <version>0.2.0</version>
</dependency>

Sample Usage

You'll first need to obtain an access token. You can either use your own account or Starling's sandbox account. Details of how to obtain a token can be found here.

Initialise Client

StarlingBank starling = new Starling(StarlingBankEnvironment.PRODUCTION, "<my_personal_access_token>");

Fetch your account details

Account account = starling.getAccount();
System.out.println(account.getName() + "'s sort code is " + account.getSortCode() + " and your account number is " + account.getNumber());

Check your account balance

AccountBalance accountBalance = starling.getAccountBalance();
System.out.println("Your balance is " + accountBalance.getAmount() + " " + accountBalance.getCurrency());

Return Last 100 Transactions

Transaction aTransaction = starling.listTransactions.get(0);
System.out.println("You spent " + aTransaction.getAmount() + " at " + aTransaction.getNarrative()); 

Built With

License

This project is licensed under the MIT License - see the LICENSE file for details

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].