Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 812 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 812 Bytes

phonecountry

phonecountry extract information about country from a phone number and vice versa.

Phonecountry has the ability to distinguish the phone number between

  • USA, Canada and all caribian coutry. (All starting with +1)
  • Russia and Kazakistan (Starting with +7)
  • Italy and Vatican City (Starting with +39)
  • UK, Guernsey, Isle of Man and Jersey (Starting with +44)
  • And many more country with similar country code.

Currently available APIs

  1. GetCountryNameFromPhone - GetCountryNameFromPhone returns country common name for given phone number. Example +919445454528 => India

  2. GetCountryISO2Code - GetCountryISO2Code returns country iso2 code of given number. Example +919445454528 => IN

Limitations

  1. Input phone number need to be atleast 7 digit long.(Excluding + sign)