An unofficial SDK for Meendag.com help you to find name of the owner of the number
Project description
Table of Contents
Requirements
- Python >= 3.8
Installation
PyPi
$ pip3 install meendag
GitHub
$ git clone https://github.com/TheAwiteb/meendag/
$ cd meendag
$ python3 setup.py install
Usage
Get countrys
from meendag import get_countrys
countrys = get_countrys()
for country in countrys:
print(
f"Country name: {country.name} {country.code}"
)
# Country name: المملكة العربية السعودية SA
# Country name: الأردن JO
# Country name: الامارات العربية المتحدة AE
# Country name: البحرين BH
# ...
Get owner
from meendag import get_country_by_code, get_owner
print(get_owner("0138823616", get_country_by_code("SA")))
# Owner(name='Intertek', number='0138823616', country=Country(code='SA', name='المملكة العربية السعودية'))
Countrys filter
from meendag import countrys_filter
print(countrys_filter(lambda country: country.code == "SA"))
# [Country(code='SA', name='المملكة العربية السعودية')]
Get country by code
from meendag import get_country_by_code
print(get_country_by_code("SA"))
# Country(code='SA', name='المملكة العربية السعودية')
Get country by name
from meendag import get_country_by_name
print(get_country_by_name("المملكة العربية السعودية"))
# Country(code='SA', name='المملكة العربية السعودية')
Discussions
Question, feature request, discuss about meendag here
Issues
You can report a bug here
Security
If you discover any security related issues.
License
GNU Affero General Public License (AGPL). Please see License File for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
meendag-0.0.0.tar.gz
(16.7 kB
view hashes)
Built Distribution
meendag-0.0.0-py3-none-any.whl
(19.5 kB
view hashes)