Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
/ Handelsbanken-PHP Public archive

Wrapper for the unofficial API of Handelsbanken (Swedish bank)

Notifications You must be signed in to change notification settings

klr/Handelsbanken-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Handelsbanken has changed their API, this "API wrapper" does not work anymore.

Handelsbanken API wrapper

Basic usage:

<?php
include('handelsbanken.php');

$handelsbanken = new Handelsbanken();
$auth = $handelsbanken->login($username, $pin);
?>

The variable $auth will then be an object with the property token and cookie which are used to communicate with the API. Like fetching your accounts...

$accounts = $handelsbanken->get_accounts($auth);

Or listing transactions for a specific account…

$transactions = $handelsbanken->get_transactions($auth, $id);

Or why not transferring money between your accounts?

$handelsbanken->transfer($auth, $amount, $from_account, $to_account, $annotation, $message);

Available methods

  • login($username, $pin)
  • logout($auth)
  • get_accounts($auth)
  • get_transactions($auth, $id)
  • get_transfer($auth)
  • transfer($auth, $amount, $account_from, $account_to, $annotation, $message)
  • get_interests()
  • more to come...

Kudos

Big thanks to Björn Sållarp (@bjornsallarp) for making this possible through his research: http://blog.sallarp.com/handelsbanken-api.html

About

Wrapper for the unofficial API of Handelsbanken (Swedish bank)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages