This is an update of the original Blog that used Freegeoip.net API a then free API. As of July 2018 the old Freegeoip API was discontinued and a completely re-designed API has been provided at http://api.ipstack.com. While the new API offers the same capabilities as the old one and also has the option of returning data in the legacy format, the API URL has now changed and all users are required to sign up for a free API Access Key to use the service. Fortunately the limit is 10000 calls per month. I have updated the code in the Github repository and I removed the Direct Viewer.
The purpose of the project is to update ip-addresses on to a World Map as shown in action using my own personal signed up API key.
Creating a free account is effortless and on signing up you are presented with a key and a lot of information on how to access the IPStack site. I have updated the SRC code and simply add your key in to the code where asked for and the project will run normally.
Calling the newer https://ipstack.com Server…
The old to the new increased available results...
This holds server side code that receives the IP Address in a ‘Post Request’ then calls the https://ipstack.com API rest-server and receives the JSON response.
The JSON is decoded to an Array and this then adjusted to fit the Jvector Map marker format. This JSON styled object is sent to the Browser.
Feel free to download the Code from The Github Repository,
August 2019Delphi Delimited String to Fields
June 2019Delphi A Professional VCL DBGrid Part Four
May 2019Delphi A Professional VCL DBGrid Part Three
April 2019Delphi A Professional VCL DBGrid Part Two
March 2019Delphi A Professional VCL DBGrid Part One
November 2018Delphi VCL Buttons in DBGrid
October 2018Two Helper Apps for Delphi LibUSB
September 2018Delphi Libusb Library Introduction
August 2018Delphi Object directly to a Json string in a REST Client
July 2018Delphi FMX Leaflet Plotter using OSM Maps
June 2018C2PAS32 Convertor Application
May 2018Delphi PDF Embedded viewer with PDF.js
March 2018Delphi FMX - Changing TCharacter to TCharHelper
January 2018Delphi FMX Dashboard using Chart.JS
December 2017PHP Slim REST Server & Delphi Auth Part 5
November 2017Delphi FMX REST Client App Part 4
October 2017Delphi VCL REST Pricing Client App Part 3
September 2017Delphi REST VCL Client Basic Auth Part 2B
August 2017Delphi REST Client Part 2A
July 2017PHP REST Server and Delphi Client Intro
June 2017Delphi SQLite Encryptor-Decryptor Tool
May 2017Create a Visual IP Address Geolocation with PHP
March 2017PHP Downloader using Countdown timer
January 2017Morris Charts and PHP-PDO
December 2016CSS to create a functional Toggle Button