Beispiel #1
0
 case "create_db":
     $value = $api->create_db();
     break;
 case "oauth_call":
     if (isset($_REQUEST["method"]) && isset($_REQUEST["matchphrase"]) && in_array($_REQUEST["method"], $possible_method)) {
         $value = $api->oauth_call($_REQUEST["method"], $_REQUEST["matchphrase"], $_REQUEST["audience_phone"]);
     }
     break;
 case "setup":
     $value = $api->setup();
     break;
 case "get_setup":
     $value = $api->get_setup();
     break;
 case "set_videos":
     $value = $api->set_videos();
     break;
 case "set_video_journey":
     $value = $api->set_video_journey();
     break;
 case "set_triggers":
     $value = $api->set_triggers();
     break;
 case "set_video_size":
     $value = $api->set_video_size();
     break;
 case "get_videos":
     $value = $api->get_videos();
     break;
 case "get_video_journey":
     $value = $api->get_video_journey();