IPNC
Indo Phone Number Checker (IPNC). Tools for checking your Indonesia phone number information.
Installation & Run the Program
So easy.
$ pip3 install ipnc
example
from ipnc import Model
mod = Model()
mod.get_info_cli("+6281291718019")
Use as package
besides using it with cli you can also use it as a package, look at the example below
from ipnc import Model
mod = Model()
for i in mod.get_info("+6281291718019"):
print(i)
result
{
'number_phone': '+6281351387634', 'international': '+62 813-5138-7634', 'national': '0813-5138-7634',
'provider': 'Telkomsel',
'type': 'Mobile',
'location': 'Indonesia',
'timezone': ['Asia/Jakarta']
}
Credit
Thanks to Widhi for making an open source project. ;)