Esempio n. 1
0
 /**
  * Get user forms
  * http://api.jotform.com/docs/#user-forms
  *
  * @param Array $options
  * @return Object
  * @throws Exception \JotForm\Exception\ClientException
  */
 public function getUserForms($options = [])
 {
     // Construct request
     $request = new \JotForm\Request();
     $request->setMethod('GET');
     $request->setEndpoint('/user/forms');
     $request->setQueryOptions($options);
     try {
         $response = $this->client->executeRequest($request);
         return $response;
     } catch (\Exception $e) {
         throw new \JotForm\Exception\ClientException($e->getMessage());
     }
 }