File tree Expand file tree Collapse file tree 6 files changed +18
-18
lines changed
Expand file tree Collapse file tree 6 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ This PHP package is automatically generated by the [Swagger Codegen](https://git
3636
3737## Requirements
3838
39- PHP 5.5 and later
39+ PHP 7.1 and later
4040
4141## Installation & Usage
4242### Composer
@@ -86,14 +86,14 @@ Please follow the [installation procedure](#installation--usage) and then run th
8686require_once(__DIR__ . '/vendor/autoload.php');
8787
8888// Our Fingerprint API Secret
89- define('FPJS_API_SECRET', getenv(' FPJS_API_SECRET')) ;
89+ const FPJS_API_SECRET = "YOUR SECRET KEY COMES HERE" ;
9090// A Request ID that made by a specific visitor
91- define('FPJS_REQUEST_ID', getenv(' FPJS_REQUEST_ID'));
91+ const FPJS_REQUEST_ID = "REQUEST ID"; // Change this value with your request id
9292// A Visitor ID of a specific visitor
93- define('FPJS_VISITOR_ID', getenv(' FPJS_VISITOR_ID'));
93+ const FPJS_VISITOR_ID = "VISITOR ID"; // Change this value with your visitor id
9494
9595// Linked id of the visit
96- const FPJS_LINKED_ID = '12';
96+ const FPJS_LINKED_ID = "LINKED ID"; // Change this value with your linked id
9797// How many items to fetch, while paginating
9898const LIMIT = 10;
9999// How many items to skip, while paginating
Original file line number Diff line number Diff line change 1717 }
1818 ],
1919 "require" : {
20- "php" : " >=5.5 " ,
20+ "php" : " >=7.1 " ,
2121 "ext-curl" : " *" ,
2222 "ext-json" : " *" ,
2323 "ext-mbstring" : " *" ,
Original file line number Diff line number Diff line change 3838 */
3939class Configuration
4040{
41- const REGION_GLOBAL = "https://api.fpjs.io " ;
42- const REGION_EUROPE = "https://eu.api.fpjs.io " ;
43- const REGION_ASIA = "https://ap.api.fpjs.io " ;
41+ public const REGION_GLOBAL = "https://api.fpjs.io " ;
42+ public const REGION_EUROPE = "https://eu.api.fpjs.io " ;
43+ public const REGION_ASIA = "https://ap.api.fpjs.io " ;
4444 private static $ defaultConfiguration ;
4545
4646 /**
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ namespace {{invokerPackage}};
2929 */
3030class Configuration
3131{
32- const REGION_GLOBAL = " https://api.fpjs.io" ;
33- const REGION_EUROPE = " https://eu.api.fpjs.io" ;
34- const REGION_ASIA = " https://ap.api.fpjs.io" ;
32+ public const REGION_GLOBAL = " https://api.fpjs.io" ;
33+ public const REGION_EUROPE = " https://eu.api.fpjs.io" ;
34+ public const REGION_ASIA = " https://ap.api.fpjs.io" ;
3535 private static $defaultConfiguration ;
3636
3737 /**
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ This PHP package is automatically generated by the [Swagger Codegen](https://git
4646
4747## Requirements
4848
49- PHP 5.5 and later
49+ PHP 7.1 and later
5050
5151## Installation & Usage
5252### Composer
@@ -96,14 +96,14 @@ Please follow the [installation procedure](#installation--usage) and then run th
9696require_once(__DIR__ . '/vendor/autoload.php');
9797
9898// Our Fingerprint API Secret
99- define('FPJS_API_SECRET', getenv(' FPJS_API_SECRET')) ;
99+ const FPJS_API_SECRET = "YOUR SECRET KEY COMES HERE" ;
100100// A Request ID that made by a specific visitor
101- define('FPJS_REQUEST_ID', getenv(' FPJS_REQUEST_ID'));
101+ const FPJS_REQUEST_ID = "REQUEST ID"; // Change this value with your request id
102102// A Visitor ID of a specific visitor
103- define('FPJS_VISITOR_ID', getenv(' FPJS_VISITOR_ID'));
103+ const FPJS_VISITOR_ID = "VISITOR ID"; // Change this value with your visitor id
104104
105105// Linked id of the visit
106- const FPJS_LINKED_ID = '12';
106+ const FPJS_LINKED_ID = "LINKED ID"; // Change this value with your linked id
107107// How many items to fetch, while paginating
108108const LIMIT = 10;
109109// How many items to skip, while paginating
Original file line number Diff line number Diff line change 1919 }
2020 ],
2121 "require": {
22- " php" : " >=5.5 " ,
22+ " php" : " >=7.1 " ,
2323 " ext-curl" : " *" ,
2424 " ext-json" : " *" ,
2525 " ext-mbstring" : " *" ,
You can’t perform that action at this time.
0 commit comments