Skip to main content

API for Hype card holders

Project description

🌟 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

🚀 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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hypebankapi-1.0.2.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hypebankapi-1.0.2-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file hypebankapi-1.0.2.tar.gz.

File metadata

  • Download URL: hypebankapi-1.0.2.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for hypebankapi-1.0.2.tar.gz
Algorithm Hash digest
SHA256 4f92a92df1e372c954f8cb67cc089f0d29ce788c16b63d7e27ab003e2e3e709c
MD5 bf284652acc6acc15198f75874804452
BLAKE2b-256 9c1e351bf42beb8da9b6509ef00c6dcdc1ba88ee33208387f7c34b1937d685aa

See more details on using hashes here.

File details

Details for the file hypebankapi-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: hypebankapi-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for hypebankapi-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b1375fae5566c93623b9e1198879f7f95d6ae03e951da0eb60cb9657e2ff066
MD5 c6e767050619fa0b038fad86bb82e141
BLAKE2b-256 1f59b86c8fa854a37035f5674cb03d66b5e3f0997919fa24075e6bb8dd207606

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page