Skip to main content

An unofficial SDK for Meendag.com help you to find name of the owner of the number

Project description

Meendag-sdk

An unofficial SDK for Meendag help you to find name of the owner of the number

PyPI - Python Version PyPI License
Upload Python Package
Code style: black
Table of Contents
  1. Requirements
  2. Installation
  3. Usage
  4. Discussions
  5. Issues
  6. Security
  7. License

Requirements

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


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)

Uploaded Source

Built Distribution

meendag-0.0.0-py3-none-any.whl (19.5 kB view hashes)

Uploaded Python 3

Supported by

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