Skip to content

Instantly share code, notes, and snippets.

View okremer84's full-sized avatar
:shipit:
Shipping everything

Omer Kremer okremer84

:shipit:
Shipping everything
View GitHub Profile
@okremer84
okremer84 / get_all_chats.php
Created March 22, 2020 21:33
Get all livechat chats
<?php
require_once('config.php');
$handle = curl_init();
$file = __DIR__ . DIRECTORY_SEPARATOR . "backup.log";
$file = fopen($file, "w");
$url = "https://api.livechatinc.com/v2/chats/";
curl_setopt_array($handle,
array(
CURLOPT_URL => $url,

Keybase proof

I hereby claim:

  • I am okremer84 on github.
  • I am okremer (https://keybase.io/okremer) on keybase.
  • I have a public key ASDiSRxBfqtM-4Uq94mj1NpONGbvu2XkG1yr6W2YCd9OwQo

To claim this, I am signing this object: