Skip to content

Commit c300eea

Browse files
committed
Upgrade Python SDK to spec 1.7.5
1 parent 0b17bb7 commit c300eea

File tree

124 files changed

+132
-139
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+132
-139
lines changed

docs/AuthenticationApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Name | Type | Description | Notes
192192
193193
Login and/or Get Current User Info
194194

195-
This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed.
195+
This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed.
196196

197197
### Example
198198

docs/World.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**asset_url** | **str** | Empty if unauthenticated. |
87
**author_id** | **str** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. |
98
**author_name** | **str** | |
109
**capacity** | **int** | |
@@ -28,7 +27,7 @@ Name | Type | Description | Notes
2827
**version** | **int** | | defaults to 0
2928
**visits** | **int** | | defaults to 0
3029
**favorites** | **int** | | [optional] if omitted the server will use the default value of 0
31-
**instances** | **[[bool, date, datetime, dict, float, int, list, str, none_type]]** | | [optional]
30+
**instances** | **[[{str: (bool, date, datetime, dict, float, int, list, str, none_type)}]]** | | [optional]
3231
**occupants** | **int** | | [optional] if omitted the server will use the default value of 0
3332
**preview_youtube_id** | **str, none_type** | | [optional]
3433
**private_occupants** | **int** | | [optional] if omitted the server will use the default value of 0

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
6565
Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us.
6666
67-
The version of the OpenAPI document: 1.7.4
67+
The version of the OpenAPI document: 1.7.5
6868
Contact: me@ariesclark.com
6969
Generated by: https://openapi-generator.tech
7070
"""
@@ -73,7 +73,7 @@
7373
from setuptools import setup, find_packages # noqa: H301
7474

7575
NAME = "vrchatapi"
76-
VERSION = "1.7.4"
76+
VERSION = "1.7.5"
7777
# To install the library, run the following
7878
#
7979
# python setup.py install

vrchatapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
VRChat API Documentation
55
66
7-
The version of the OpenAPI document: 1.7.4
7+
The version of the OpenAPI document: 1.7.5
88
Contact: me@ariesclark.com
99
Generated by: https://openapi-generator.tech
1010
"""

vrchatapi/api/authentication_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VRChat API Documentation
33
44
5-
The version of the OpenAPI document: 1.7.4
5+
The version of the OpenAPI document: 1.7.5
66
Contact: me@ariesclark.com
77
Generated by: https://openapi-generator.tech
88
"""
@@ -529,7 +529,7 @@ def get_current_user(
529529
):
530530
"""Login and/or Get Current User Info # noqa: E501
531531
532-
This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. # noqa: E501
532+
This endpoint does the following two operations: 1) Checks if you are already logged in by looking for a valid `auth` cookie. If you are have a valid auth cookie then no additional auth-related actions are taken. If you are **not** logged in then it will log you in with the `Authorization` header and set the `auth` cookie. The `auth` cookie will only be sent once. 2) If logged in, this function will also return the CurrentUser object containing detailed information about the currently logged in user. The auth string after `Authorization: Basic {string}` is a base64-encoded string of the username and password, both individually url-encoded, and then joined with a colon. > base64(urlencode(username):urlencode(password)) **WARNING: Session Limit:** Each authentication with login credentials counts as a separate session, out of which you have a limited amount. Make sure to save and reuse the `auth` cookie if you are often restarting the program. The provided API libraries automatically save cookies during runtime, but does not persist during restart. While it can be fine to use username/password during development, expect in production to very fast run into the rate-limit and be temporarily blocked from making new sessions until older ones expire. The exact number of simultaneous sessions is unknown/undisclosed. # noqa: E501
533533
This method makes a synchronous HTTP request by default. To make an
534534
asynchronous HTTP request, please pass async_req=True
535535

vrchatapi/api/avatars_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VRChat API Documentation
33
44
5-
The version of the OpenAPI document: 1.7.4
5+
The version of the OpenAPI document: 1.7.5
66
Contact: me@ariesclark.com
77
Generated by: https://openapi-generator.tech
88
"""

vrchatapi/api/economy_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VRChat API Documentation
33
44
5-
The version of the OpenAPI document: 1.7.4
5+
The version of the OpenAPI document: 1.7.5
66
Contact: me@ariesclark.com
77
Generated by: https://openapi-generator.tech
88
"""

vrchatapi/api/favorites_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VRChat API Documentation
33
44
5-
The version of the OpenAPI document: 1.7.4
5+
The version of the OpenAPI document: 1.7.5
66
Contact: me@ariesclark.com
77
Generated by: https://openapi-generator.tech
88
"""

vrchatapi/api/files_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VRChat API Documentation
33
44
5-
The version of the OpenAPI document: 1.7.4
5+
The version of the OpenAPI document: 1.7.5
66
Contact: me@ariesclark.com
77
Generated by: https://openapi-generator.tech
88
"""

vrchatapi/api/friends_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VRChat API Documentation
33
44
5-
The version of the OpenAPI document: 1.7.4
5+
The version of the OpenAPI document: 1.7.5
66
Contact: me@ariesclark.com
77
Generated by: https://openapi-generator.tech
88
"""

0 commit comments

Comments
 (0)