Unofficial Python Wrapper for Asiacell API ✨
Simplify interaction with the Asiacell API using this unofficial Python wrapper. Perform actions like retrieving transferring money, Verify transferring, Spin wheel, Get the transaction and subscriptions history.
Installation
Install the package using pip:
pip install asiacell.py
Usage
Here's a simple example of using asiacell.py:
from asiacell import Asiacell
from asiacell.utils.models import Bundle
# Defining The Number Object To Login With
asia = Asiacell("07700000000")
# Login With The Number
pid = asia.login() # sending code to phone number and getting the pid
code = input(f"Enter the otp code: ") # getting the code from user
# verify login
asia.verify_login(pid, code)
# saving data for future use without login again
asia.save_auth()
asia.load_auth()
print("AUTH LOADED")
print(asia.get_account_data().balance.value) # prints account balance
res = asia.get_subscriptions_history()
bundle: Bundle
for bundle in res.bundles:
print(f"{bundle.bundle_name}, {bundle.amount}")
For more details, refer to the upcoming documentation.
Contributing
Contributions are welcome! Report bugs or suggest features by creating GitHub issues. Contribute code by forking the repository and submitting a pull request.
Contact
Questions or discussions about the package can be held on our Discord community. Join us today!
Metadata
Release files for asiacell.py 1.0.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 |
|---|---|---|---|---|
| asiacell.py-1.0.0.tar.gz | 8.8 kB | Without provenance | Details for asiacell.py-1.0.0.tar.gz |
Release files / asiacell.py-1.0.0.tar.gz
| Download URL | asiacell.py-1.0.0.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1dc5e175f803306c84e5b25b4471ad3e0a5d65bbfe5e9ecf40e4e16c541a2808
|
|
BLAKE2b-256 checksum How to use checksums |
56b6fe551fd6bd5209eeddfa4d301bfd36f862259f61fd8a6454ef716a0823ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for asiacell.py 1.0.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.