How to ask Siri about your bunq account balance, using the bunq API and Siri ShortcutsWouter Janson · 3 July 2019
Read the full story on Medium
bunq offers a world-class mobile banking solution, but wouldn’t it be great if we could make the experience even better? What about the ability to ask Siri about our current balance! That’s what we’re going to achieve in this tutorial. We will harness the power of the bunq C# SDK in combination with Siri Shortcuts to make the magic happen.
What do we need, for this magic to work? ✨
The shortcuts app is a powerful tool with which you can automate things in iOS, but it isn’t that powerful! You’ll have a hard time trying to make an API wrapper, inside of shortcuts, for an advanced API like the one from bunq. That’s why we will create a small proxy API in .Net Core that runs on our server or personal machine. The proxy API does the heavy-lifting, while we create an easy to use and easy to understand Siri Shortcut.
You’ll need the following items:
- .NET Core 2.2
- Visual Studio / Visual Studio Code or another IDE with support for C#
- An iPhone with the Shortcuts app installed
- A bit of programming knowledge and understanding of HTTP
I’ll be using Visual Studio (for Mac) in this tutorial, but the experience with another IDE should be similar. All the source code will be available as a download on GitHub.