Project Health | |
Packaging | |
Misc |
|
Session
class.Client
class. See the API coverage page for details.# PyPI
pip install citric
# or conda
conda install -c conda-forge citric
from citric import Client
# Connect to your LimeSurvey instance
client = Client(
"https://mylimesite.limequery.com/admin/remotecontrol",
"myusername",
"mypassword",
)
# Print the LimeSurvey version
print(client.get_server_version())
# Print every survey's title
for survey in client.list_surveys():
print(survey["surveyls_title"])
Code samples and API documentation are available at citric.readthedocs.io.
If you'd like to contribute to this project, please see the contributing guide.