-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
150 changed files
with
219 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"dependencies": { | ||
"@openapitools/openapi-generator-cli": "^2.9.0" | ||
"@openapitools/openapi-generator-cli": "^2.13.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,8 @@ | |
# Enter a context with an instance of the API client | ||
with vrchatapi.ApiClient(configuration) as api_client: | ||
# Set our User-Agent as per VRChat Usage Policy | ||
api_client.user_agent = "MyProject/1.0 [email protected]" | ||
# Instantiate instances of API classes | ||
auth_api = authentication_api.AuthenticationApi(api_client) | ||
|
@@ -73,15 +75,15 @@ | |
print("Logged in as:", current_user.display_name) | ||
``` | ||
See [example.py](https://github.com/vrchatapi/vrchatapi-python/blob/main/example.py) for more example usage on getting started. | ||
See [Examples](https://github.com/vrchatapi/vrchatapi-python/blob/main/examples/README.md) for more example usage on getting started. | ||
## Contributing | ||
Contributions are welcome, but do not add features that should be handled by the OpenAPI specification. | ||
Join the [Discord server](https://discord.gg/Ge2APMhPfD) to get in touch with us. | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -90,7 +92,7 @@ | |
from setuptools import setup, find_packages # noqa: H301 | ||
|
||
NAME = "vrchatapi" | ||
VERSION = "1.16.6" | ||
VERSION = "1.16.7" | ||
# To install the library, run the following | ||
# | ||
# python setup.py install | ||
|
@@ -160,6 +162,8 @@ | |
# Enter a context with an instance of the API client | ||
with vrchatapi.ApiClient(configuration) as api_client: | ||
# Set our User-Agent as per VRChat Usage Policy | ||
api_client.user_agent = "MyProject/1.0 [email protected]" | ||
# Instantiate instances of API classes | ||
auth_api = authentication_api.AuthenticationApi(api_client) | ||
|
@@ -184,7 +188,7 @@ | |
print("Logged in as:", current_user.display_name) | ||
``` | ||
See [example.py](https://github.com/vrchatapi/vrchatapi-python/blob/main/example.py) for more example usage on getting started. | ||
See [Examples](https://github.com/vrchatapi/vrchatapi-python/blob/main/examples/README.md) for more example usage on getting started. | ||
## Contributing | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
VRChat API Documentation | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
VRChat API Documentation | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
VRChat API Documentation | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
VRChat API Documentation | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
VRChat API Documentation | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
VRChat API Documentation | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
VRChat API Documentation | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
VRChat API Documentation | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
@@ -3089,6 +3089,10 @@ def get_group_invites(self, group_id, **kwargs): # noqa: E501 | |
:param group_id: Must be a valid group ID. (required) | ||
:type group_id: str | ||
:param n: The number of objects to return. | ||
:type n: int | ||
:param offset: A zero-based offset from the default object sorting from where search results start. | ||
:type offset: int | ||
:param async_req: Whether to execute the request asynchronously. | ||
:type async_req: bool, optional | ||
:param _preload_content: if False, the urllib3.HTTPResponse object will | ||
|
@@ -3119,6 +3123,10 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 | |
:param group_id: Must be a valid group ID. (required) | ||
:type group_id: str | ||
:param n: The number of objects to return. | ||
:type n: int | ||
:param offset: A zero-based offset from the default object sorting from where search results start. | ||
:type offset: int | ||
:param async_req: Whether to execute the request asynchronously. | ||
:type async_req: bool, optional | ||
:param _return_http_data_only: response data without head status code | ||
|
@@ -3146,7 +3154,9 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 | |
local_var_params = locals() | ||
|
||
all_params = [ | ||
'group_id' | ||
'group_id', | ||
'n', | ||
'offset' | ||
] | ||
all_params.extend( | ||
[ | ||
|
@@ -3172,13 +3182,23 @@ def get_group_invites_with_http_info(self, group_id, **kwargs): # noqa: E501 | |
if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 | ||
raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_invites`") # noqa: E501 | ||
|
||
if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 | ||
raise ApiValueError("Invalid value for parameter `n` when calling `get_group_invites`, must be a value less than or equal to `100`") # noqa: E501 | ||
if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 | ||
raise ApiValueError("Invalid value for parameter `n` when calling `get_group_invites`, must be a value greater than or equal to `1`") # noqa: E501 | ||
if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 | ||
raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_invites`, must be a value greater than or equal to `0`") # noqa: E501 | ||
collection_formats = {} | ||
|
||
path_params = {} | ||
if 'group_id' in local_var_params: | ||
path_params['groupId'] = local_var_params['group_id'] # noqa: E501 | ||
|
||
query_params = [] | ||
if local_var_params.get('n') is not None: # noqa: E501 | ||
query_params.append(('n', local_var_params['n'])) # noqa: E501 | ||
if local_var_params.get('offset') is not None: # noqa: E501 | ||
query_params.append(('offset', local_var_params['offset'])) # noqa: E501 | ||
|
||
header_params = dict(local_var_params.get('_headers', {})) | ||
|
||
|
@@ -3685,6 +3705,10 @@ def get_group_requests(self, group_id, **kwargs): # noqa: E501 | |
:param group_id: Must be a valid group ID. (required) | ||
:type group_id: str | ||
:param n: The number of objects to return. | ||
:type n: int | ||
:param offset: A zero-based offset from the default object sorting from where search results start. | ||
:type offset: int | ||
:param async_req: Whether to execute the request asynchronously. | ||
:type async_req: bool, optional | ||
:param _preload_content: if False, the urllib3.HTTPResponse object will | ||
|
@@ -3715,6 +3739,10 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 | |
:param group_id: Must be a valid group ID. (required) | ||
:type group_id: str | ||
:param n: The number of objects to return. | ||
:type n: int | ||
:param offset: A zero-based offset from the default object sorting from where search results start. | ||
:type offset: int | ||
:param async_req: Whether to execute the request asynchronously. | ||
:type async_req: bool, optional | ||
:param _return_http_data_only: response data without head status code | ||
|
@@ -3742,7 +3770,9 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 | |
local_var_params = locals() | ||
|
||
all_params = [ | ||
'group_id' | ||
'group_id', | ||
'n', | ||
'offset' | ||
] | ||
all_params.extend( | ||
[ | ||
|
@@ -3768,13 +3798,23 @@ def get_group_requests_with_http_info(self, group_id, **kwargs): # noqa: E501 | |
if self.api_client.client_side_validation and local_var_params.get('group_id') is None: # noqa: E501 | ||
raise ApiValueError("Missing the required parameter `group_id` when calling `get_group_requests`") # noqa: E501 | ||
|
||
if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] > 100: # noqa: E501 | ||
raise ApiValueError("Invalid value for parameter `n` when calling `get_group_requests`, must be a value less than or equal to `100`") # noqa: E501 | ||
if self.api_client.client_side_validation and 'n' in local_var_params and local_var_params['n'] < 1: # noqa: E501 | ||
raise ApiValueError("Invalid value for parameter `n` when calling `get_group_requests`, must be a value greater than or equal to `1`") # noqa: E501 | ||
if self.api_client.client_side_validation and 'offset' in local_var_params and local_var_params['offset'] < 0: # noqa: E501 | ||
raise ApiValueError("Invalid value for parameter `offset` when calling `get_group_requests`, must be a value greater than or equal to `0`") # noqa: E501 | ||
collection_formats = {} | ||
|
||
path_params = {} | ||
if 'group_id' in local_var_params: | ||
path_params['groupId'] = local_var_params['group_id'] # noqa: E501 | ||
|
||
query_params = [] | ||
if local_var_params.get('n') is not None: # noqa: E501 | ||
query_params.append(('n', local_var_params['n'])) # noqa: E501 | ||
if local_var_params.get('offset') is not None: # noqa: E501 | ||
query_params.append(('offset', local_var_params['offset'])) # noqa: E501 | ||
|
||
header_params = dict(local_var_params.get('_headers', {})) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
VRChat API Documentation | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
VRChat API Documentation | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
VRChat API Documentation | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
VRChat API Documentation | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
VRChat API Documentation | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
VRChat API Documentation | ||
The version of the OpenAPI document: 1.16.6 | ||
The version of the OpenAPI document: 1.16.7 | ||
Contact: [email protected] | ||
Generated by: https://openapi-generator.tech | ||
""" | ||
|
Oops, something went wrong.