Skip to main content

Kard Private Api

License: GPL v3
Python wrapper of Kard Private Api

Made with the help of the awesome open-source tool HTTP Toolkit for trafic sniffing ❤️

This project is a refactored version of kard-private-api

Installation

pip install pyKard

Usage

from kard_private_api import Kard

myKard = Kard()
myKard.authenticate(forceApiAuth=False)

...

That's all! You're all setup to play with Kard private API.
I recommend you to start with some of the examples here.

FAQ

How does it login to my Kard account?

On your first (or clean) login, the library will generate a unique vendor identifier that will be linked to your session.
Then, a request will be made to Kard, which in return will either ask for an OTP code or your PIN code.

Once successfully authenticated, we have access to an accessToken and a refreshToken which are your account sesame. These as well as your vendor identifier are saved on your computer for later use.

Where my credentials are saved?

By default, they are saved in a file named .kard-login_YOURPHONENUMBER-settings.json located in your home directory.
(C:\\Users\%username%\ on Windows or ~ on Linux/MacOs)

License

This repository and all of its content is under the GNU GPLv3 license.

Disclaimer

This software is provided as is, I shall not, and will not be liable for any misuse or unauthorised use, leading or not to damage to any third-party.

Metadata

Release files for pyKard 3.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyKard 3.0.2
File Size Uploaded Provenance Actions
pyKard-3.0.2.tar.gz 30.7 kB Without provenance Details for pyKard-3.0.2.tar.gz

Release files / pyKard-3.0.2.tar.gz

Download URL pyKard-3.0.2.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
24e343fd96c9158a112957328e1fa440c15503971fac9ecd8e0b38e5bf7f87a5
BLAKE2b-256 checksum
How to use checksums
176e1f44b52c923a09cdc8163d0d7c0adf39693c851a6f60f9564963453f26d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.5

Security for pyKard 3.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page