https://github.com/theawiteb/meendag
An unofficial SDK for Meendag help you to find name of the owner of the number
https://github.com/theawiteb/meendag
owner-number phone-number
Last synced: 5 months ago
JSON representation
An unofficial SDK for Meendag help you to find name of the owner of the number
- Host: GitHub
- URL: https://github.com/theawiteb/meendag
- Owner: TheAwiteb
- License: agpl-3.0
- Created: 2022-01-13T17:04:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-13T17:20:21.000Z (over 4 years ago)
- Last Synced: 2025-03-16T03:16:59.388Z (over 1 year ago)
- Topics: owner-number, phone-number
- Language: Python
- Homepage: https://meendag.com
- Size: 17.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Table of Contents
## Requirements
* [Python](https://Python.org/) >= 3.8
## Installation
### PyPi
```bash
$ pip3 install meendag
```
### GitHub
```bash
$ git clone https://github.com/TheAwiteb/meendag/
$ cd meendag
$ python3 setup.py install
```
## Usage
### Get countrys
```python
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
```python
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
```python
from meendag import countrys_filter
print(countrys_filter(lambda country: country.code == "SA"))
# [Country(code='SA', name='المملكة العربية السعودية')]
```
### Get country by code
```python
from meendag import get_country_by_code
print(get_country_by_code("SA"))
# Country(code='SA', name='المملكة العربية السعودية')
```
### Get country by name
```python
from meendag import get_country_by_name
print(get_country_by_name("المملكة العربية السعودية"))
# Country(code='SA', name='المملكة العربية السعودية')
```
## Discussions
Question, feature request, discuss about meendag [here](https://github.com/TheAwiteb/meendag/discussions)
## Issues
You can report a bug [here](https://github.com/TheAwiteb/meendag/issues)
## Security
If you discover any security related issues.
## License
GNU Affero General Public License (AGPL). Please see [License File](LICENSE) for more information.