🌟 HypeAPI
Unofficial Python module for interacting with the HYPE card API.
📝 Notes
- HYPE only allows the use of one device at a time. Logging in with this module will disconnect you from the application and vice versa.
Pypi
pip install -U HypeBankAPI
Command Line Interface
hypebankapi supports argparse for command line arguments:
python -m hypebankapi -m EMAIL -b BIRTHDATE [-l LIMIT] [-v]
The module is invoked using the following command-line arguments:
-m EMAIL,--email EMAIL: Specifies the email address. It is a required argument.-b BIRTHDATE,--birthdate BIRTHDATE: Specifies the birth date. It is a required argument.-l LIMIT,--limit LIMIT: Limit the number of transactions to fetch from Hype API. Default to 50. It is an optional argument.-v,--verbose: Enables verbose output. It is an optional flag argument.
Tip: If you encountered an error while running the command try
python3 -m hypebankapi
🚀 Usage
from hypebankapi import Hype, utils
from getpass import getpass
h = Hype()
h.login(EMAIL, getpass('Hype password: '), BIRTH-DATE) # Change EMAIL and BIRTH-DATE
# Wait for OTP code to arrive via SMS
h.otp2fa(input("OTP: "))
profile = h.get_profile()
balance = h.get_balance()
card = h.get_card()
movements = h.get_movements(limit=50) # change the limit of transactions fetched
utils.save_json(profile, 'profile.json')
utils.save_json(balance, 'balance.json')
utils.save_json(card, 'card.json')
utils.save_json(movements, 'movements.json')
⚠️ Disclaimer
The contents of this repository are for informational purposes and the result of personal research. The author is not affiliated, associated, authorized, endorsed by, or in any way connected with Banca Sella S.p.A., or with its affiliated companies. All registered trademarks belong to their respective owners.
🙏 Acknowledgments
- @jacopo-j/HypeAPI for the API interface.
Contributing
Thank you for considering contributing to the HypeAPI project! Please read the Contributing Guidelines for more information on how to contribute.
Code of Conduct
We expect all contributors to adhere to the Code of Conduct. Please read it to understand the behavior we expect from our community members.
Metadata
Release files for HypeBankAPI 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hypebankapi-1.1.0.tar.gz | 10.8 kB | Without provenance | Details for hypebankapi-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hypebankapi-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for hypebankapi-1.1.0-py3-none-any.whl |
Total release size: 21.4 kB
Release files / hypebankapi-1.1.0.tar.gz
| Download URL | hypebankapi-1.1.0.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76e429ffd10b58fd35118080051c453e5cc55d6b5da5bb5495de758ab49fe7c2
|
|
BLAKE2b-256 checksum How to use checksums |
dd3e62e38f73cfe0a87cd24cde9e3bd4ab530bb08e1ab233a65c84d798b20ec7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / hypebankapi-1.1.0-py3-none-any.whl
| Download URL | hypebankapi-1.1.0-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4fcafece078668414780e2552d5834579bedf6aa0316e72093c047b04863ac07
|
|
BLAKE2b-256 checksum How to use checksums |
856b6cdc6cfb1fb8ab5cb9f77e9518cd193d0198fb4bc78bb3cbb7c8f2d7a44b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for HypeBankAPI 1.1.0
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.