Tuesday, March 28, 2023
  • Privacy-Policy
  • Contact
  • About Us
  • IELTS Exam Pattern
Techsoft Tutorials
  • Home
  • Blockchain
    • Hyperledger Fabric
  • DevOps
  • Frameworks
    • ReactJS
    • CAKEPHP
  • Programming Languages
    • PHP
    • JAVA
  • Mobile App Development
    • Flutter
    • IONIC FRAMEWORK
    • React Native
  • WEB DESIGNING
    • FREE RESPONSIVE TEMPLATES
    • HTML 5 & CSS3
    • JQUERY
  • More
    • MISCELLANEOUS
    • Databases
No Result
View All Result
  • Home
  • Blockchain
    • Hyperledger Fabric
  • DevOps
  • Frameworks
    • ReactJS
    • CAKEPHP
  • Programming Languages
    • PHP
    • JAVA
  • Mobile App Development
    • Flutter
    • IONIC FRAMEWORK
    • React Native
  • WEB DESIGNING
    • FREE RESPONSIVE TEMPLATES
    • HTML 5 & CSS3
    • JQUERY
  • More
    • MISCELLANEOUS
    • Databases
No Result
View All Result
Techsoft Tutorials
No Result
View All Result
Home JQUERY

Get geolocation ip address using jquery(API)

Bhavin Shiroya by Bhavin Shiroya
July 7, 2019
in JQUERY
2
image1
955
VIEWS
Share on FacebookShare on Twitter

Get client information from the ip address in jqurey

How to Get all information about visiter address, contury, city, state, and more . let’s do it..

 

    • Hear we use telize API for finding client information it’s free service to give information about clinet ip.
    • find geolocation ip and trace ip address usign geolocation API
    • We can find given field from the particular ip address.
      • ip (Visitor IP address, or IP address specified as parameter)
      • country_code (Two-letter ISO 3166-1 alpha-2 country code)
      • country_code3 (Three-letter ISO 3166-1 alpha-3 country code)
      • country (Name of the country)
      • region_code (Two-letter ISO-3166-2 state / region code)
      • region (Name of the region)
      • city (Name of the city)
      • postal_code (Postal code)
      • continent_code (continent code)
      • latitude (Perfect Latitude)
      • longitude Perfect Longitude)
      • dma_code (DMA)
      • area_code (Area Code)
      • asn (Autonomous System Number)
      • isp (Internet service provider)
      • timezone (Time Zone)
    • It’s Send HTTP Request to server and Return the Result In Json Format.
    • I Have One Example for  easily  understand this post.
    • Example:-

<script type="application/javascript">
    function getgeoip(json){
    	document.write("IP address : ", json.ip + ", <br>");
    	document.write("Latitude : ", json.latitude + ", <br>");
    	document.write("Longitude : ", json.longitude + ", <br>");
    	document.write("Country : ", json.country + ", <br>");
    	document.write("Country Code: ", json.country_code + ", <br>");
    	document.write("City : ", json.city + ", <br>");
    	document.write("area Code : ", json.area_code + ", <br>");
    	document.write("Postal Code:", json.postal_code + ", <br>");
    	document.write("ISP:", json.isp + ", <br>");
    	document.write("Time Zone:", json.timezone + ", <br>");

    }
</script>

<script type="application/javascript" src="http://www.telize.com/geoip?callback=getgeoip"></script>
  • Output:-

Output of the example

[button color=”orange” size=”big” link=”http://amzn.to/2adKHlf” target=”blank” ]Live Demo[/button]
[button color=”blue” size=”big” link=”https://drive.google.com/file/d/0B_G75fR-vi_tWHJXS0V1SDVTM0E/view?usp=sharing” target=”blank” ]Download[/button]

http://amzn.to/2lnH29g

 

Tags: geolocation ipget ip using jqurey
Bhavin Shiroya

Bhavin Shiroya

Web Developer by Professional, Blogger by hobby, Youtuber by passion

Related Posts

No Content Available

Categories

  • CAKEPHP
  • Databases
  • FREE RESPONSIVE TEMPLATES
  • HTML 5 & CSS3
  • IONIC FRAMEWORK
  • JAVA
  • JQUERY
  • MISCELLANEOUS
  • PHP
  • WEB DESIGNING
  • Privacy-Policy
  • Contact
  • About Us
  • IELTS Exam Pattern

© 2019 All Rights Reserved By Techsoft Tutorials

No Result
View All Result
  • Home
  • Blockchain
    • Hyperledger Fabric
  • DevOps
  • Frameworks
    • ReactJS
    • CAKEPHP
  • Programming Languages
    • PHP
    • JAVA
  • Mobile App Development
    • Flutter
    • IONIC FRAMEWORK
    • React Native
  • WEB DESIGNING
    • FREE RESPONSIVE TEMPLATES
    • HTML 5 & CSS3
    • JQUERY
  • More
    • MISCELLANEOUS
    • Databases

© 2019 All Rights Reserved By Techsoft Tutorials