NAVIADDRESS API
PHP
Getting Naviaddress API data in the PHP programming language
The program for requesting a naviaddress in PHP programming language requires only three codelines:

  • first we create a URL to access the Naviaddress API
  • then we will receive a response from the server with the requested data using the general function file_get_contents()
  • at the end we printout the data
    <?
    $url = "https://staging-api.naviaddress.com/api/v1.5/Addresses/7/0022";
    
    $json = json_decode(file_get_contents($url));
    
    print '['.$json->result->container.']'
            .$json->result->naviaddress.' - '
            .$json->result->description."\n";
    
    That's all folks!

    written by: A.Gershun (08/12/2018)
    Made on
    Tilda