diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-04 21:40:45 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-04 21:40:45 -0500 |
commit | c91ff61cdfa8b5eb76783927e5b8710f2a9f2601 (patch) | |
tree | 1c899c3a0a654f1190ff6c967daa30343c0fa77f /scripts/api-client.php | |
parent | 135b921db75da5995eab7e36393ecd4d2b0bc66f (diff) |
Update scrutinizer config
Diffstat (limited to 'scripts/api-client.php')
-rwxr-xr-x | scripts/api-client.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/scripts/api-client.php b/scripts/api-client.php deleted file mode 100755 index 0fb45117..00000000 --- a/scripts/api-client.php +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env php -<?php - -require 'vendor/JsonRPC/Client.php'; - -if ($argc !== 3) { - die('Usage: '.$argv[0].' <url> <token>'.PHP_EOL); -} - -$client = new JsonRPC\Client($argv[1], 5, true); -$client->authentication('jsonrpc', $argv[2]); - - -$client->createProject('Test API'); - - -$r = $client->getAllProjects(); - -var_dump($r); - |