Unofficial Python module for interacting with the HYPE card API.
- 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.
pip install -U HypeBankAPI
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
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')
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.
- @jacopo-j/HypeAPI for the API interface.
Thank you for considering contributing to the HypeAPI project! Please read the Contributing Guidelines for more information on how to contribute.
We expect all contributors to adhere to the Code of Conduct. Please read it to understand the behavior we expect from our community members.