[](https://travis-ci.org/messagemedia/lookups-python-sdk)
[](https://pypi.python.org/pypi/messagemedia-lookups-sdk)
The MessageMedia Lookups API provides a number of endpoints for validating the phone numbers you’re sending to by checking their validity, type and carrier records.
## ⭐️ Installing via pip
Run the following command to install the SDK via pip: `pip install messagemedia-lookups-sdk`
## 🎬 Get Started
It's easy to get started. Simply enter the API Key and secret you obtained from the [MessageMedia Developers Portal](https://developers.messagemedia.com) into the code snippet below and a mobile number you wish to send to.
### 👀 Lookup a number
```python
# Configuration parameters and credentials
from message_media_lookups.message_media_lookups_client import MessageMediaLookupsClient
import json
basic_auth_user_name = 'YOUR_API_KEY' # The username to use with basic authentication
basic_auth_password = 'YOUR_API_SECRET' # The password to use with basic authentication
client = MessageMediaLookupsClient(basic_auth_user_name, basic_auth_password)
lookups_controller = client.lookups
phone_number = 'YOUR_MOBILE_NUMBER'
options = 'carrier,type'
result = lookups_controller.get_lookup_a_phone_number(phone_number, options)
```
## 📕 Documentation
The Python SDK Documentation can be viewed [here](DOCUMENTATION.md)
## 😕 Need help?
Please contact developer support at developers@messagemedia.com or check out the developer portal at [developers.messagemedia.com](https://developers.messagemedia.com/)
Metadata
Release files for messagemedia-lookups-sdk 1.0.1
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 |
|---|---|---|---|---|
| messagemedia_lookups_sdk-1.0.1.tar.gz | 18.7 kB | Without provenance | Details for messagemedia_lookups_sdk-1.0.1.tar.gz |
Release files / messagemedia_lookups_sdk-1.0.1.tar.gz
| Download URL | messagemedia_lookups_sdk-1.0.1.tar.gz |
|---|---|
| Size | 18.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
daf5aac409f86bd5d097f8ff2ae5bdce91c80283d71225569850b7ae8ee8db0b
|
|
BLAKE2b-256 checksum How to use checksums |
18d8b7683b0905bc60f17d8d6fc82ac410d2e4d7c2953150c4e1bdb8c810d78f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for messagemedia-lookups-sdk 1.0.1
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.