Skip to content

Commit f09dca0

Browse files
committed
Upgrade Python SDK to spec 1.20.8.dev1
1 parent fec2640 commit f09dca0

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

docs/MiscellaneousApi.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ IPS (Info Push System) is a system for VRChat to push out dynamic information to
333333

334334
### Example
335335

336+
* Api Key Authentication (authCookie):
336337
```python
337338
from __future__ import print_function
338339
import time
@@ -345,9 +346,19 @@ configuration = vrchatapi.Configuration(
345346
host = "https://api.vrchat.cloud/api/1"
346347
)
347348

349+
# The client must configure the authentication and authorization parameters
350+
# in accordance with the API server security policy.
351+
# Examples for each auth method are provided below, use the example that
352+
# satisfies your auth use case.
353+
354+
# Configure API key authorization: authCookie
355+
configuration.api_key['authCookie'] = 'YOUR_API_KEY'
356+
357+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
358+
# configuration.api_key_prefix['authCookie'] = 'Bearer'
348359

349360
# Enter a context with an instance of the API client
350-
with vrchatapi.ApiClient() as api_client:
361+
with vrchatapi.ApiClient(configuration) as api_client:
351362
# Create an instance of the API class
352363
api_instance = vrchatapi.MiscellaneousApi(api_client)
353364
require = 'require_example' # str | Tags to include (comma-separated). All of the tags needs to be present. (optional)
@@ -374,7 +385,7 @@ Name | Type | Description | Notes
374385

375386
### Authorization
376387

377-
No authorization required
388+
[authCookie](../README.md#authCookie)
378389

379390
### HTTP request headers
380391

docs/WorldsApi.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -829,7 +829,6 @@ Return a worlds custom metadata. This is currently believed to be unused. Metada
829829

830830
### Example
831831

832-
* Api Key Authentication (authCookie):
833832
```python
834833
from __future__ import print_function
835834
import time
@@ -842,19 +841,9 @@ configuration = vrchatapi.Configuration(
842841
host = "https://api.vrchat.cloud/api/1"
843842
)
844843

845-
# The client must configure the authentication and authorization parameters
846-
# in accordance with the API server security policy.
847-
# Examples for each auth method are provided below, use the example that
848-
# satisfies your auth use case.
849-
850-
# Configure API key authorization: authCookie
851-
configuration.api_key['authCookie'] = 'YOUR_API_KEY'
852-
853-
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
854-
# configuration.api_key_prefix['authCookie'] = 'Bearer'
855844

856845
# Enter a context with an instance of the API client
857-
with vrchatapi.ApiClient(configuration) as api_client:
846+
with vrchatapi.ApiClient() as api_client:
858847
# Create an instance of the API class
859848
api_instance = vrchatapi.WorldsApi(api_client)
860849
world_id = 'world_id_example' # str | Must be a valid world ID.
@@ -879,7 +868,7 @@ Name | Type | Description | Notes
879868

880869
### Authorization
881870

882-
[authCookie](../README.md#authCookie)
871+
No authorization required
883872

884873
### HTTP request headers
885874

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
from setuptools import setup, find_packages # noqa: H301
9393

9494
NAME = "vrchatapi"
95-
VERSION = "1.20.7"
95+
VERSION = "1.20.8.dev1"
9696
# To install the library, run the following
9797
#
9898
# python setup.py install

vrchatapi/api/miscellaneous_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ def get_info_push_with_http_info(self, **kwargs): # noqa: E501
811811
['application/json']) # noqa: E501
812812

813813
# Authentication setting
814-
auth_settings = [] # noqa: E501
814+
auth_settings = ['authCookie'] # noqa: E501
815815

816816
response_types_map = {
817817
200: "list[InfoPush]",

vrchatapi/api/worlds_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,7 @@ def get_world_metadata_with_http_info(self, world_id, **kwargs): # noqa: E501
18351835
['application/json']) # noqa: E501
18361836

18371837
# Authentication setting
1838-
auth_settings = ['authCookie'] # noqa: E501
1838+
auth_settings = [] # noqa: E501
18391839

18401840
response_types_map = {
18411841
200: "WorldMetadata",

0 commit comments

Comments
 (0)