Vonage Sim Swap Network API Client
This package (vonage-network-sim-swap) allows you to check whether a SIM card has been swapped, and the last swap date.
This package is not intended to be used directly, instead being accessed from an enclosing SDK package. Thus, it doesn't require manual installation or configuration unless you're using this package independently of an SDK.
For full API documentation, refer to the Vonage developer documentation.
Registering to Use the Sim Swap API
To use this API, you must first create and register your business profile with the Vonage Network Registry. This documentation page explains how this can be done. You need to obtain approval for each network and region you want to use the APIs in.
Installation
Install from the Python Package Index with pip:
pip install vonage-network-sim-swap
Usage
It is recommended to use this as part of the vonage package. The examples below assume you've created an instance of the vonage.Vonage class called vonage_client.
Check if a SIM Has Been Swapped
from vonage_network_sim_swap import SwapStatus
swap_status: SwapStatus = vonage_client.sim_swap.check(phone_number='MY_NUMBER')
print(swap_status.swapped)
Get the Date of the Last SIM Swap
from vonage_network_sim_swap import LastSwapDate
swap_date: LastSwapDate = vonage_client.sim_swap.get_last_swap_date
print(swap_date.last_swap_date)
Metadata
Release files for vonage-network-sim-swap 1.1.2
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 |
|---|---|---|---|---|
| vonage_network_sim_swap-1.1.2.tar.gz | 3.9 kB | Without provenance | Details for vonage_network_sim_swap-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vonage_network_sim_swap-1.1.2-py3-none-any.whl | Python 3 | none | any | Details for vonage_network_sim_swap-1.1.2-py3-none-any.whl |
Total release size: 8.6 kB
Release files / vonage_network_sim_swap-1.1.2.tar.gz
| Download URL | vonage_network_sim_swap-1.1.2.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18aa004fc36b015e151b68e3830647295924ff37d3bfd923801dc2fe74b5d1c0
|
|
BLAKE2b-256 checksum How to use checksums |
4850c11fbcd674fb38cf9857e19a7a9785cceda65670db799ae67227f9386ca6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.4
|
Release files / vonage_network_sim_swap-1.1.2-py3-none-any.whl
| Download URL | vonage_network_sim_swap-1.1.2-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e75e8ec2d8cb9d3f2d18acdc8540d57c340b38b8a85c1b129e7860ec3ad7b3a1
|
|
BLAKE2b-256 checksum How to use checksums |
fbf2b192af4717ba11128853eac17333ec2813274ce250cc0cfaecfbdee9e7fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.4
|
Security for vonage-network-sim-swap 1.1.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.