GitHub - sliide/doluna
This repository was archived by the owner on Sep 3, 2024. It is now read-only.
Sliide Doluna client
--------------------
Welcome to Sliide doluna client.
Sliide uses this tool to find out to what mobile operator a mobile number belongs to.
Usage
-----
::
import "doluna"
dolunaClient := doluna.New(
"https://api.doluna.net",
"YOUR_USERNAME",
"YOUR_PASSWORD",
)
hlrResponse, err := dolunaClient.HlrLookup("44777777777")
if err != nil {
panic(err)
}
fmt.Println(fmt.Sprintf("Phone Number/ Mobile operator: %s / %s", hlrResponse.HlrNumber, hlrResponse.HlrOperatorNetworkname))