From 0bab2e60864c9a9aa607d0861179487537f1d3e7 Mon Sep 17 00:00:00 2001 From: GRE Development Ltd Date: Tue, 28 Feb 2023 05:38:01 +0300 Subject: [PATCH] README updated. --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 52b2a34..101af6f 100644 --- a/README.md +++ b/README.md @@ -48,8 +48,8 @@ Here's how you use the API Methods: include_once './vendor/autoload.php'; // Declaring the classes we need -$Config = new Greip\Config(); -$GeoIP = new Greip\GeoIP(); +$Config = new Greip\API\Config(); +$GeoIP = new Greip\API\GeoIP(); // Setting the API Key $Config->setKey(''); @@ -66,8 +66,8 @@ print_r($GeoIP_Response); include_once './vendor/autoload.php'; // Declaring the classes we need -$Config = new Greip\Config(); -$GeoIP = new Greip\GeoIP(); +$Config = new Greip\API\Config(); +$GeoIP = new Greip\API\GeoIP(); // Setting the API Key $Config->setKey(''); @@ -84,8 +84,8 @@ print_r($ASN_Response); include_once './vendor/autoload.php'; // Declaring the classes we need -$Config = new Greip\Config(); -$GeoIP = new Greip\GeoIP(); +$Config = new Greip\API\Config(); +$GeoIP = new Greip\API\GeoIP(); // Setting the API Key $Config->setKey(''); @@ -102,8 +102,8 @@ print_r($Country_Response); include_once './vendor/autoload.php'; // Declaring the classes we need -$Config = new Greip\Config(); -$Fraud = new Greip\Fraud(); +$Config = new Greip\API\Config(); +$Fraud = new Greip\API\Fraud(); // Setting the API Key $Config->setKey(''); @@ -120,8 +120,8 @@ print_r($Email_Response); include_once './vendor/autoload.php'; // Declaring the classes we need -$Config = new Greip\Config(); -$Fraud = new Greip\Fraud(); +$Config = new Greip\API\Config(); +$Fraud = new Greip\API\Fraud(); // Setting the API Key $Config->setKey(''); @@ -138,8 +138,8 @@ print_r($Phone_Response); include_once './vendor/autoload.php'; // Declaring the classes we need -$Config = new Greip\Config(); -$Fraud = new Greip\Fraud(); +$Config = new Greip\API\Config(); +$Fraud = new Greip\API\Fraud(); // Setting the API Key $Config->setKey(''); @@ -156,8 +156,8 @@ print_r($Profanity_Response); include_once './vendor/autoload.php'; // Declaring the classes we need -$Config = new Greip\Config(); -$Fraud = new Greip\Fraud(); +$Config = new Greip\API\Config(); +$Fraud = new Greip\API\Fraud(); // Setting the API Key $Config->setKey('');