studyfetch-sdk 0.1.0a1__tar.gz → 0.1.0a3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- studyfetch_sdk-0.1.0a3/.release-please-manifest.json +3 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/CHANGELOG.md +16 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/PKG-INFO +11 -35
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/README.md +10 -34
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/api.md +1 -122
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/pyproject.toml +1 -1
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_version.py +1 -1
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/__init__.py +0 -14
- studyfetch_sdk-0.1.0a3/src/studyfetch_sdk/resources/v1/auth/__init__.py +33 -0
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/auth/organization_invites.py → studyfetch_sdk-0.1.0a3/src/studyfetch_sdk/resources/v1/auth/auth.py +71 -63
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/usage.py → studyfetch_sdk-0.1.0a3/src/studyfetch_sdk/resources/v1/auth/number_2fa.py +47 -43
- studyfetch_sdk-0.1.0a3/src/studyfetch_sdk/resources/v1/usage.py +534 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/v1.py +0 -32
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/__init__.py +0 -5
- studyfetch_sdk-0.1.0a3/src/studyfetch_sdk/types/v1/auth/__init__.py +5 -0
- studyfetch_sdk-0.1.0a3/tests/api_resources/v1/auth/test_number_2fa.py +84 -0
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/organizations/profile/test_models.py → studyfetch_sdk-0.1.0a3/tests/api_resources/v1/test_auth.py +24 -26
- studyfetch_sdk-0.1.0a3/tests/api_resources/v1/test_usage.py +264 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/test_client.py +27 -35
- studyfetch_sdk-0.1.0a1/.release-please-manifest.json +0 -3
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/auth/__init__.py +0 -61
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/auth/auth.py +0 -620
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/auth/login.py +0 -374
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/auth/number_2fa.py +0 -457
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/__init__.py +0 -103
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/api_keys.py +0 -260
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/logo/__init__.py +0 -33
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/logo/logo.py +0 -166
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/logo/upload.py +0 -184
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/organizations.py +0 -428
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/profile/__init__.py +0 -47
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/profile/models.py +0 -134
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/profile/profile.py +0 -248
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/profile/team.py +0 -462
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/team/__init__.py +0 -33
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/team/invite.py +0 -236
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/team/team.py +0 -564
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/organizations/theme.py +0 -184
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/resources/v1/usage.py +0 -1126
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/types/v1/auth/__init__.py +0 -13
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/types/v1/auth/login_authenticate_params.py +0 -15
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/types/v1/auth/login_verify_2fa_params.py +0 -15
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/types/v1/auth/login_verify_backup_code_params.py +0 -17
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/types/v1/auth/number_2fa_disable_params.py +0 -12
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/types/v1/auth/number_2fa_enable_params.py +0 -12
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/types/v1/auth/number_2fa_regenerate_backup_codes_params.py +0 -12
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/types/v1/auth_register_new_user_params.py +0 -23
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/types/v1/auth_request_password_reset_params.py +0 -12
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/types/v1/auth_reset_password_params.py +0 -17
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/types/v1/usage_track_chat_params.py +0 -54
- studyfetch_sdk-0.1.0a1/src/studyfetch_sdk/types/v1/usage_track_event_params.py +0 -128
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/auth/test_login.py +0 -226
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/auth/test_number_2fa.py +0 -320
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/auth/test_organization_invites.py +0 -98
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/organizations/logo/test_upload.py +0 -122
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/organizations/profile/test_team.py +0 -400
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/organizations/team/test_invite.py +0 -174
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/organizations/test_api_keys.py +0 -198
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/organizations/test_logo.py +0 -72
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/organizations/test_profile.py +0 -122
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/organizations/test_team.py +0 -512
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/organizations/test_theme.py +0 -122
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/organizations/test_usage.py +0 -98
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/scenarios/__init__.py +0 -1
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/scenarios/submissions/__init__.py +0 -1
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/test_auth.py +0 -382
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/test_organizations.py +0 -174
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/test_usage.py +0 -548
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/tests/__init__.py +0 -1
- studyfetch_sdk-0.1.0a1/tests/api_resources/v1/upload/__init__.py +0 -1
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/.gitignore +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/CONTRIBUTING.md +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/LICENSE +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/SECURITY.md +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/bin/check-release-environment +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/bin/publish-pypi +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/examples/.keep +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/mypy.ini +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/noxfile.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/release-please-config.json +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/requirements-dev.lock +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/requirements.lock +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_base_client.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_client.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_compat.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_constants.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_exceptions.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_files.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_models.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_qs.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_resource.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_streaming.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_types.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_utils/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_utils/_logs.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_utils/_proxy.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_utils/_reflection.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_utils/_resources_proxy.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_utils/_streams.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_utils/_sync.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_utils/_transform.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_utils/_typing.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/_utils/_utils.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/lib/.keep +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/py.typed +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/audio_recaps/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/audio_recaps/audio_recaps.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/audio_recaps/sections.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/chat/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/chat/chat.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/chat/sessions.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/chat/test.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/components.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/embed/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/embed/component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/embed/embed.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/explainers.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/flashcards.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/folders.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/materials/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/materials/bulk.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/materials/materials.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/materials/test.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/materials/upload.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/scenarios/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/scenarios/component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/scenarios/scenarios.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/scenarios/sessions.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/scenarios/submissions/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/scenarios/submissions/submissions.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/scenarios/submissions/user.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/tests/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/tests/component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/tests/tests.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/upload/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/upload/component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/upload/upload.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/admin/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/admin/organizations/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/admin/organizations/models/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/audio_recaps/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/auth/number_2fa_send_code_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/chat/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/chat/session_retrieve_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/chat_retrieve_session_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/chat_send_message_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/chat_stream_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/component_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/component_create_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/component_embed_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/component_embed_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/component_list_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/component_list_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/component_retrieve_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/component_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/component_update_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/embed/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/embed/component_interact_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/embed/component_retrieve_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/embed_get_theme_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/embed_verify_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/explainer_handle_webhook_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/flashcard_batch_process_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/flashcard_batch_process_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/flashcard_get_algorithm_info_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/flashcard_get_all_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/flashcard_get_due_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/flashcard_get_stats_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/flashcard_get_types_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/flashcard_rate_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/folder_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/folder_list_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/folder_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/material_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/material_create_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/material_get_download_url_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/material_list_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/material_list_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/material_retrieve_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/materials/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/materials/upload_upload_file_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/materials/upload_upload_file_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/materials/upload_upload_from_url_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/materials/upload_upload_from_url_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/organizations/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/organizations/logo/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/organizations/profile/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/organizations/team/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/scenario_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/scenario_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/scenarios/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/scenarios/component_update_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/scenarios/submissions/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/test_create_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/test_retake_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/test_submit_answer_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/test_submit_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/tests/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/upload/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/usage_get_stats_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/usage_get_summary_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/types/v1/usage_list_events_params.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/audio_recaps/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/audio_recaps/test_sections.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/auth/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/chat/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/chat/test_sessions.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/chat/test_test.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/embed/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/embed/test_component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/materials/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/materials/test_bulk.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/materials/test_test.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/materials/test_upload.py +0 -0
- {studyfetch_sdk-0.1.0a1/tests/api_resources/v1/organizations → studyfetch_sdk-0.1.0a3/tests/api_resources/v1/scenarios}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1/tests/api_resources/v1/organizations/logo → studyfetch_sdk-0.1.0a3/tests/api_resources/v1/scenarios/submissions}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/scenarios/submissions/test_user.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/scenarios/test_component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/scenarios/test_sessions.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/test_audio_recaps.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/test_chat.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/test_components.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/test_embed.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/test_explainers.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/test_flashcards.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/test_folders.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/test_materials.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/test_scenarios.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/test_tests.py +0 -0
- {studyfetch_sdk-0.1.0a1/tests/api_resources/v1/organizations/profile → studyfetch_sdk-0.1.0a3/tests/api_resources/v1/tests}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/tests/test_component.py +0 -0
- {studyfetch_sdk-0.1.0a1/tests/api_resources/v1/organizations/team → studyfetch_sdk-0.1.0a3/tests/api_resources/v1/upload}/__init__.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/api_resources/v1/upload/test_component.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/conftest.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/sample_file.txt +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/test_deepcopy.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/test_extract_files.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/test_files.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/test_models.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/test_qs.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/test_required_args.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/test_response.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/test_streaming.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/test_transform.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/test_utils/test_proxy.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/test_utils/test_typing.py +0 -0
- {studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/tests/utils.py +0 -0
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.1.0-alpha.3 (2025-07-18)
|
4
|
+
|
5
|
+
Full Changelog: [v0.1.0-alpha.2...v0.1.0-alpha.3](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/compare/v0.1.0-alpha.2...v0.1.0-alpha.3)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([2603d40](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/commit/2603d401ef72dad8310378c9a3132cf26b27752c))
|
10
|
+
|
11
|
+
## 0.1.0-alpha.2 (2025-07-18)
|
12
|
+
|
13
|
+
Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/compare/v0.1.0-alpha.1...v0.1.0-alpha.2)
|
14
|
+
|
15
|
+
### Features
|
16
|
+
|
17
|
+
* **api:** manual updates ([716c9c6](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/commit/716c9c6389f3759fc3fe55800a926dc7a4bae2a9))
|
18
|
+
|
3
19
|
## 0.1.0-alpha.1 (2025-07-18)
|
4
20
|
|
5
21
|
Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/compare/v0.0.1-alpha.0...v0.1.0-alpha.1)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: studyfetch_sdk
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.0a3
|
4
4
|
Summary: The official Python library for the studyfetch-sdk API
|
5
5
|
Project-URL: Homepage, https://github.com/GoStudyFetchGo/studyfetch-sdk-python
|
6
6
|
Project-URL: Repository, https://github.com/GoStudyFetchGo/studyfetch-sdk-python
|
@@ -67,10 +67,7 @@ client = StudyfetchSDK(
|
|
67
67
|
api_key=os.environ.get("STUDYFETCH_SDK_API_KEY"), # This is the default and can be omitted
|
68
68
|
)
|
69
69
|
|
70
|
-
client.v1.auth.
|
71
|
-
email="user@example.com",
|
72
|
-
password="password123",
|
73
|
-
)
|
70
|
+
client.v1.auth.verify_reset_token()
|
74
71
|
```
|
75
72
|
|
76
73
|
While you can provide an `api_key` keyword argument,
|
@@ -93,10 +90,7 @@ client = AsyncStudyfetchSDK(
|
|
93
90
|
|
94
91
|
|
95
92
|
async def main() -> None:
|
96
|
-
await client.v1.auth.
|
97
|
-
email="user@example.com",
|
98
|
-
password="password123",
|
99
|
-
)
|
93
|
+
await client.v1.auth.verify_reset_token()
|
100
94
|
|
101
95
|
|
102
96
|
asyncio.run(main())
|
@@ -128,10 +122,7 @@ async def main() -> None:
|
|
128
122
|
api_key="My API Key",
|
129
123
|
http_client=DefaultAioHttpClient(),
|
130
124
|
) as client:
|
131
|
-
await client.v1.auth.
|
132
|
-
email="user@example.com",
|
133
|
-
password="password123",
|
134
|
-
)
|
125
|
+
await client.v1.auth.verify_reset_token()
|
135
126
|
|
136
127
|
|
137
128
|
asyncio.run(main())
|
@@ -196,10 +187,7 @@ from studyfetch_sdk import StudyfetchSDK
|
|
196
187
|
client = StudyfetchSDK()
|
197
188
|
|
198
189
|
try:
|
199
|
-
client.v1.auth.
|
200
|
-
email="user@example.com",
|
201
|
-
password="password123",
|
202
|
-
)
|
190
|
+
client.v1.auth.verify_reset_token()
|
203
191
|
except studyfetch_sdk.APIConnectionError as e:
|
204
192
|
print("The server could not be reached")
|
205
193
|
print(e.__cause__) # an underlying Exception, likely raised within httpx.
|
@@ -242,10 +230,7 @@ client = StudyfetchSDK(
|
|
242
230
|
)
|
243
231
|
|
244
232
|
# Or, configure per-request:
|
245
|
-
client.with_options(max_retries=5).v1.auth.
|
246
|
-
email="user@example.com",
|
247
|
-
password="password123",
|
248
|
-
)
|
233
|
+
client.with_options(max_retries=5).v1.auth.verify_reset_token()
|
249
234
|
```
|
250
235
|
|
251
236
|
### Timeouts
|
@@ -268,10 +253,7 @@ client = StudyfetchSDK(
|
|
268
253
|
)
|
269
254
|
|
270
255
|
# Override per-request:
|
271
|
-
client.with_options(timeout=5.0).v1.auth.
|
272
|
-
email="user@example.com",
|
273
|
-
password="password123",
|
274
|
-
)
|
256
|
+
client.with_options(timeout=5.0).v1.auth.verify_reset_token()
|
275
257
|
```
|
276
258
|
|
277
259
|
On timeout, an `APITimeoutError` is thrown.
|
@@ -312,14 +294,11 @@ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to
|
|
312
294
|
from studyfetch_sdk import StudyfetchSDK
|
313
295
|
|
314
296
|
client = StudyfetchSDK()
|
315
|
-
response = client.v1.auth.
|
316
|
-
email="user@example.com",
|
317
|
-
password="password123",
|
318
|
-
)
|
297
|
+
response = client.v1.auth.with_raw_response.verify_reset_token()
|
319
298
|
print(response.headers.get('X-My-Header'))
|
320
299
|
|
321
|
-
|
322
|
-
print(
|
300
|
+
auth = response.parse() # get the object that `v1.auth.verify_reset_token()` would have returned
|
301
|
+
print(auth)
|
323
302
|
```
|
324
303
|
|
325
304
|
These methods return an [`APIResponse`](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/tree/main/src/studyfetch_sdk/_response.py) object.
|
@@ -333,10 +312,7 @@ The above interface eagerly reads the full response body when you make the reque
|
|
333
312
|
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
|
334
313
|
|
335
314
|
```python
|
336
|
-
with client.v1.auth.
|
337
|
-
email="user@example.com",
|
338
|
-
password="password123",
|
339
|
-
) as response:
|
315
|
+
with client.v1.auth.with_streaming_response.verify_reset_token() as response:
|
340
316
|
print(response.headers.get("X-My-Header"))
|
341
317
|
|
342
318
|
for line in response.iter_lines():
|
@@ -32,10 +32,7 @@ client = StudyfetchSDK(
|
|
32
32
|
api_key=os.environ.get("STUDYFETCH_SDK_API_KEY"), # This is the default and can be omitted
|
33
33
|
)
|
34
34
|
|
35
|
-
client.v1.auth.
|
36
|
-
email="user@example.com",
|
37
|
-
password="password123",
|
38
|
-
)
|
35
|
+
client.v1.auth.verify_reset_token()
|
39
36
|
```
|
40
37
|
|
41
38
|
While you can provide an `api_key` keyword argument,
|
@@ -58,10 +55,7 @@ client = AsyncStudyfetchSDK(
|
|
58
55
|
|
59
56
|
|
60
57
|
async def main() -> None:
|
61
|
-
await client.v1.auth.
|
62
|
-
email="user@example.com",
|
63
|
-
password="password123",
|
64
|
-
)
|
58
|
+
await client.v1.auth.verify_reset_token()
|
65
59
|
|
66
60
|
|
67
61
|
asyncio.run(main())
|
@@ -93,10 +87,7 @@ async def main() -> None:
|
|
93
87
|
api_key="My API Key",
|
94
88
|
http_client=DefaultAioHttpClient(),
|
95
89
|
) as client:
|
96
|
-
await client.v1.auth.
|
97
|
-
email="user@example.com",
|
98
|
-
password="password123",
|
99
|
-
)
|
90
|
+
await client.v1.auth.verify_reset_token()
|
100
91
|
|
101
92
|
|
102
93
|
asyncio.run(main())
|
@@ -161,10 +152,7 @@ from studyfetch_sdk import StudyfetchSDK
|
|
161
152
|
client = StudyfetchSDK()
|
162
153
|
|
163
154
|
try:
|
164
|
-
client.v1.auth.
|
165
|
-
email="user@example.com",
|
166
|
-
password="password123",
|
167
|
-
)
|
155
|
+
client.v1.auth.verify_reset_token()
|
168
156
|
except studyfetch_sdk.APIConnectionError as e:
|
169
157
|
print("The server could not be reached")
|
170
158
|
print(e.__cause__) # an underlying Exception, likely raised within httpx.
|
@@ -207,10 +195,7 @@ client = StudyfetchSDK(
|
|
207
195
|
)
|
208
196
|
|
209
197
|
# Or, configure per-request:
|
210
|
-
client.with_options(max_retries=5).v1.auth.
|
211
|
-
email="user@example.com",
|
212
|
-
password="password123",
|
213
|
-
)
|
198
|
+
client.with_options(max_retries=5).v1.auth.verify_reset_token()
|
214
199
|
```
|
215
200
|
|
216
201
|
### Timeouts
|
@@ -233,10 +218,7 @@ client = StudyfetchSDK(
|
|
233
218
|
)
|
234
219
|
|
235
220
|
# Override per-request:
|
236
|
-
client.with_options(timeout=5.0).v1.auth.
|
237
|
-
email="user@example.com",
|
238
|
-
password="password123",
|
239
|
-
)
|
221
|
+
client.with_options(timeout=5.0).v1.auth.verify_reset_token()
|
240
222
|
```
|
241
223
|
|
242
224
|
On timeout, an `APITimeoutError` is thrown.
|
@@ -277,14 +259,11 @@ The "raw" Response object can be accessed by prefixing `.with_raw_response.` to
|
|
277
259
|
from studyfetch_sdk import StudyfetchSDK
|
278
260
|
|
279
261
|
client = StudyfetchSDK()
|
280
|
-
response = client.v1.auth.
|
281
|
-
email="user@example.com",
|
282
|
-
password="password123",
|
283
|
-
)
|
262
|
+
response = client.v1.auth.with_raw_response.verify_reset_token()
|
284
263
|
print(response.headers.get('X-My-Header'))
|
285
264
|
|
286
|
-
|
287
|
-
print(
|
265
|
+
auth = response.parse() # get the object that `v1.auth.verify_reset_token()` would have returned
|
266
|
+
print(auth)
|
288
267
|
```
|
289
268
|
|
290
269
|
These methods return an [`APIResponse`](https://github.com/GoStudyFetchGo/studyfetch-sdk-python/tree/main/src/studyfetch_sdk/_response.py) object.
|
@@ -298,10 +277,7 @@ The above interface eagerly reads the full response body when you make the reque
|
|
298
277
|
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
|
299
278
|
|
300
279
|
```python
|
301
|
-
with client.v1.auth.
|
302
|
-
email="user@example.com",
|
303
|
-
password="password123",
|
304
|
-
) as response:
|
280
|
+
with client.v1.auth.with_streaming_response.verify_reset_token() as response:
|
305
281
|
print(response.headers.get("X-My-Header"))
|
306
282
|
|
307
283
|
for line in response.iter_lines():
|
@@ -4,132 +4,14 @@
|
|
4
4
|
|
5
5
|
Methods:
|
6
6
|
|
7
|
-
- <code title="
|
8
|
-
- <code title="post /api/v1/auth/register">client.v1.auth.<a href="./src/studyfetch_sdk/resources/v1/auth/auth.py">register_new_user</a>(\*\*<a href="src/studyfetch_sdk/types/v1/auth_register_new_user_params.py">params</a>) -> None</code>
|
9
|
-
- <code title="post /api/v1/auth/register-organization">client.v1.auth.<a href="./src/studyfetch_sdk/resources/v1/auth/auth.py">register_organization</a>() -> None</code>
|
10
|
-
- <code title="post /api/v1/auth/register-with-invite">client.v1.auth.<a href="./src/studyfetch_sdk/resources/v1/auth/auth.py">register_with_invite</a>() -> None</code>
|
11
|
-
- <code title="post /api/v1/auth/forgot-password">client.v1.auth.<a href="./src/studyfetch_sdk/resources/v1/auth/auth.py">request_password_reset</a>(\*\*<a href="src/studyfetch_sdk/types/v1/auth_request_password_reset_params.py">params</a>) -> None</code>
|
12
|
-
- <code title="post /api/v1/auth/reset-password">client.v1.auth.<a href="./src/studyfetch_sdk/resources/v1/auth/auth.py">reset_password</a>(\*\*<a href="src/studyfetch_sdk/types/v1/auth_reset_password_params.py">params</a>) -> None</code>
|
13
|
-
|
14
|
-
### Login
|
15
|
-
|
16
|
-
Methods:
|
17
|
-
|
18
|
-
- <code title="post /api/v1/auth/login">client.v1.auth.login.<a href="./src/studyfetch_sdk/resources/v1/auth/login.py">authenticate</a>(\*\*<a href="src/studyfetch_sdk/types/v1/auth/login_authenticate_params.py">params</a>) -> None</code>
|
19
|
-
- <code title="post /api/v1/auth/login/verify-2fa">client.v1.auth.login.<a href="./src/studyfetch_sdk/resources/v1/auth/login.py">verify_2fa</a>(\*\*<a href="src/studyfetch_sdk/types/v1/auth/login_verify_2fa_params.py">params</a>) -> None</code>
|
20
|
-
- <code title="post /api/v1/auth/login/verify-backup-code">client.v1.auth.login.<a href="./src/studyfetch_sdk/resources/v1/auth/login.py">verify_backup_code</a>(\*\*<a href="src/studyfetch_sdk/types/v1/auth/login_verify_backup_code_params.py">params</a>) -> None</code>
|
7
|
+
- <code title="post /api/v1/auth/verify-reset-token">client.v1.auth.<a href="./src/studyfetch_sdk/resources/v1/auth/auth.py">verify_reset_token</a>() -> None</code>
|
21
8
|
|
22
9
|
### Number2fa
|
23
10
|
|
24
11
|
Methods:
|
25
12
|
|
26
|
-
- <code title="post /api/v1/auth/2fa/disable">client.v1.auth.number_2fa.<a href="./src/studyfetch_sdk/resources/v1/auth/number_2fa.py">disable</a>(\*\*<a href="src/studyfetch_sdk/types/v1/auth/number_2fa_disable_params.py">params</a>) -> None</code>
|
27
|
-
- <code title="post /api/v1/auth/2fa/enable">client.v1.auth.number_2fa.<a href="./src/studyfetch_sdk/resources/v1/auth/number_2fa.py">enable</a>(\*\*<a href="src/studyfetch_sdk/types/v1/auth/number_2fa_enable_params.py">params</a>) -> None</code>
|
28
|
-
- <code title="get /api/v1/auth/2fa/status">client.v1.auth.number_2fa.<a href="./src/studyfetch_sdk/resources/v1/auth/number_2fa.py">get_status</a>() -> None</code>
|
29
|
-
- <code title="post /api/v1/auth/2fa/regenerate-backup-codes">client.v1.auth.number_2fa.<a href="./src/studyfetch_sdk/resources/v1/auth/number_2fa.py">regenerate_backup_codes</a>(\*\*<a href="src/studyfetch_sdk/types/v1/auth/number_2fa_regenerate_backup_codes_params.py">params</a>) -> None</code>
|
30
13
|
- <code title="post /api/v1/auth/2fa/send-code">client.v1.auth.number_2fa.<a href="./src/studyfetch_sdk/resources/v1/auth/number_2fa.py">send_code</a>(\*\*<a href="src/studyfetch_sdk/types/v1/auth/number_2fa_send_code_params.py">params</a>) -> None</code>
|
31
14
|
|
32
|
-
### OrganizationInvites
|
33
|
-
|
34
|
-
Methods:
|
35
|
-
|
36
|
-
- <code title="get /api/v1/auth/organization-invites/preview/{token}">client.v1.auth.organization_invites.<a href="./src/studyfetch_sdk/resources/v1/auth/organization_invites.py">preview</a>(token) -> None</code>
|
37
|
-
|
38
|
-
## Organizations
|
39
|
-
|
40
|
-
Methods:
|
41
|
-
|
42
|
-
- <code title="get /api/v1/organizations/{id}">client.v1.organizations.<a href="./src/studyfetch_sdk/resources/v1/organizations/organizations.py">retrieve</a>(id) -> None</code>
|
43
|
-
- <code title="put /api/v1/organizations/{id}">client.v1.organizations.<a href="./src/studyfetch_sdk/resources/v1/organizations/organizations.py">update</a>(id) -> None</code>
|
44
|
-
|
45
|
-
### Profile
|
46
|
-
|
47
|
-
Types:
|
48
|
-
|
49
|
-
```python
|
50
|
-
from studyfetch_sdk.types.v1.organizations import UpdateOrganization
|
51
|
-
```
|
52
|
-
|
53
|
-
Methods:
|
54
|
-
|
55
|
-
- <code title="get /api/v1/organizations/profile">client.v1.organizations.profile.<a href="./src/studyfetch_sdk/resources/v1/organizations/profile/profile.py">list</a>() -> None</code>
|
56
|
-
- <code title="patch /api/v1/organizations/profile">client.v1.organizations.profile.<a href="./src/studyfetch_sdk/resources/v1/organizations/profile/profile.py">patch_all</a>() -> None</code>
|
57
|
-
|
58
|
-
#### Models
|
59
|
-
|
60
|
-
Methods:
|
61
|
-
|
62
|
-
- <code title="get /api/v1/organizations/profile/models/available">client.v1.organizations.profile.models.<a href="./src/studyfetch_sdk/resources/v1/organizations/profile/models.py">retrieve_available</a>() -> None</code>
|
63
|
-
|
64
|
-
#### Team
|
65
|
-
|
66
|
-
Types:
|
67
|
-
|
68
|
-
```python
|
69
|
-
from studyfetch_sdk.types.v1.organizations.profile import InviteTeamMember, UpdateMemberRole
|
70
|
-
```
|
71
|
-
|
72
|
-
Methods:
|
73
|
-
|
74
|
-
- <code title="get /api/v1/organizations/profile/team">client.v1.organizations.profile.team.<a href="./src/studyfetch_sdk/resources/v1/organizations/profile/team.py">list</a>() -> None</code>
|
75
|
-
- <code title="delete /api/v1/organizations/profile/team/{email}">client.v1.organizations.profile.team.<a href="./src/studyfetch_sdk/resources/v1/organizations/profile/team.py">delete</a>(email) -> None</code>
|
76
|
-
- <code title="post /api/v1/organizations/profile/team/invite">client.v1.organizations.profile.team.<a href="./src/studyfetch_sdk/resources/v1/organizations/profile/team.py">invite</a>() -> None</code>
|
77
|
-
- <code title="post /api/v1/organizations/profile/team/{email}/resend-invite">client.v1.organizations.profile.team.<a href="./src/studyfetch_sdk/resources/v1/organizations/profile/team.py">resend_invite</a>(email) -> None</code>
|
78
|
-
- <code title="get /api/v1/organizations/profile/team/detailed">client.v1.organizations.profile.team.<a href="./src/studyfetch_sdk/resources/v1/organizations/profile/team.py">retrieve_detailed</a>() -> None</code>
|
79
|
-
- <code title="put /api/v1/organizations/profile/team/{email}/role">client.v1.organizations.profile.team.<a href="./src/studyfetch_sdk/resources/v1/organizations/profile/team.py">update_role</a>(email) -> None</code>
|
80
|
-
|
81
|
-
### APIKeys
|
82
|
-
|
83
|
-
Methods:
|
84
|
-
|
85
|
-
- <code title="delete /api/v1/organizations/api-keys/{keyId}">client.v1.organizations.api_keys.<a href="./src/studyfetch_sdk/resources/v1/organizations/api_keys.py">delete</a>(key_id) -> None</code>
|
86
|
-
- <code title="post /api/v1/organizations/api-keys">client.v1.organizations.api_keys.<a href="./src/studyfetch_sdk/resources/v1/organizations/api_keys.py">api_keys</a>() -> None</code>
|
87
|
-
- <code title="get /api/v1/organizations/api-keys">client.v1.organizations.api_keys.<a href="./src/studyfetch_sdk/resources/v1/organizations/api_keys.py">retrieve_api_keys</a>() -> None</code>
|
88
|
-
|
89
|
-
### Usage
|
90
|
-
|
91
|
-
Methods:
|
92
|
-
|
93
|
-
- <code title="get /api/v1/organizations/{id}/usage">client.v1.organizations.usage.<a href="./src/studyfetch_sdk/resources/v1/organizations/usage.py">list</a>(id) -> None</code>
|
94
|
-
|
95
|
-
### Theme
|
96
|
-
|
97
|
-
Methods:
|
98
|
-
|
99
|
-
- <code title="put /api/v1/organizations/theme">client.v1.organizations.theme.<a href="./src/studyfetch_sdk/resources/v1/organizations/theme.py">create</a>() -> None</code>
|
100
|
-
- <code title="get /api/v1/organizations/theme">client.v1.organizations.theme.<a href="./src/studyfetch_sdk/resources/v1/organizations/theme.py">list</a>() -> None</code>
|
101
|
-
|
102
|
-
### Logo
|
103
|
-
|
104
|
-
Methods:
|
105
|
-
|
106
|
-
- <code title="delete /api/v1/organizations/logo">client.v1.organizations.logo.<a href="./src/studyfetch_sdk/resources/v1/organizations/logo/logo.py">delete_all</a>() -> None</code>
|
107
|
-
|
108
|
-
#### Upload
|
109
|
-
|
110
|
-
Methods:
|
111
|
-
|
112
|
-
- <code title="post /api/v1/organizations/logo/upload/complete">client.v1.organizations.logo.upload.<a href="./src/studyfetch_sdk/resources/v1/organizations/logo/upload.py">complete</a>() -> None</code>
|
113
|
-
- <code title="post /api/v1/organizations/logo/upload/presigned-url">client.v1.organizations.logo.upload.<a href="./src/studyfetch_sdk/resources/v1/organizations/logo/upload.py">presigned_url</a>() -> None</code>
|
114
|
-
|
115
|
-
### Team
|
116
|
-
|
117
|
-
Methods:
|
118
|
-
|
119
|
-
- <code title="get /api/v1/organizations/{id}/team">client.v1.organizations.team.<a href="./src/studyfetch_sdk/resources/v1/organizations/team/team.py">list</a>(id) -> None</code>
|
120
|
-
- <code title="delete /api/v1/organizations/{id}/team/{email}">client.v1.organizations.team.<a href="./src/studyfetch_sdk/resources/v1/organizations/team/team.py">delete</a>(email, \*, id) -> None</code>
|
121
|
-
- <code title="post /api/v1/organizations/team/accept-invite">client.v1.organizations.team.<a href="./src/studyfetch_sdk/resources/v1/organizations/team/team.py">accept_invite</a>() -> None</code>
|
122
|
-
- <code title="post /api/v1/organizations/{id}/team/{email}/resend-invite">client.v1.organizations.team.<a href="./src/studyfetch_sdk/resources/v1/organizations/team/team.py">resend_invite</a>(email, \*, id) -> None</code>
|
123
|
-
- <code title="get /api/v1/organizations/{id}/team/detailed">client.v1.organizations.team.<a href="./src/studyfetch_sdk/resources/v1/organizations/team/team.py">retrieve_detailed</a>(id) -> None</code>
|
124
|
-
- <code title="put /api/v1/organizations/{id}/team/{email}/role">client.v1.organizations.team.<a href="./src/studyfetch_sdk/resources/v1/organizations/team/team.py">update_role</a>(email, \*, id) -> None</code>
|
125
|
-
|
126
|
-
#### Invite
|
127
|
-
|
128
|
-
Methods:
|
129
|
-
|
130
|
-
- <code title="post /api/v1/organizations/{id}/team/invite">client.v1.organizations.team.invite.<a href="./src/studyfetch_sdk/resources/v1/organizations/team/invite.py">create</a>(id) -> None</code>
|
131
|
-
- <code title="get /api/v1/organizations/team/invite/{token}/preview">client.v1.organizations.team.invite.<a href="./src/studyfetch_sdk/resources/v1/organizations/team/invite.py">retrieve_preview</a>(token) -> None</code>
|
132
|
-
|
133
15
|
## Materials
|
134
16
|
|
135
17
|
Types:
|
@@ -193,9 +75,6 @@ Methods:
|
|
193
75
|
- <code title="get /api/v1/usage/stats">client.v1.usage.<a href="./src/studyfetch_sdk/resources/v1/usage.py">get_stats</a>(\*\*<a href="src/studyfetch_sdk/types/v1/usage_get_stats_params.py">params</a>) -> None</code>
|
194
76
|
- <code title="get /api/v1/usage/summary">client.v1.usage.<a href="./src/studyfetch_sdk/resources/v1/usage.py">get_summary</a>(\*\*<a href="src/studyfetch_sdk/types/v1/usage_get_summary_params.py">params</a>) -> None</code>
|
195
77
|
- <code title="get /api/v1/usage/events">client.v1.usage.<a href="./src/studyfetch_sdk/resources/v1/usage.py">list_events</a>(\*\*<a href="src/studyfetch_sdk/types/v1/usage_list_events_params.py">params</a>) -> None</code>
|
196
|
-
- <code title="post /api/v1/usage/chat">client.v1.usage.<a href="./src/studyfetch_sdk/resources/v1/usage.py">track_chat</a>(\*\*<a href="src/studyfetch_sdk/types/v1/usage_track_chat_params.py">params</a>) -> None</code>
|
197
|
-
- <code title="post /api/v1/usage/track">client.v1.usage.<a href="./src/studyfetch_sdk/resources/v1/usage.py">track_event</a>(\*\*<a href="src/studyfetch_sdk/types/v1/usage_track_event_params.py">params</a>) -> None</code>
|
198
|
-
- <code title="post /api/v1/usage/performance">client.v1.usage.<a href="./src/studyfetch_sdk/resources/v1/usage.py">track_performance</a>() -> None</code>
|
199
78
|
|
200
79
|
## Folders
|
201
80
|
|
{studyfetch_sdk-0.1.0a1 → studyfetch_sdk-0.1.0a3}/src/studyfetch_sdk/resources/v1/__init__.py
RENAMED
@@ -112,14 +112,6 @@ from .audio_recaps import (
|
|
112
112
|
AudioRecapsResourceWithStreamingResponse,
|
113
113
|
AsyncAudioRecapsResourceWithStreamingResponse,
|
114
114
|
)
|
115
|
-
from .organizations import (
|
116
|
-
OrganizationsResource,
|
117
|
-
AsyncOrganizationsResource,
|
118
|
-
OrganizationsResourceWithRawResponse,
|
119
|
-
AsyncOrganizationsResourceWithRawResponse,
|
120
|
-
OrganizationsResourceWithStreamingResponse,
|
121
|
-
AsyncOrganizationsResourceWithStreamingResponse,
|
122
|
-
)
|
123
115
|
|
124
116
|
__all__ = [
|
125
117
|
"AuthResource",
|
@@ -128,12 +120,6 @@ __all__ = [
|
|
128
120
|
"AsyncAuthResourceWithRawResponse",
|
129
121
|
"AuthResourceWithStreamingResponse",
|
130
122
|
"AsyncAuthResourceWithStreamingResponse",
|
131
|
-
"OrganizationsResource",
|
132
|
-
"AsyncOrganizationsResource",
|
133
|
-
"OrganizationsResourceWithRawResponse",
|
134
|
-
"AsyncOrganizationsResourceWithRawResponse",
|
135
|
-
"OrganizationsResourceWithStreamingResponse",
|
136
|
-
"AsyncOrganizationsResourceWithStreamingResponse",
|
137
123
|
"MaterialsResource",
|
138
124
|
"AsyncMaterialsResource",
|
139
125
|
"MaterialsResourceWithRawResponse",
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from .auth import (
|
4
|
+
AuthResource,
|
5
|
+
AsyncAuthResource,
|
6
|
+
AuthResourceWithRawResponse,
|
7
|
+
AsyncAuthResourceWithRawResponse,
|
8
|
+
AuthResourceWithStreamingResponse,
|
9
|
+
AsyncAuthResourceWithStreamingResponse,
|
10
|
+
)
|
11
|
+
from .number_2fa import (
|
12
|
+
Number2faResource,
|
13
|
+
AsyncNumber2faResource,
|
14
|
+
Number2faResourceWithRawResponse,
|
15
|
+
AsyncNumber2faResourceWithRawResponse,
|
16
|
+
Number2faResourceWithStreamingResponse,
|
17
|
+
AsyncNumber2faResourceWithStreamingResponse,
|
18
|
+
)
|
19
|
+
|
20
|
+
__all__ = [
|
21
|
+
"Number2faResource",
|
22
|
+
"AsyncNumber2faResource",
|
23
|
+
"Number2faResourceWithRawResponse",
|
24
|
+
"AsyncNumber2faResourceWithRawResponse",
|
25
|
+
"Number2faResourceWithStreamingResponse",
|
26
|
+
"AsyncNumber2faResourceWithStreamingResponse",
|
27
|
+
"AuthResource",
|
28
|
+
"AsyncAuthResource",
|
29
|
+
"AuthResourceWithRawResponse",
|
30
|
+
"AsyncAuthResourceWithRawResponse",
|
31
|
+
"AuthResourceWithStreamingResponse",
|
32
|
+
"AsyncAuthResourceWithStreamingResponse",
|
33
|
+
]
|