A Python wrapper for SurveyGizmo's (now Alchemer) RESTful API service. Current version 1.2.3 wraps most survey, campaign, contact, and response endpoints. Release cadence is sporadic; last release was 2020.
pip install surveygizmoVerified import paths — ran on the pinned version, not inferred.
Initialize with API token and secret, then call any resource method.
Replace 'change' with 'update' for all resource methods.
Replace 'keep=True' with 'preserve_filters=True' when calling API methods.
Remove 'url_fetch' kwarg; it no longer has any effect.
Consider migrating to Alchemer's official SDK: https://apihelp.alchemer.com/
Use the v1.0 OAuth token/secret pair, not a bearer token.
Access resources via 'api.api.<resource>.<method>()' after initializing 'SurveyGizmo' instance.
Use 'from surveygizmo import SurveyGizmo'
Upgrade: 'pip install --upgrade surveygizmo'. Ensure package version >= 0.2.0.
Provide both 'api_token' and 'api_token_secret' arguments when creating SurveyGizmo instance.
Verify your API token and secret in SurveyGizmo account settings. Tokens may expire; regenerate if needed.
Set 'SURVEYGIZMO_API_TOKEN' and 'SURVEYGIZMO_API_TOKEN_SECRET' environment variables, or pass them directly to SurveyGizmo().