Giter VIP home page Giter VIP logo

bunq-to-lunchmoney's Introduction

bunq to Lunch Money

Upload Bunq transactions to Lunch Money

Installation

$ composer install

Usage

Configuration settings

In order to start syncing transactions to Lunch Money, please update the config.php file.

// Enter your bunq API key
// Go to bunq app and click the profile tab
// Tap 'Security & Settings' and then 'Developers'
// Go to 'API Keys' and click the plus icon
bunqApiKey = '[YOUR BUNQ API KEY]';
// The callback URL must point to your (HTTPS) URL
bunqCallbackUrl = 'https://bunq-to-lunchmoney.example.com/callback.php';
// Replace with your own secure location to store the API context details
bunqFileName = 'bunq.conf';
bunqIsSandbox = true;
bunqIsCompany = false;
// Visit https://my.lunchmoney.app/developers to request an access token
lunchMoneyAccessToken = '[YOUR LUNCH MONEY ACCESS TOKEN]';
// It's possible to map your bunq accounts to your Lunch Money accounts (Assets)
// This way, transactions can be imported from/to the right accounts
// If you run install.php, you'll see a list of your bunq and Lunch Money accounts
lunchMoneyMapping = [];

// Example: 
lunchMoneyMapping = [
    'your_cash_bunq_accound_id' => 'your_cash_lunch_money_asset_id',
    'your_savings_bunq_accound_id' => 'your_savings_lunch_money_asset_id'
];

Start bunq connection

After setting the right configuration, run install.php once to connect with bunq and create the callback URL.

Callback

The callback URL will be called when a MUTATION event is triggered on one of your bunq accounts. The most recent transactions for each active bunq account (or mapped, see lunchMoneyMapping) will be uploaded to Lunch Money. Duplicate transactions will be automatically ignored by Lunch Money.

bunq-to-lunchmoney's People

Contributors

kristojorg avatar markjongkind avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.