This is a ruby library and command line tool to wrap around the more complex aqbanking cli tools.
Sample:
$ aq_banking request --bank=diba BLZ ACCCOUNT_NUMBER LOGIN_ID PASSWORD --from=2016-04-18
See (transaction.txt.json)[./spec/fixtures/transaction.txt.json] for a sample response.
It still requires the aq_banking command line tools (aqhbci-tool4, aqbanking-cli) to be present. To my experience, these tools are very unstable and full of bugs. This tool is developed using a specific version which ships with the docker image. To avoid errors with different versions, I recommend using the docker image:
docker run -it --rm rweng/aq_banking --help
docker run -it --rm rweng/aq_banking request --bank=diba BLZ ACCCOUNT_NUMBER LOGIN_ID PASSWORD --from=2016-04-18
Installation
CLI
gem install aq_banking
Ruby
Add this line to your application's Gemfile:
gem 'aq_banking', github: 'rweng/aq_banking'
And then execute:
$ bundle
Usage
aq_banking --help
aq_banking request BLZ ACCCOUNT USER_ID PASSWORD --bank=diba
Development
# run tests
rspec
# log into container for integration testing
docker-compose run gem
aq_banking help
Release
# publish gem
rake release
# publish docker
rake build && docker-compose build gem && docker push rweng/aq_banking
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/rweng/aq_banking.