vrchatapi-async 1.20.8.dev1__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.
Files changed (369) hide show
  1. vrchatapi_async-1.20.8.dev1/LICENSE +21 -0
  2. vrchatapi_async-1.20.8.dev1/PKG-INFO +137 -0
  3. vrchatapi_async-1.20.8.dev1/README.md +105 -0
  4. vrchatapi_async-1.20.8.dev1/pyproject.toml +6 -0
  5. vrchatapi_async-1.20.8.dev1/setup.cfg +7 -0
  6. vrchatapi_async-1.20.8.dev1/setup.py +259 -0
  7. vrchatapi_async-1.20.8.dev1/tests/test_async_sdk.py +301 -0
  8. vrchatapi_async-1.20.8.dev1/vrchatapi/__init__.py +742 -0
  9. vrchatapi_async-1.20.8.dev1/vrchatapi/api/__init__.py +23 -0
  10. vrchatapi_async-1.20.8.dev1/vrchatapi/api/authentication_api.py +6253 -0
  11. vrchatapi_async-1.20.8.dev1/vrchatapi/api/avatars_api.py +4234 -0
  12. vrchatapi_async-1.20.8.dev1/vrchatapi/api/calendar_api.py +4090 -0
  13. vrchatapi_async-1.20.8.dev1/vrchatapi/api/economy_api.py +11547 -0
  14. vrchatapi_async-1.20.8.dev1/vrchatapi/api/favorites_api.py +2368 -0
  15. vrchatapi_async-1.20.8.dev1/vrchatapi/api/files_api.py +6109 -0
  16. vrchatapi_async-1.20.8.dev1/vrchatapi/api/friends_api.py +1708 -0
  17. vrchatapi_async-1.20.8.dev1/vrchatapi/api/groups_api.py +15085 -0
  18. vrchatapi_async-1.20.8.dev1/vrchatapi/api/instances_api.py +1754 -0
  19. vrchatapi_async-1.20.8.dev1/vrchatapi/api/inventory_api.py +4333 -0
  20. vrchatapi_async-1.20.8.dev1/vrchatapi/api/invite_api.py +3337 -0
  21. vrchatapi_async-1.20.8.dev1/vrchatapi/api/jams_api.py +1446 -0
  22. vrchatapi_async-1.20.8.dev1/vrchatapi/api/miscellaneous_api.py +2384 -0
  23. vrchatapi_async-1.20.8.dev1/vrchatapi/api/notifications_api.py +3624 -0
  24. vrchatapi_async-1.20.8.dev1/vrchatapi/api/playermoderation_api.py +1127 -0
  25. vrchatapi_async-1.20.8.dev1/vrchatapi/api/prints_api.py +1478 -0
  26. vrchatapi_async-1.20.8.dev1/vrchatapi/api/props_api.py +2269 -0
  27. vrchatapi_async-1.20.8.dev1/vrchatapi/api/users_api.py +7894 -0
  28. vrchatapi_async-1.20.8.dev1/vrchatapi/api/worlds_api.py +6153 -0
  29. vrchatapi_async-1.20.8.dev1/vrchatapi/api_client.py +865 -0
  30. vrchatapi_async-1.20.8.dev1/vrchatapi/api_response.py +21 -0
  31. vrchatapi_async-1.20.8.dev1/vrchatapi/configuration.py +686 -0
  32. vrchatapi_async-1.20.8.dev1/vrchatapi/exceptions.py +218 -0
  33. vrchatapi_async-1.20.8.dev1/vrchatapi/models/__init__.py +345 -0
  34. vrchatapi_async-1.20.8.dev1/vrchatapi/models/account_deletion_log.py +253 -0
  35. vrchatapi_async-1.20.8.dev1/vrchatapi/models/add_favorite_request.py +246 -0
  36. vrchatapi_async-1.20.8.dev1/vrchatapi/models/add_group_gallery_image_request.py +234 -0
  37. vrchatapi_async-1.20.8.dev1/vrchatapi/models/admin_asset_bundle.py +337 -0
  38. vrchatapi_async-1.20.8.dev1/vrchatapi/models/admin_unity_package.py +261 -0
  39. vrchatapi_async-1.20.8.dev1/vrchatapi/models/age_verification_status.py +38 -0
  40. vrchatapi_async-1.20.8.dev1/vrchatapi/models/agreement.py +280 -0
  41. vrchatapi_async-1.20.8.dev1/vrchatapi/models/agreement_code.py +36 -0
  42. vrchatapi_async-1.20.8.dev1/vrchatapi/models/agreement_request.py +256 -0
  43. vrchatapi_async-1.20.8.dev1/vrchatapi/models/agreement_status.py +261 -0
  44. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config.py +1299 -0
  45. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_access_logs_urls.py +258 -0
  46. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_announcement.py +217 -0
  47. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_audio_config.py +311 -0
  48. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_avatar_perf_limiter.py +293 -0
  49. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_constants.py +262 -0
  50. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_constants_groups.py +306 -0
  51. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_constants_instance.py +238 -0
  52. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_constants_instancepopulationbrackets.py +262 -0
  53. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +216 -0
  54. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +216 -0
  55. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +216 -0
  56. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_constants_language.py +234 -0
  57. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_download_url_list.py +258 -0
  58. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_events.py +314 -0
  59. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_ios_version.py +216 -0
  60. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_min_supported_client_build_number.py +348 -0
  61. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_config_offline_analysis.py +216 -0
  62. vrchatapi_async-1.20.8.dev1/vrchatapi/models/api_health.py +248 -0
  63. vrchatapi_async-1.20.8.dev1/vrchatapi/models/avatar.py +463 -0
  64. vrchatapi_async-1.20.8.dev1/vrchatapi/models/avatar_moderation.py +249 -0
  65. vrchatapi_async-1.20.8.dev1/vrchatapi/models/avatar_moderation_created.py +248 -0
  66. vrchatapi_async-1.20.8.dev1/vrchatapi/models/avatar_moderation_type.py +36 -0
  67. vrchatapi_async-1.20.8.dev1/vrchatapi/models/avatar_performance.py +265 -0
  68. vrchatapi_async-1.20.8.dev1/vrchatapi/models/avatar_published_listings_inner.py +271 -0
  69. vrchatapi_async-1.20.8.dev1/vrchatapi/models/avatar_style.py +239 -0
  70. vrchatapi_async-1.20.8.dev1/vrchatapi/models/avatar_styles.py +231 -0
  71. vrchatapi_async-1.20.8.dev1/vrchatapi/models/avatar_unity_package_url_object.py +234 -0
  72. vrchatapi_async-1.20.8.dev1/vrchatapi/models/badge.py +308 -0
  73. vrchatapi_async-1.20.8.dev1/vrchatapi/models/balance.py +247 -0
  74. vrchatapi_async-1.20.8.dev1/vrchatapi/models/ban_group_member_request.py +234 -0
  75. vrchatapi_async-1.20.8.dev1/vrchatapi/models/boop_request.py +250 -0
  76. vrchatapi_async-1.20.8.dev1/vrchatapi/models/calendar_day_of_week.py +42 -0
  77. vrchatapi_async-1.20.8.dev1/vrchatapi/models/calendar_event.py +475 -0
  78. vrchatapi_async-1.20.8.dev1/vrchatapi/models/calendar_event_access.py +37 -0
  79. vrchatapi_async-1.20.8.dev1/vrchatapi/models/calendar_event_category.py +48 -0
  80. vrchatapi_async-1.20.8.dev1/vrchatapi/models/calendar_event_discovery.py +247 -0
  81. vrchatapi_async-1.20.8.dev1/vrchatapi/models/calendar_event_discovery_inclusion.py +38 -0
  82. vrchatapi_async-1.20.8.dev1/vrchatapi/models/calendar_event_discovery_scope.py +38 -0
  83. vrchatapi_async-1.20.8.dev1/vrchatapi/models/calendar_event_frequency.py +39 -0
  84. vrchatapi_async-1.20.8.dev1/vrchatapi/models/calendar_event_occurrence_kind.py +38 -0
  85. vrchatapi_async-1.20.8.dev1/vrchatapi/models/calendar_event_platform.py +38 -0
  86. vrchatapi_async-1.20.8.dev1/vrchatapi/models/calendar_event_recurrence.py +261 -0
  87. vrchatapi_async-1.20.8.dev1/vrchatapi/models/calendar_event_recurrence_end.py +246 -0
  88. vrchatapi_async-1.20.8.dev1/vrchatapi/models/calendar_event_recurrence_end_type.py +37 -0
  89. vrchatapi_async-1.20.8.dev1/vrchatapi/models/calendar_event_user_interest.py +251 -0
  90. vrchatapi_async-1.20.8.dev1/vrchatapi/models/change_user_tags_request.py +212 -0
  91. vrchatapi_async-1.20.8.dev1/vrchatapi/models/change_world_tags_request.py +212 -0
  92. vrchatapi_async-1.20.8.dev1/vrchatapi/models/content_filter.py +40 -0
  93. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_avatar_moderation_request.py +243 -0
  94. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_avatar_request.py +324 -0
  95. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_calendar_event_request.py +385 -0
  96. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_file_request.py +251 -0
  97. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_file_version_request.py +259 -0
  98. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_group_announcement_request.py +253 -0
  99. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_group_gallery_request.py +297 -0
  100. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_group_invite_request.py +242 -0
  101. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_group_post_request.py +267 -0
  102. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_group_request.py +295 -0
  103. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_group_role_request.py +255 -0
  104. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_instance_request.py +384 -0
  105. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_jam_submission_request.py +239 -0
  106. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_listing_request.py +285 -0
  107. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_product_request.py +270 -0
  108. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_prop_request.py +308 -0
  109. vrchatapi_async-1.20.8.dev1/vrchatapi/models/create_world_request.py +322 -0
  110. vrchatapi_async-1.20.8.dev1/vrchatapi/models/current_user.py +909 -0
  111. vrchatapi_async-1.20.8.dev1/vrchatapi/models/current_user_platform_history_inner.py +245 -0
  112. vrchatapi_async-1.20.8.dev1/vrchatapi/models/current_user_presence.py +379 -0
  113. vrchatapi_async-1.20.8.dev1/vrchatapi/models/decline_group_invite_request.py +211 -0
  114. vrchatapi_async-1.20.8.dev1/vrchatapi/models/developer_type.py +39 -0
  115. vrchatapi_async-1.20.8.dev1/vrchatapi/models/disable2_fa_result.py +211 -0
  116. vrchatapi_async-1.20.8.dev1/vrchatapi/models/discord_details.py +216 -0
  117. vrchatapi_async-1.20.8.dev1/vrchatapi/models/dynamic_content_row.py +276 -0
  118. vrchatapi_async-1.20.8.dev1/vrchatapi/models/earnings_metrics.py +248 -0
  119. vrchatapi_async-1.20.8.dev1/vrchatapi/models/earnings_metrics_totals.py +267 -0
  120. vrchatapi_async-1.20.8.dev1/vrchatapi/models/economy_account.py +360 -0
  121. vrchatapi_async-1.20.8.dev1/vrchatapi/models/economy_balances.py +221 -0
  122. vrchatapi_async-1.20.8.dev1/vrchatapi/models/economy_payout.py +385 -0
  123. vrchatapi_async-1.20.8.dev1/vrchatapi/models/economy_payout_eligibility.py +263 -0
  124. vrchatapi_async-1.20.8.dev1/vrchatapi/models/economy_payout_list.py +219 -0
  125. vrchatapi_async-1.20.8.dev1/vrchatapi/models/economy_payout_status.py +295 -0
  126. vrchatapi_async-1.20.8.dev1/vrchatapi/models/equip_inventory_item_request.py +235 -0
  127. vrchatapi_async-1.20.8.dev1/vrchatapi/models/error.py +215 -0
  128. vrchatapi_async-1.20.8.dev1/vrchatapi/models/favorite.py +251 -0
  129. vrchatapi_async-1.20.8.dev1/vrchatapi/models/favorite_group.py +278 -0
  130. vrchatapi_async-1.20.8.dev1/vrchatapi/models/favorite_group_limits.py +249 -0
  131. vrchatapi_async-1.20.8.dev1/vrchatapi/models/favorite_group_visibility.py +38 -0
  132. vrchatapi_async-1.20.8.dev1/vrchatapi/models/favorite_limits.py +265 -0
  133. vrchatapi_async-1.20.8.dev1/vrchatapi/models/favorite_type.py +39 -0
  134. vrchatapi_async-1.20.8.dev1/vrchatapi/models/favorited_world.py +441 -0
  135. vrchatapi_async-1.20.8.dev1/vrchatapi/models/feedback.py +331 -0
  136. vrchatapi_async-1.20.8.dev1/vrchatapi/models/file.py +325 -0
  137. vrchatapi_async-1.20.8.dev1/vrchatapi/models/file_analysis.py +281 -0
  138. vrchatapi_async-1.20.8.dev1/vrchatapi/models/file_analysis_avatar_stats.py +575 -0
  139. vrchatapi_async-1.20.8.dev1/vrchatapi/models/file_data.py +279 -0
  140. vrchatapi_async-1.20.8.dev1/vrchatapi/models/file_status.py +39 -0
  141. vrchatapi_async-1.20.8.dev1/vrchatapi/models/file_upload_url.py +212 -0
  142. vrchatapi_async-1.20.8.dev1/vrchatapi/models/file_version.py +254 -0
  143. vrchatapi_async-1.20.8.dev1/vrchatapi/models/file_version_upload_status.py +269 -0
  144. vrchatapi_async-1.20.8.dev1/vrchatapi/models/finish_file_data_upload_request.py +248 -0
  145. vrchatapi_async-1.20.8.dev1/vrchatapi/models/follow_calendar_event_request.py +234 -0
  146. vrchatapi_async-1.20.8.dev1/vrchatapi/models/friend_status.py +250 -0
  147. vrchatapi_async-1.20.8.dev1/vrchatapi/models/get_group_posts200_response.py +219 -0
  148. vrchatapi_async-1.20.8.dev1/vrchatapi/models/get_user_group_instances200_response.py +248 -0
  149. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group.py +514 -0
  150. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_access_type.py +38 -0
  151. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_announcement.py +315 -0
  152. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_audit_log_entry.py +287 -0
  153. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_gallery.py +319 -0
  154. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_gallery_file_order.py +211 -0
  155. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_gallery_file_order_request.py +239 -0
  156. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_gallery_image.py +301 -0
  157. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_instance.py +257 -0
  158. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_join_request_action.py +37 -0
  159. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_join_state.py +39 -0
  160. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_member.py +415 -0
  161. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_member_limited_user.py +290 -0
  162. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_member_status.py +41 -0
  163. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_my_member.py +399 -0
  164. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_permission.py +260 -0
  165. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_permissions.py +63 -0
  166. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_post.py +317 -0
  167. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_post_visibility.py +37 -0
  168. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_privacy.py +37 -0
  169. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_role.py +309 -0
  170. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_role_template.py +39 -0
  171. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_role_template_values.py +254 -0
  172. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_role_template_values_roles.py +253 -0
  173. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_search_sort.py +37 -0
  174. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_transferable.py +215 -0
  175. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_transferable_requirements.py +266 -0
  176. vrchatapi_async-1.20.8.dev1/vrchatapi/models/group_user_visibility.py +38 -0
  177. vrchatapi_async-1.20.8.dev1/vrchatapi/models/image_animation_style.py +62 -0
  178. vrchatapi_async-1.20.8.dev1/vrchatapi/models/image_loop_style.py +37 -0
  179. vrchatapi_async-1.20.8.dev1/vrchatapi/models/image_mask.py +41 -0
  180. vrchatapi_async-1.20.8.dev1/vrchatapi/models/image_purpose.py +46 -0
  181. vrchatapi_async-1.20.8.dev1/vrchatapi/models/info_push.py +306 -0
  182. vrchatapi_async-1.20.8.dev1/vrchatapi/models/info_push_data.py +288 -0
  183. vrchatapi_async-1.20.8.dev1/vrchatapi/models/info_push_data_article.py +215 -0
  184. vrchatapi_async-1.20.8.dev1/vrchatapi/models/info_push_data_article_content.py +251 -0
  185. vrchatapi_async-1.20.8.dev1/vrchatapi/models/info_push_data_clickable.py +224 -0
  186. vrchatapi_async-1.20.8.dev1/vrchatapi/models/instance.py +597 -0
  187. vrchatapi_async-1.20.8.dev1/vrchatapi/models/instance_content_settings.py +236 -0
  188. vrchatapi_async-1.20.8.dev1/vrchatapi/models/instance_platforms.py +222 -0
  189. vrchatapi_async-1.20.8.dev1/vrchatapi/models/instance_region.py +40 -0
  190. vrchatapi_async-1.20.8.dev1/vrchatapi/models/instance_short_name_response.py +248 -0
  191. vrchatapi_async-1.20.8.dev1/vrchatapi/models/instance_type.py +40 -0
  192. vrchatapi_async-1.20.8.dev1/vrchatapi/models/inventory.py +247 -0
  193. vrchatapi_async-1.20.8.dev1/vrchatapi/models/inventory_consumption_results.py +255 -0
  194. vrchatapi_async-1.20.8.dev1/vrchatapi/models/inventory_default_attributes_value.py +243 -0
  195. vrchatapi_async-1.20.8.dev1/vrchatapi/models/inventory_default_attributes_value_validator.py +211 -0
  196. vrchatapi_async-1.20.8.dev1/vrchatapi/models/inventory_drop.py +331 -0
  197. vrchatapi_async-1.20.8.dev1/vrchatapi/models/inventory_equip_slot.py +39 -0
  198. vrchatapi_async-1.20.8.dev1/vrchatapi/models/inventory_flag.py +43 -0
  199. vrchatapi_async-1.20.8.dev1/vrchatapi/models/inventory_item.py +420 -0
  200. vrchatapi_async-1.20.8.dev1/vrchatapi/models/inventory_item_type.py +42 -0
  201. vrchatapi_async-1.20.8.dev1/vrchatapi/models/inventory_metadata.py +287 -0
  202. vrchatapi_async-1.20.8.dev1/vrchatapi/models/inventory_notification_details.py +244 -0
  203. vrchatapi_async-1.20.8.dev1/vrchatapi/models/inventory_spawn.py +216 -0
  204. vrchatapi_async-1.20.8.dev1/vrchatapi/models/inventory_template.py +351 -0
  205. vrchatapi_async-1.20.8.dev1/vrchatapi/models/inventory_user_attributes.py +250 -0
  206. vrchatapi_async-1.20.8.dev1/vrchatapi/models/invite_message.py +276 -0
  207. vrchatapi_async-1.20.8.dev1/vrchatapi/models/invite_message_type.py +39 -0
  208. vrchatapi_async-1.20.8.dev1/vrchatapi/models/invite_request.py +243 -0
  209. vrchatapi_async-1.20.8.dev1/vrchatapi/models/invite_response.py +235 -0
  210. vrchatapi_async-1.20.8.dev1/vrchatapi/models/jam.py +302 -0
  211. vrchatapi_async-1.20.8.dev1/vrchatapi/models/jam_state_change_dates.py +276 -0
  212. vrchatapi_async-1.20.8.dev1/vrchatapi/models/jam_submission.py +275 -0
  213. vrchatapi_async-1.20.8.dev1/vrchatapi/models/join_group_request.py +234 -0
  214. vrchatapi_async-1.20.8.dev1/vrchatapi/models/license.py +261 -0
  215. vrchatapi_async-1.20.8.dev1/vrchatapi/models/license_action.py +37 -0
  216. vrchatapi_async-1.20.8.dev1/vrchatapi/models/license_group.py +235 -0
  217. vrchatapi_async-1.20.8.dev1/vrchatapi/models/license_type.py +39 -0
  218. vrchatapi_async-1.20.8.dev1/vrchatapi/models/limited_group.py +377 -0
  219. vrchatapi_async-1.20.8.dev1/vrchatapi/models/limited_unity_package.py +251 -0
  220. vrchatapi_async-1.20.8.dev1/vrchatapi/models/limited_user_friend.py +399 -0
  221. vrchatapi_async-1.20.8.dev1/vrchatapi/models/limited_user_groups.py +386 -0
  222. vrchatapi_async-1.20.8.dev1/vrchatapi/models/limited_user_instance.py +430 -0
  223. vrchatapi_async-1.20.8.dev1/vrchatapi/models/limited_user_search.py +395 -0
  224. vrchatapi_async-1.20.8.dev1/vrchatapi/models/limited_world.py +410 -0
  225. vrchatapi_async-1.20.8.dev1/vrchatapi/models/mime_type.py +50 -0
  226. vrchatapi_async-1.20.8.dev1/vrchatapi/models/model_print.py +299 -0
  227. vrchatapi_async-1.20.8.dev1/vrchatapi/models/moderate_user_request.py +217 -0
  228. vrchatapi_async-1.20.8.dev1/vrchatapi/models/moderation_report.py +296 -0
  229. vrchatapi_async-1.20.8.dev1/vrchatapi/models/mutual_friend.py +302 -0
  230. vrchatapi_async-1.20.8.dev1/vrchatapi/models/mutuals.py +217 -0
  231. vrchatapi_async-1.20.8.dev1/vrchatapi/models/notification.py +283 -0
  232. vrchatapi_async-1.20.8.dev1/vrchatapi/models/notification_detail_invite.py +250 -0
  233. vrchatapi_async-1.20.8.dev1/vrchatapi/models/notification_detail_invite_response.py +242 -0
  234. vrchatapi_async-1.20.8.dev1/vrchatapi/models/notification_detail_request_invite.py +239 -0
  235. vrchatapi_async-1.20.8.dev1/vrchatapi/models/notification_detail_request_invite_response.py +242 -0
  236. vrchatapi_async-1.20.8.dev1/vrchatapi/models/notification_detail_vote_to_kick.py +242 -0
  237. vrchatapi_async-1.20.8.dev1/vrchatapi/models/notification_type.py +43 -0
  238. vrchatapi_async-1.20.8.dev1/vrchatapi/models/notification_v2.py +466 -0
  239. vrchatapi_async-1.20.8.dev1/vrchatapi/models/notification_v2_details_boop.py +255 -0
  240. vrchatapi_async-1.20.8.dev1/vrchatapi/models/notification_v2_response.py +259 -0
  241. vrchatapi_async-1.20.8.dev1/vrchatapi/models/notification_v2_type.py +58 -0
  242. vrchatapi_async-1.20.8.dev1/vrchatapi/models/ok_status.py +211 -0
  243. vrchatapi_async-1.20.8.dev1/vrchatapi/models/ok_status2.py +234 -0
  244. vrchatapi_async-1.20.8.dev1/vrchatapi/models/order_option.py +37 -0
  245. vrchatapi_async-1.20.8.dev1/vrchatapi/models/order_option_short.py +37 -0
  246. vrchatapi_async-1.20.8.dev1/vrchatapi/models/paginated_calendar_event_list.py +255 -0
  247. vrchatapi_async-1.20.8.dev1/vrchatapi/models/paginated_group_audit_log_entry_list.py +255 -0
  248. vrchatapi_async-1.20.8.dev1/vrchatapi/models/paginated_moderation_report_list.py +255 -0
  249. vrchatapi_async-1.20.8.dev1/vrchatapi/models/past_display_name.py +241 -0
  250. vrchatapi_async-1.20.8.dev1/vrchatapi/models/pending2_fa_result.py +239 -0
  251. vrchatapi_async-1.20.8.dev1/vrchatapi/models/performance_limiter_info.py +234 -0
  252. vrchatapi_async-1.20.8.dev1/vrchatapi/models/performance_ratings.py +41 -0
  253. vrchatapi_async-1.20.8.dev1/vrchatapi/models/permission.py +280 -0
  254. vrchatapi_async-1.20.8.dev1/vrchatapi/models/permission_data.py +258 -0
  255. vrchatapi_async-1.20.8.dev1/vrchatapi/models/platform_build_info.py +242 -0
  256. vrchatapi_async-1.20.8.dev1/vrchatapi/models/player_moderation.py +276 -0
  257. vrchatapi_async-1.20.8.dev1/vrchatapi/models/player_moderation_type.py +44 -0
  258. vrchatapi_async-1.20.8.dev1/vrchatapi/models/print_files.py +239 -0
  259. vrchatapi_async-1.20.8.dev1/vrchatapi/models/private_profile.py +267 -0
  260. vrchatapi_async-1.20.8.dev1/vrchatapi/models/private_profile_activity.py +292 -0
  261. vrchatapi_async-1.20.8.dev1/vrchatapi/models/product.py +389 -0
  262. vrchatapi_async-1.20.8.dev1/vrchatapi/models/product_listing.py +538 -0
  263. vrchatapi_async-1.20.8.dev1/vrchatapi/models/product_listing_type.py +39 -0
  264. vrchatapi_async-1.20.8.dev1/vrchatapi/models/product_listing_variant.py +272 -0
  265. vrchatapi_async-1.20.8.dev1/vrchatapi/models/product_purchase.py +571 -0
  266. vrchatapi_async-1.20.8.dev1/vrchatapi/models/product_purchase_history.py +256 -0
  267. vrchatapi_async-1.20.8.dev1/vrchatapi/models/product_purchase_location_type.py +46 -0
  268. vrchatapi_async-1.20.8.dev1/vrchatapi/models/product_purchase_product.py +269 -0
  269. vrchatapi_async-1.20.8.dev1/vrchatapi/models/product_purchase_purchase_context.py +250 -0
  270. vrchatapi_async-1.20.8.dev1/vrchatapi/models/product_purchase_record.py +312 -0
  271. vrchatapi_async-1.20.8.dev1/vrchatapi/models/product_type.py +39 -0
  272. vrchatapi_async-1.20.8.dev1/vrchatapi/models/profile_represented_group.py +262 -0
  273. vrchatapi_async-1.20.8.dev1/vrchatapi/models/prop.py +358 -0
  274. vrchatapi_async-1.20.8.dev1/vrchatapi/models/prop_publish_status.py +234 -0
  275. vrchatapi_async-1.20.8.dev1/vrchatapi/models/prop_unity_package.py +269 -0
  276. vrchatapi_async-1.20.8.dev1/vrchatapi/models/public_profile.py +398 -0
  277. vrchatapi_async-1.20.8.dev1/vrchatapi/models/purchase_context_data.py +251 -0
  278. vrchatapi_async-1.20.8.dev1/vrchatapi/models/purchase_product_listing_request.py +281 -0
  279. vrchatapi_async-1.20.8.dev1/vrchatapi/models/region.py +42 -0
  280. vrchatapi_async-1.20.8.dev1/vrchatapi/models/register_user_account_request.py +278 -0
  281. vrchatapi_async-1.20.8.dev1/vrchatapi/models/release_status.py +39 -0
  282. vrchatapi_async-1.20.8.dev1/vrchatapi/models/report_category.py +226 -0
  283. vrchatapi_async-1.20.8.dev1/vrchatapi/models/report_reason.py +216 -0
  284. vrchatapi_async-1.20.8.dev1/vrchatapi/models/represented_group.py +348 -0
  285. vrchatapi_async-1.20.8.dev1/vrchatapi/models/request_invite_request.py +235 -0
  286. vrchatapi_async-1.20.8.dev1/vrchatapi/models/respond_group_join_request.py +217 -0
  287. vrchatapi_async-1.20.8.dev1/vrchatapi/models/respond_notification_v2_request.py +242 -0
  288. vrchatapi_async-1.20.8.dev1/vrchatapi/models/response.py +217 -0
  289. vrchatapi_async-1.20.8.dev1/vrchatapi/models/reward_badge.py +308 -0
  290. vrchatapi_async-1.20.8.dev1/vrchatapi/models/reward_redemption.py +220 -0
  291. vrchatapi_async-1.20.8.dev1/vrchatapi/models/reward_redemption_data.py +224 -0
  292. vrchatapi_async-1.20.8.dev1/vrchatapi/models/reward_redemption_request.py +211 -0
  293. vrchatapi_async-1.20.8.dev1/vrchatapi/models/reward_redemption_result.py +250 -0
  294. vrchatapi_async-1.20.8.dev1/vrchatapi/models/search_group_members200_response.py +224 -0
  295. vrchatapi_async-1.20.8.dev1/vrchatapi/models/seller_eligibility.py +211 -0
  296. vrchatapi_async-1.20.8.dev1/vrchatapi/models/sent_notification.py +278 -0
  297. vrchatapi_async-1.20.8.dev1/vrchatapi/models/service_queue_stats.py +234 -0
  298. vrchatapi_async-1.20.8.dev1/vrchatapi/models/service_status.py +281 -0
  299. vrchatapi_async-1.20.8.dev1/vrchatapi/models/share_inventory_item_direct_request.py +239 -0
  300. vrchatapi_async-1.20.8.dev1/vrchatapi/models/sort_option.py +53 -0
  301. vrchatapi_async-1.20.8.dev1/vrchatapi/models/sort_option_product_purchase.py +36 -0
  302. vrchatapi_async-1.20.8.dev1/vrchatapi/models/store.py +372 -0
  303. vrchatapi_async-1.20.8.dev1/vrchatapi/models/store_context.py +249 -0
  304. vrchatapi_async-1.20.8.dev1/vrchatapi/models/store_shelf.py +304 -0
  305. vrchatapi_async-1.20.8.dev1/vrchatapi/models/store_type.py +38 -0
  306. vrchatapi_async-1.20.8.dev1/vrchatapi/models/store_view.py +40 -0
  307. vrchatapi_async-1.20.8.dev1/vrchatapi/models/submit_moderation_report_request.py +263 -0
  308. vrchatapi_async-1.20.8.dev1/vrchatapi/models/submit_moderation_report_request_details.py +283 -0
  309. vrchatapi_async-1.20.8.dev1/vrchatapi/models/subscription.py +301 -0
  310. vrchatapi_async-1.20.8.dev1/vrchatapi/models/subscription_period.py +40 -0
  311. vrchatapi_async-1.20.8.dev1/vrchatapi/models/success.py +215 -0
  312. vrchatapi_async-1.20.8.dev1/vrchatapi/models/success_flag.py +211 -0
  313. vrchatapi_async-1.20.8.dev1/vrchatapi/models/tilia_kyc.py +246 -0
  314. vrchatapi_async-1.20.8.dev1/vrchatapi/models/tilia_status.py +259 -0
  315. vrchatapi_async-1.20.8.dev1/vrchatapi/models/tilia_tos.py +211 -0
  316. vrchatapi_async-1.20.8.dev1/vrchatapi/models/token_bundle.py +286 -0
  317. vrchatapi_async-1.20.8.dev1/vrchatapi/models/transaction.py +322 -0
  318. vrchatapi_async-1.20.8.dev1/vrchatapi/models/transaction_agreement.py +353 -0
  319. vrchatapi_async-1.20.8.dev1/vrchatapi/models/transaction_status.py +39 -0
  320. vrchatapi_async-1.20.8.dev1/vrchatapi/models/transaction_steam_info.py +271 -0
  321. vrchatapi_async-1.20.8.dev1/vrchatapi/models/transaction_steam_wallet_info.py +227 -0
  322. vrchatapi_async-1.20.8.dev1/vrchatapi/models/transfer_group_request.py +234 -0
  323. vrchatapi_async-1.20.8.dev1/vrchatapi/models/tutorial_status.py +255 -0
  324. vrchatapi_async-1.20.8.dev1/vrchatapi/models/two_factor_auth_code.py +211 -0
  325. vrchatapi_async-1.20.8.dev1/vrchatapi/models/two_factor_email_code.py +211 -0
  326. vrchatapi_async-1.20.8.dev1/vrchatapi/models/two_factor_recovery_codes.py +247 -0
  327. vrchatapi_async-1.20.8.dev1/vrchatapi/models/two_factor_recovery_codes_otp_inner.py +216 -0
  328. vrchatapi_async-1.20.8.dev1/vrchatapi/models/unity_package.py +360 -0
  329. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_asset_review_notes_request.py +234 -0
  330. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_avatar_request.py +293 -0
  331. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_calendar_event_request.py +365 -0
  332. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_favorite_group_request.py +246 -0
  333. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_group_gallery_request.py +297 -0
  334. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_group_member_request.py +256 -0
  335. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_group_representation_request.py +234 -0
  336. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_group_request.py +300 -0
  337. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_group_role_request.py +255 -0
  338. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_inventory_item_request.py +254 -0
  339. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_invite_message_request.py +211 -0
  340. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_listing_request.py +211 -0
  341. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_product_request.py +261 -0
  342. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_prop_request.py +303 -0
  343. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_tilia_tos_request.py +211 -0
  344. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_user_badge_request.py +216 -0
  345. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_user_note_request.py +239 -0
  346. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_user_request.py +358 -0
  347. vrchatapi_async-1.20.8.dev1/vrchatapi/models/update_world_request.py +317 -0
  348. vrchatapi_async-1.20.8.dev1/vrchatapi/models/user.py +549 -0
  349. vrchatapi_async-1.20.8.dev1/vrchatapi/models/user_credits_eligible.py +216 -0
  350. vrchatapi_async-1.20.8.dev1/vrchatapi/models/user_exists.py +242 -0
  351. vrchatapi_async-1.20.8.dev1/vrchatapi/models/user_note.py +273 -0
  352. vrchatapi_async-1.20.8.dev1/vrchatapi/models/user_note_target_user.py +277 -0
  353. vrchatapi_async-1.20.8.dev1/vrchatapi/models/user_state.py +38 -0
  354. vrchatapi_async-1.20.8.dev1/vrchatapi/models/user_status.py +40 -0
  355. vrchatapi_async-1.20.8.dev1/vrchatapi/models/user_subscription.py +330 -0
  356. vrchatapi_async-1.20.8.dev1/vrchatapi/models/user_subscription_eligible.py +274 -0
  357. vrchatapi_async-1.20.8.dev1/vrchatapi/models/verify2_fa_email_code_result.py +211 -0
  358. vrchatapi_async-1.20.8.dev1/vrchatapi/models/verify2_fa_result.py +216 -0
  359. vrchatapi_async-1.20.8.dev1/vrchatapi/models/verify_auth_token_result.py +217 -0
  360. vrchatapi_async-1.20.8.dev1/vrchatapi/models/world.py +459 -0
  361. vrchatapi_async-1.20.8.dev1/vrchatapi/models/world_metadata.py +216 -0
  362. vrchatapi_async-1.20.8.dev1/vrchatapi/models/world_publish_status.py +234 -0
  363. vrchatapi_async-1.20.8.dev1/vrchatapi/py.typed +0 -0
  364. vrchatapi_async-1.20.8.dev1/vrchatapi/rest.py +303 -0
  365. vrchatapi_async-1.20.8.dev1/vrchatapi_async.egg-info/PKG-INFO +137 -0
  366. vrchatapi_async-1.20.8.dev1/vrchatapi_async.egg-info/SOURCES.txt +368 -0
  367. vrchatapi_async-1.20.8.dev1/vrchatapi_async.egg-info/dependency_links.txt +1 -0
  368. vrchatapi_async-1.20.8.dev1/vrchatapi_async.egg-info/requires.txt +5 -0
  369. vrchatapi_async-1.20.8.dev1/vrchatapi_async.egg-info/top_level.txt +1 -0
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Owners of GitHub organisation "vrchatapi" and individual contributors.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,137 @@
1
+ Metadata-Version: 2.4
2
+ Name: vrchatapi-async
3
+ Version: 1.20.8.dev1
4
+ Summary: VRChat API Library for Python (async version)
5
+ Home-page: https://github.com/hi94740/vrchatapi-python-async
6
+ Author: hi94740
7
+ Author-email: hi94740@qq.com
8
+ License: MIT
9
+ Keywords: vrchat,vrchatapi,vrc
10
+ Requires-Python: >=3.10
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: python-dateutil>=2.8.2
14
+ Requires-Dist: aiohttp>=3.13.5
15
+ Requires-Dist: aiohttp-retry>=2.8.3
16
+ Requires-Dist: pydantic>=2.11
17
+ Requires-Dist: typing-extensions>=4.7.1
18
+ Dynamic: author
19
+ Dynamic: author-email
20
+ Dynamic: description
21
+ Dynamic: description-content-type
22
+ Dynamic: home-page
23
+ Dynamic: keywords
24
+ Dynamic: license
25
+ Dynamic: license-file
26
+ Dynamic: requires-dist
27
+ Dynamic: requires-python
28
+ Dynamic: summary
29
+
30
+ ![](https://github.com/vrchatapi/vrchatapi.github.io/blob/main/static/assets/img/lang/lang_python_banner_1500x300.png?raw=true)
31
+
32
+ # VRChat API Library for Python (async)
33
+
34
+ A Python client to interact with the unofficial VRChat API. Supports all REST calls specified in the [API specification](https://github.com/vrchatapi/specification).
35
+
36
+ This is an **asynchronous** (asyncio + aiohttp) adaptation of [VRChatAPI-Python](https://github.com/vrchatapi/vrchatapi-python). All API
37
+ methods are coroutines and must be awaited.
38
+
39
+ ## Disclaimer
40
+
41
+ This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API.
42
+
43
+ > Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:
44
+ > * We do not provide documentation or support for the API.
45
+ > * Do not make queries to the API more than once per 60 seconds.
46
+ > * Abuse of the API may result in account termination.
47
+ > * Access to API endpoints may break at any given time, with no warning.
48
+
49
+ As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it.
50
+
51
+ ## Getting Started
52
+
53
+ First add the package to to your project:
54
+ ```bash
55
+ pip install vrchatapi-async
56
+ ```
57
+
58
+ Below is an example on how to login to the API and fetch your own user information.
59
+
60
+ ```python
61
+ import asyncio
62
+
63
+ # Step 1. We begin with creating a Configuration, which contains the username and password for authentication.
64
+ import vrchatapi
65
+ from vrchatapi.api import authentication_api
66
+ from vrchatapi.exceptions import UnauthorizedException
67
+ from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode
68
+ from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode
69
+
70
+
71
+ async def main():
72
+ configuration = vrchatapi.Configuration(
73
+ username = 'username',
74
+ password = 'password',
75
+ )
76
+
77
+ # Step 2. VRChat consists of several API's (WorldsApi, UsersApi, FilesApi, NotificationsApi, FriendsApi, etc...)
78
+ # Here we enter a context of the API Client and instantiate the Authentication API which is required for logging in.
79
+
80
+ # Enter a context with an instance of the API client
81
+ async with vrchatapi.ApiClient(configuration) as api_client:
82
+ # Set our User-Agent as per VRChat Usage Policy
83
+ api_client.user_agent = "ExampleProgram/0.0.1 my@email.com"
84
+
85
+ # Instantiate instances of API classes
86
+ auth_api = authentication_api.AuthenticationApi(api_client)
87
+
88
+ try:
89
+ # Step 3. Calling getCurrentUser on Authentication API logs you in if the user isn't already logged in.
90
+ current_user = await auth_api.get_current_user()
91
+ except UnauthorizedException as e:
92
+ if e.status == 200:
93
+ if "Email 2 Factor Authentication" in e.reason:
94
+ # Step 3.5. Calling email verify2fa if the account has 2FA disabled
95
+ await auth_api.verify2_fa_email_code(two_factor_email_code=TwoFactorEmailCode(input("Email 2FA Code: ")))
96
+ elif "2 Factor Authentication" in e.reason:
97
+ # Step 3.5. Calling verify2fa if the account has 2FA enabled
98
+ await auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: ")))
99
+ current_user = await auth_api.get_current_user()
100
+ else:
101
+ print("Exception when calling API: %s
102
+ ", e)
103
+ except vrchatapi.ApiException as e:
104
+ print("Exception when calling API: %s
105
+ ", e)
106
+
107
+ print("Logged in as:", current_user.display_name)
108
+
109
+
110
+ if __name__ == "__main__":
111
+ asyncio.run(main())
112
+ ```
113
+
114
+ See [Examples](examples/README.md) for more example usage on getting started.
115
+
116
+ ## Async API notes
117
+
118
+ Compared to [the synchronous SDK](https://github.com/vrchatapi/vrchatapi-python), this version changes the calling convention:
119
+
120
+ - Every API method (`foo`, `foo_with_http_info`, `foo_without_preload_content`)
121
+ is an `async def` coroutine and must be awaited.
122
+ - `ApiClient` is used as an async context manager (`async with ... as api_client`).
123
+ - The `async_req` parameter and the thread-pool based `async_req=True` usage are
124
+ removed; calls are natively asynchronous.
125
+ - `foo_with_http_info()` returns an `ApiResponse` object (`status_code`,
126
+ `headers`, `data`, `raw_data`) instead of a `(data, status, headers)` tuple.
127
+ - `foo_without_preload_content()` returns the raw aiohttp response for
128
+ streaming; the legacy `_preload_content=False` parameter is removed.
129
+ - The session `CookieJar`, the readable 2FA errors
130
+ (`UnauthorizedException` with status 200), the URL-encoded basic auth, the
131
+ `~()` safe path-parameter charset and the lowercase boolean query parameters
132
+ behave exactly like the synchronous SDK.
133
+
134
+ ## Contributing
135
+
136
+ Contributions are welcome, but do not add features that should be handled by the OpenAPI specification.
137
+
@@ -0,0 +1,105 @@
1
+ ![](https://github.com/vrchatapi/vrchatapi.github.io/blob/main/static/assets/img/lang/lang_python_banner_1500x300.png?raw=true)
2
+
3
+ # VRChat API Library for Python (async)
4
+
5
+ A Python client to interact with the unofficial VRChat API. Supports all REST calls specified in the [API specification](https://github.com/vrchatapi/specification).
6
+
7
+ This is an **asynchronous** (asyncio + aiohttp) adaptation of [VRChatAPI-Python](https://github.com/vrchatapi/vrchatapi-python). All API
8
+ methods are coroutines and must be awaited.
9
+
10
+ ## Disclaimer
11
+
12
+ This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API.
13
+
14
+ > Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:
15
+ > * We do not provide documentation or support for the API.
16
+ > * Do not make queries to the API more than once per 60 seconds.
17
+ > * Abuse of the API may result in account termination.
18
+ > * Access to API endpoints may break at any given time, with no warning.
19
+
20
+ As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it.
21
+
22
+ ## Getting Started
23
+
24
+ First add the package to to your project:
25
+ ```bash
26
+ pip install vrchatapi-async
27
+ ```
28
+
29
+ Below is an example on how to login to the API and fetch your own user information.
30
+
31
+ ```python
32
+ import asyncio
33
+
34
+ # Step 1. We begin with creating a Configuration, which contains the username and password for authentication.
35
+ import vrchatapi
36
+ from vrchatapi.api import authentication_api
37
+ from vrchatapi.exceptions import UnauthorizedException
38
+ from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode
39
+ from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode
40
+
41
+
42
+ async def main():
43
+ configuration = vrchatapi.Configuration(
44
+ username = 'username',
45
+ password = 'password',
46
+ )
47
+
48
+ # Step 2. VRChat consists of several API's (WorldsApi, UsersApi, FilesApi, NotificationsApi, FriendsApi, etc...)
49
+ # Here we enter a context of the API Client and instantiate the Authentication API which is required for logging in.
50
+
51
+ # Enter a context with an instance of the API client
52
+ async with vrchatapi.ApiClient(configuration) as api_client:
53
+ # Set our User-Agent as per VRChat Usage Policy
54
+ api_client.user_agent = "ExampleProgram/0.0.1 my@email.com"
55
+
56
+ # Instantiate instances of API classes
57
+ auth_api = authentication_api.AuthenticationApi(api_client)
58
+
59
+ try:
60
+ # Step 3. Calling getCurrentUser on Authentication API logs you in if the user isn't already logged in.
61
+ current_user = await auth_api.get_current_user()
62
+ except UnauthorizedException as e:
63
+ if e.status == 200:
64
+ if "Email 2 Factor Authentication" in e.reason:
65
+ # Step 3.5. Calling email verify2fa if the account has 2FA disabled
66
+ await auth_api.verify2_fa_email_code(two_factor_email_code=TwoFactorEmailCode(input("Email 2FA Code: ")))
67
+ elif "2 Factor Authentication" in e.reason:
68
+ # Step 3.5. Calling verify2fa if the account has 2FA enabled
69
+ await auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: ")))
70
+ current_user = await auth_api.get_current_user()
71
+ else:
72
+ print("Exception when calling API: %s\n", e)
73
+ except vrchatapi.ApiException as e:
74
+ print("Exception when calling API: %s\n", e)
75
+
76
+ print("Logged in as:", current_user.display_name)
77
+
78
+
79
+ if __name__ == "__main__":
80
+ asyncio.run(main())
81
+ ```
82
+
83
+ See [Examples](examples/README.md) for more example usage on getting started.
84
+
85
+ ## Async API notes
86
+
87
+ Compared to [the synchronous SDK](https://github.com/vrchatapi/vrchatapi-python), this version changes the calling convention:
88
+
89
+ - Every API method (`foo`, `foo_with_http_info`, `foo_without_preload_content`)
90
+ is an `async def` coroutine and must be awaited.
91
+ - `ApiClient` is used as an async context manager (`async with ... as api_client`).
92
+ - The `async_req` parameter and the thread-pool based `async_req=True` usage are
93
+ removed; calls are natively asynchronous.
94
+ - `foo_with_http_info()` returns an `ApiResponse` object (`status_code`,
95
+ `headers`, `data`, `raw_data`) instead of a `(data, status, headers)` tuple.
96
+ - `foo_without_preload_content()` returns the raw aiohttp response for
97
+ streaming; the legacy `_preload_content=False` parameter is removed.
98
+ - The session `CookieJar`, the readable 2FA errors
99
+ (`UnauthorizedException` with status 200), the URL-encoded basic auth, the
100
+ `~()` safe path-parameter charset and the lowercase boolean query parameters
101
+ behave exactly like the synchronous SDK.
102
+
103
+ ## Contributing
104
+
105
+ Contributions are welcome, but do not add features that should be handled by the OpenAPI specification.
@@ -0,0 +1,6 @@
1
+ [build-system]
2
+ requires = [
3
+ "setuptools>=42",
4
+ "wheel"
5
+ ]
6
+ build-backend = "setuptools.build_meta"
@@ -0,0 +1,7 @@
1
+ [flake8]
2
+ max-line-length = 99
3
+
4
+ [egg_info]
5
+ tag_build =
6
+ tag_date = 0
7
+
@@ -0,0 +1,259 @@
1
+ """
2
+ VRChat API Documentation
3
+
4
+ ![](https://github.com/vrchatapi/vrchatapi.github.io/blob/main/static/assets/img/lang/lang_python_banner_1500x300.png?raw=true)
5
+
6
+ # VRChat API Library for Python (async)
7
+
8
+ A Python client to interact with the unofficial VRChat API. Supports all REST calls specified in the [API specification](https://github.com/vrchatapi/specification).
9
+
10
+ This is an **asynchronous** (asyncio + aiohttp) adaptation of [VRChatAPI-Python](https://github.com/vrchatapi/vrchatapi-python). All API
11
+ methods are coroutines and must be awaited.
12
+
13
+ ## Disclaimer
14
+
15
+ This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API.
16
+
17
+ > Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:
18
+ > * We do not provide documentation or support for the API.
19
+ > * Do not make queries to the API more than once per 60 seconds.
20
+ > * Abuse of the API may result in account termination.
21
+ > * Access to API endpoints may break at any given time, with no warning.
22
+
23
+ As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it.
24
+
25
+ ## Getting Started
26
+
27
+ First add the package to to your project:
28
+ ```bash
29
+ pip install vrchatapi-async
30
+ ```
31
+
32
+ Below is an example on how to login to the API and fetch your own user information.
33
+
34
+ ```python
35
+ import asyncio
36
+
37
+ # Step 1. We begin with creating a Configuration, which contains the username and password for authentication.
38
+ import vrchatapi
39
+ from vrchatapi.api import authentication_api
40
+ from vrchatapi.exceptions import UnauthorizedException
41
+ from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode
42
+ from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode
43
+
44
+
45
+ async def main():
46
+ configuration = vrchatapi.Configuration(
47
+ username = 'username',
48
+ password = 'password',
49
+ )
50
+
51
+ # Step 2. VRChat consists of several API's (WorldsApi, UsersApi, FilesApi, NotificationsApi, FriendsApi, etc...)
52
+ # Here we enter a context of the API Client and instantiate the Authentication API which is required for logging in.
53
+
54
+ # Enter a context with an instance of the API client
55
+ async with vrchatapi.ApiClient(configuration) as api_client:
56
+ # Set our User-Agent as per VRChat Usage Policy
57
+ api_client.user_agent = "ExampleProgram/0.0.1 my@email.com"
58
+
59
+ # Instantiate instances of API classes
60
+ auth_api = authentication_api.AuthenticationApi(api_client)
61
+
62
+ try:
63
+ # Step 3. Calling getCurrentUser on Authentication API logs you in if the user isn't already logged in.
64
+ current_user = await auth_api.get_current_user()
65
+ except UnauthorizedException as e:
66
+ if e.status == 200:
67
+ if "Email 2 Factor Authentication" in e.reason:
68
+ # Step 3.5. Calling email verify2fa if the account has 2FA disabled
69
+ await auth_api.verify2_fa_email_code(two_factor_email_code=TwoFactorEmailCode(input("Email 2FA Code: ")))
70
+ elif "2 Factor Authentication" in e.reason:
71
+ # Step 3.5. Calling verify2fa if the account has 2FA enabled
72
+ await auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: ")))
73
+ current_user = await auth_api.get_current_user()
74
+ else:
75
+ print("Exception when calling API: %s\n", e)
76
+ except vrchatapi.ApiException as e:
77
+ print("Exception when calling API: %s\n", e)
78
+
79
+ print("Logged in as:", current_user.display_name)
80
+
81
+
82
+ if __name__ == "__main__":
83
+ asyncio.run(main())
84
+ ```
85
+
86
+ See [Examples](examples/README.md) for more example usage on getting started.
87
+
88
+ ## Async API notes
89
+
90
+ Compared to [the synchronous SDK](https://github.com/vrchatapi/vrchatapi-python), this version changes the calling convention:
91
+
92
+ - Every API method (`foo`, `foo_with_http_info`, `foo_without_preload_content`)
93
+ is an `async def` coroutine and must be awaited.
94
+ - `ApiClient` is used as an async context manager (`async with ... as api_client`).
95
+ - The `async_req` parameter and the thread-pool based `async_req=True` usage are
96
+ removed; calls are natively asynchronous.
97
+ - `foo_with_http_info()` returns an `ApiResponse` object (`status_code`,
98
+ `headers`, `data`, `raw_data`) instead of a `(data, status, headers)` tuple.
99
+ - `foo_without_preload_content()` returns the raw aiohttp response for
100
+ streaming; the legacy `_preload_content=False` parameter is removed.
101
+ - The session `CookieJar`, the readable 2FA errors
102
+ (`UnauthorizedException` with status 200), the URL-encoded basic auth, the
103
+ `~()` safe path-parameter charset and the lowercase boolean query parameters
104
+ behave exactly like the synchronous SDK.
105
+
106
+ ## Contributing
107
+
108
+ Contributions are welcome, but do not add features that should be handled by the OpenAPI specification.
109
+
110
+ The version of the OpenAPI document: 1.20.8
111
+ Contact: vrchatapi.lpv0t@aries.fyi
112
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
113
+
114
+ Do not edit the class manually.
115
+ """ # noqa: E501
116
+
117
+
118
+ from setuptools import setup, find_packages # noqa: H301
119
+
120
+ # To install the library, run the following
121
+ #
122
+ # python setup.py install
123
+ #
124
+ # prerequisite: setuptools
125
+ # http://pypi.python.org/pypi/setuptools
126
+ NAME = "vrchatapi-async"
127
+ VERSION = "1.20.8dev1"
128
+ PYTHON_REQUIRES = ">= 3.10"
129
+ REQUIRES = [
130
+ "python-dateutil >= 2.8.2",
131
+ "aiohttp >= 3.13.5",
132
+ "aiohttp-retry >= 2.8.3",
133
+ "pydantic >= 2.11",
134
+ "typing-extensions >= 4.7.1",
135
+ ]
136
+
137
+ setup(
138
+ name=NAME,
139
+ version=VERSION,
140
+ description="VRChat API Library for Python (async version)",
141
+ author="hi94740",
142
+ author_email="hi94740@qq.com",
143
+ url="https://github.com/hi94740/vrchatapi-python-async",
144
+ keywords=["vrchat", "vrchatapi", "vrc"],
145
+ install_requires=REQUIRES,
146
+ python_requires=">=3.10",
147
+ packages=find_packages(exclude=["test", "tests"]),
148
+ include_package_data=True,
149
+ license="MIT",
150
+ long_description_content_type='text/markdown',
151
+ long_description="""\
152
+ ![](https://github.com/vrchatapi/vrchatapi.github.io/blob/main/static/assets/img/lang/lang_python_banner_1500x300.png?raw=true)
153
+
154
+ # VRChat API Library for Python (async)
155
+
156
+ A Python client to interact with the unofficial VRChat API. Supports all REST calls specified in the [API specification](https://github.com/vrchatapi/specification).
157
+
158
+ This is an **asynchronous** (asyncio + aiohttp) adaptation of [VRChatAPI-Python](https://github.com/vrchatapi/vrchatapi-python). All API
159
+ methods are coroutines and must be awaited.
160
+
161
+ ## Disclaimer
162
+
163
+ This is the official response of the VRChat Team (from Tupper more specifically) on the usage of the VRChat API.
164
+
165
+ > Use of the API using applications other than the approved methods (website, VRChat application) are not officially supported. You may use the API for your own application, but keep these guidelines in mind:
166
+ > * We do not provide documentation or support for the API.
167
+ > * Do not make queries to the API more than once per 60 seconds.
168
+ > * Abuse of the API may result in account termination.
169
+ > * Access to API endpoints may break at any given time, with no warning.
170
+
171
+ As stated, this documentation was not created with the help of the official VRChat team. Therefore this documentation is not an official documentation of the VRChat API and may not be always up to date with the latest versions. If you find that a page or endpoint is not longer valid please create an issue and tell us so we can fix it.
172
+
173
+ ## Getting Started
174
+
175
+ First add the package to to your project:
176
+ ```bash
177
+ pip install vrchatapi-async
178
+ ```
179
+
180
+ Below is an example on how to login to the API and fetch your own user information.
181
+
182
+ ```python
183
+ import asyncio
184
+
185
+ # Step 1. We begin with creating a Configuration, which contains the username and password for authentication.
186
+ import vrchatapi
187
+ from vrchatapi.api import authentication_api
188
+ from vrchatapi.exceptions import UnauthorizedException
189
+ from vrchatapi.models.two_factor_auth_code import TwoFactorAuthCode
190
+ from vrchatapi.models.two_factor_email_code import TwoFactorEmailCode
191
+
192
+
193
+ async def main():
194
+ configuration = vrchatapi.Configuration(
195
+ username = 'username',
196
+ password = 'password',
197
+ )
198
+
199
+ # Step 2. VRChat consists of several API's (WorldsApi, UsersApi, FilesApi, NotificationsApi, FriendsApi, etc...)
200
+ # Here we enter a context of the API Client and instantiate the Authentication API which is required for logging in.
201
+
202
+ # Enter a context with an instance of the API client
203
+ async with vrchatapi.ApiClient(configuration) as api_client:
204
+ # Set our User-Agent as per VRChat Usage Policy
205
+ api_client.user_agent = "ExampleProgram/0.0.1 my@email.com"
206
+
207
+ # Instantiate instances of API classes
208
+ auth_api = authentication_api.AuthenticationApi(api_client)
209
+
210
+ try:
211
+ # Step 3. Calling getCurrentUser on Authentication API logs you in if the user isn't already logged in.
212
+ current_user = await auth_api.get_current_user()
213
+ except UnauthorizedException as e:
214
+ if e.status == 200:
215
+ if "Email 2 Factor Authentication" in e.reason:
216
+ # Step 3.5. Calling email verify2fa if the account has 2FA disabled
217
+ await auth_api.verify2_fa_email_code(two_factor_email_code=TwoFactorEmailCode(input("Email 2FA Code: ")))
218
+ elif "2 Factor Authentication" in e.reason:
219
+ # Step 3.5. Calling verify2fa if the account has 2FA enabled
220
+ await auth_api.verify2_fa(two_factor_auth_code=TwoFactorAuthCode(input("2FA Code: ")))
221
+ current_user = await auth_api.get_current_user()
222
+ else:
223
+ print("Exception when calling API: %s\n", e)
224
+ except vrchatapi.ApiException as e:
225
+ print("Exception when calling API: %s\n", e)
226
+
227
+ print("Logged in as:", current_user.display_name)
228
+
229
+
230
+ if __name__ == "__main__":
231
+ asyncio.run(main())
232
+ ```
233
+
234
+ See [Examples](examples/README.md) for more example usage on getting started.
235
+
236
+ ## Async API notes
237
+
238
+ Compared to [the synchronous SDK](https://github.com/vrchatapi/vrchatapi-python), this version changes the calling convention:
239
+
240
+ - Every API method (`foo`, `foo_with_http_info`, `foo_without_preload_content`)
241
+ is an `async def` coroutine and must be awaited.
242
+ - `ApiClient` is used as an async context manager (`async with ... as api_client`).
243
+ - The `async_req` parameter and the thread-pool based `async_req=True` usage are
244
+ removed; calls are natively asynchronous.
245
+ - `foo_with_http_info()` returns an `ApiResponse` object (`status_code`,
246
+ `headers`, `data`, `raw_data`) instead of a `(data, status, headers)` tuple.
247
+ - `foo_without_preload_content()` returns the raw aiohttp response for
248
+ streaming; the legacy `_preload_content=False` parameter is removed.
249
+ - The session `CookieJar`, the readable 2FA errors
250
+ (`UnauthorizedException` with status 200), the URL-encoded basic auth, the
251
+ `~()` safe path-parameter charset and the lowercase boolean query parameters
252
+ behave exactly like the synchronous SDK.
253
+
254
+ ## Contributing
255
+
256
+ Contributions are welcome, but do not add features that should be handled by the OpenAPI specification.
257
+ """, # noqa: E501
258
+ package_data={"vrchatapi": ["py.typed"]},
259
+ )