This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Tank_Api generator="zend" version="1.0"> | |
| <capture> | |
| <message>Der er trukket -10.00 kr. på kortet. Ny Balance: 109.00 kr.</message> | |
| <balance>10900</balance> | |
| <status>success</status> | |
| </capture> | |
| </Tank_Api> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Tank_Api generator="zend" version="1.0"> | |
| <balance> | |
| <message>Dit kort indeholder 752.20 kr.</message> | |
| <balance>75220</balance> | |
| <status>success</status> | |
| </balance> | |
| </Tank_Api> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='utf-8' standalone='yes' ?> | |
| <map> | |
| <int name="KEY_COFFEES_BOUGHT" value="10" /> | |
| </map> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DanskeBank db = new DanskeBank(); | |
| Login l = db.login(LOGINID, LOGINCODE); | |
| Accounts a = db.getAccounts(); | |
| //Gets first account | |
| Account b = a.getAccounts().get(0); | |
| //gets the newst 20 transactions | |
| Transactions t = db.getTransactions(b.getAccountId()); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| class DanskeBank { | |
| private $_magicKey; | |
| private $_curlHandle; | |
| public function __construct() | |
| { | |
| $this->_curlHandle = curl_init(); | |
| $data = array( | |
| 'os' => 'Android', //hmmf tried with php_uname('s') but then the service rejects logins | |
| 'model' => php_uname('m'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| class DBA { | |
| /** | |
| example params: | |
| 'q' => 'yamaha mixer', | |
| 'ps' => 20, | |
| 'pn' => 1, | |
| 'f' => 'json', | |
| 'filters' => 1 | |
| */ |
NewerOlder