summaryrefslogtreecommitdiffstats
path: root/Api.php
diff options
context:
space:
mode:
authorBjörn Roland <bjoern.roland@intradesys.com>2015-11-18 00:01:58 +0100
committerBjörn Roland <bjoern.roland@intradesys.com>2015-11-18 00:01:58 +0100
commit2213b32a22f0cb8e29ad03d4b58a60a5304244b5 (patch)
tree388391ed89fc31e6ab849f93219e729d5070403b /Api.php
parent1c880fae48099471dc6a2155c205b8d539e3a31b (diff)
downloadphp-ssllabs-api-2213b32a22f0cb8e29ad03d4b58a60a5304244b5.zip
php-ssllabs-api-2213b32a22f0cb8e29ad03d4b58a60a5304244b5.tar.gz
php-ssllabs-api-2213b32a22f0cb8e29ad03d4b58a60a5304244b5.tar.bz2
Just for debugging..
Diffstat (limited to 'Api.php')
-rw-r--r--Api.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/Api.php b/Api.php
new file mode 100644
index 0000000..789bafc
--- /dev/null
+++ b/Api.php
@@ -0,0 +1,25 @@
+<?php
+require_once('include_me.php');
+
+use SSLLabsApi\Calls\AnalyzeCall;
+use SSLLabsApi\Calls\GetEndpointDataCall;
+
+/*
+//Analyze Call
+$parameters = array('host' => 'ssllabs.com');
+$analyzeCall = new AnalyzeCall($parameters);
+$analyzeCall->setDevMode(true);
+
+echo '<pre>';
+print_r($analyzeCall->send());
+echo '</pre>';
+*/
+
+//getEndpointData Call
+$parameters = array('host' => 'ssllabs.com', 's' => '64.41.200.100');
+$getEndpointDataCall = new GetEndpointDataCall($parameters);
+$getEndpointDataCall->setDevMode(true);
+
+echo '<pre>';
+print_r($getEndpointDataCall->send());
+echo '</pre>'; \ No newline at end of file