Unofficial client for interacting with Erstegroup API
For one of mine customers I've created this lib for getting info about payments done through his web/shop.
Implemented API for CSAS:
- OAUTH2
- Accounts - read only
- Transactions - read only
Tested on PHP v 5.4 Needed - cURL
Download files from src folder - view example for details
For login use:
'mode' => Constants::API_GUIFor just work with data ( you have a method for refreshing token on another file )
'mode' => Constants::API_SILENTNeeded actions from application on https://developers.erstegroup.com/portal/ :
- copy API_KEY, CLIENT_ID and CLIENT_SECRET
- set own url_redirect after OAUTH2 login used identificator "complete" on line 125 in erstegroup.php
Implement own method for loadin/saving tokens ( now unsecure loading/saving into file ) Implement own method for viewing data ( now just plain var_dump )
If you want implement something into this lib, feel free to add request.
Feel free to use this lib as you wish. I will appreciate if you mention me in your project in some way :-)