From 92853a62dac76a0257ad3ee05a97ac7bb8d274cf Mon Sep 17 00:00:00 2001 From: Tariq Khan Date: Mon, 29 Jan 2018 13:36:42 +0000 Subject: [PATCH] Update index.php --- index.php | 344 +++++++++++++++++++++++++++--------------------------- 1 file changed, 172 insertions(+), 172 deletions(-) diff --git a/index.php b/index.php index 4b94096..ea2e3df 100755 --- a/index.php +++ b/index.php @@ -1,172 +1,172 @@ - 'https://api.occupie.com', - 'client' => 'trustedclient', - 'clientSecret' => '', - 'scope' => 'hubapi')); -?> - - - - Occupie API sample - - - - -
-
-
- isUserAuthenticated()) { ?> -

Log in

-

Logging in retrieves access token for the provided credentials. This token is then used for all calls to api, so credentials don't have to be kept.

-
-
- - -
-
- - -
- -
- - - -

Create Tracking Device

-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
- -
- -

Tracking Devices Entries

- - - - - - - - - - - trackingEntries) foreach($oauth2->trackingEntries as $entry) { ?> - - - - - - - - -
IdNameTypeTime
{{entry.trackingentriesid}}{{entry.trackingentriesname}}{{entry.trackingtype}}{{entry.creationdate}}
- -

Add Tracking Entry

-
-
- - -
-
- - -
-
- - -
- -
- -
-

Tracking Devices

- trackingDevices) { ?> - - - - - - - - - - - trackingDevices as $key => $value) { ?> - - - - - - - - -
Idname
trackingdeviceid; ?>trackingdevicename; ?> - - show entries - - - - add entry - -
-

No data!

-
- - -
-
-
- - + 'https://api.occupie.com', + 'client' => 'trustedclient', + 'clientSecret' => 'you-client-secret-key-goes-here', + 'scope' => 'hubapi')); +?> + + + + Occupie API sample + + + + +
+
+
+ isUserAuthenticated()) { ?> +

Log in

+

Logging in retrieves access token for the provided credentials. This token is then used for all calls to api, so credentials don't have to be kept.

+
+
+ + +
+
+ + +
+ +
+ + + +

Create Tracking Device

+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+ +

Tracking Devices Entries

+ + + + + + + + + + + trackingEntries) foreach($oauth2->trackingEntries as $entry) { ?> + + + + + + + + +
IdNameTypeTime
{{entry.trackingentriesid}}{{entry.trackingentriesname}}{{entry.trackingtype}}{{entry.creationdate}}
+ +

Add Tracking Entry

+
+
+ + +
+
+ + +
+
+ + +
+ +
+ +
+

Tracking Devices

+ trackingDevices) { ?> + + + + + + + + + + + trackingDevices as $key => $value) { ?> + + + + + + + + +
Idname
trackingdeviceid; ?>trackingdevicename; ?> + + show entries + + + + add entry + +
+

No data!

+
+ + +
+
+
+ + -- 2.18.0