Kard Private Api
Python wrapper of Kard neobank private API
Made with the help HTTP Toolkit for trafic sniffing <3 It's an awesome tool!
Installation
pip install kard-private-api
Either create a file named secrets.json
in your working directory, with the following content:
{
"vendorIdentifier": null,
"userAgent": "ghrlt/kard-private-api /v2.1",
"accessToken": null,
"refreshToken": null,
"accountPin": "Your pin (0000)",
"accountTel": "Your phone number (06 00 00 00 00)"
}
or don't, and input them in your console when asked.
Usage
import kard_private_api as kardapi
k = kardapi.Kard()
k.init()
...
You are ready!
Start with some examples here
FAQ
How does it login to my Kard account?
The login processus include:
- Generating a unique identifier, linked to your account
- If new uid, confirm sms otp, else pass
- Confirm PIN code
Then, and only then, we have the accessToken
and refreshToken
, which is your account sesame.
The wrapper will automatically create and store your uid and obtain and store your tokens, in the current working directory
License
This repository and all of its content is under the GNU GPLv3 license.
Disclaimer
I shall not, and will not be liable for any misuse or unauthorised use, leading or not to damage to any third-party.
This API is to be used for educational purposes only.
Support me