Advertisement
Guest User

Untitled

a guest
Feb 25th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. require 'myFunctions.php';
  2. require_once '../../vendor/autoload.php';
  3. use StanleyGeocodioClient;
  4.  
  5. $client = new Client('Your API key');
  6.  
  7. //Read in address data.
  8. $AddressData = file('address.txt');
  9.  
  10. //Send a request to the API.
  11. $location = $client->post($AddressData);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement