- Posts: 11
- Thank you received: 2
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
The 2 questions are different:
Please Log in to join the conversation.
Please Log in to join the conversation.
define('ROOT', '/path/to/lsroot/'); require_once ROOT . 'application/libraries/jsonRPCClient.php'; define( 'LS_USER', 'reporter' ); define( 'LS_PASSWORD', 'verysecret' ); // instantiate a new client $myJSONRPCClient = new JsonRPCClient( 'https://example.com/index.php/admin/remotecontrol' ); // receive session key $sSessionKey = $myJSONRPCClient->get_session_key( LS_USER, LS_PASSWORD ); echo $sSessionKey;
Please Log in to join the conversation.
Please Log in to join the conversation.
options(lime_api = 'https://example.com/index.php/admin/remotecontrol') options(lime_username = 'reporter') options(lime_password = 'verysecret') session_key <- get_session_key() lsquestions <- call_limer(method="list_questions", params = list(iSurveyID = SID))
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
#' @param username LimeSurvey username. Defaults to value set in \code{options()}.
#' @param password LimeSurvey password Defaults to value set in \code{options()}.
Please Log in to join the conversation.
Please Log in to join the conversation.