From b25a52aae296f54c472d14354f2d84138a76b653 Mon Sep 17 00:00:00 2001 From: Brettkaufman23 <90270502+Brettkaufman23@users.noreply.github.com> Date: Sun, 3 Oct 2021 19:04:08 -0400 Subject: [PATCH] Update getCommunityData.php --- getCommunityData.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/getCommunityData.php b/getCommunityData.php index 270a8b3..71b9208 100644 --- a/getCommunityData.php +++ b/getCommunityData.php @@ -6,14 +6,14 @@ //SET configuration URL - $config['api_url']= API_URL; - $config['api_key']= API_KEY; - if($config["api_key"]=="" || $config["api_key"]=="COPY_YOUR_API_KEY_HERE"){ + $config['7503bab3271a4aa8db25f26a4ce490b9']= API_URL; + $config['7503bab3271a4aa8db25f26a4ce490b9']= API_KEY; + if($config["api_key"]=="" || $config["api_key"]=="7503bab3271a4aa8db25f26a4ce490b9"){ die("Please paste your API KEY in config.php which is located under library folder."); } $communityObj = new model($config); //Create class object of library file - $address = '4529 Winona Court, Denver, CO, United States 80212'; + $address = ', Suffern, NY, United States 10901'; $areaType = 'ZI'; $addressPosted = isset($_REQUEST['address'])?urlencode($_REQUEST['address']):urlencode($address); $areaType = isset($_REQUEST['geoType'])?$_REQUEST['geoType']:$areaType; @@ -43,8 +43,8 @@ if(!isset($subjectProperty['property'][0]['location']['latitude'])){ //SET LAT LONG AS PER IP ADDRESS - $sourceLocationLatitude = '40.330837'; - $sourceLocationLongitude = '-79.960191'; + $sourceLocationLatitude = '41.1148'; + $sourceLocationLongitude = '74.1496'; }else{ @$sourceLocationLatitude = $subjectProperty['property'][0]['location']['latitude']; @$sourceLocationLongitude = $subjectProperty['property'][0]['location']['longitude'];