Skip to content

Commit 85c4127

Browse files
committed
1 parent cfa332e commit 85c4127

14 files changed

Lines changed: 36 additions & 32 deletions

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## [2.0.1] - 2024-05-29
4+
5+
- Documentation fixes
6+
37
## [2.0.0] - 2024-05-29
48

59
- Updated URLR API version to 1.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# urlr@2.0.0
1+
# urlr@2.0.1
22

33
![PyPI - Version](https://img.shields.io/pypi/v/urlr) ![PyPI - Downloads](https://img.shields.io/pypi/dm/urlr) ![PyPI - License](https://img.shields.io/pypi/l/urlr)
44

55
This SDK is automatically generated with the [OpenAPI Generator](https://openapi-generator.tech) project.
66

77
- API version: 1.0
8-
- Package version: 2.0.0
8+
- Package version: 2.0.1
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

1111
For more information, please visit [https://urlr.me/en](https://urlr.me/en)

docs/AccessTokensApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ configuration = urlr.Configuration(
3434
with urlr.ApiClient(configuration) as api_client:
3535
# Create an instance of the API class
3636
api_instance = urlr.AccessTokensApi(api_client)
37-
create_access_token_request = urlr.CreateAccessTokenRequest() # CreateAccessTokenRequest | Your credentials (optional)
37+
create_access_token_request = urlr.CreateAccessTokenRequest() # CreateAccessTokenRequest | You can use this endpoint to get an access token to access the API. (optional)
3838

3939
try:
4040
# Get an access token
@@ -52,7 +52,7 @@ with urlr.ApiClient(configuration) as api_client:
5252

5353
Name | Type | Description | Notes
5454
------------- | ------------- | ------------- | -------------
55-
**create_access_token_request** | [**CreateAccessTokenRequest**](CreateAccessTokenRequest.md)| Your credentials | [optional]
55+
**create_access_token_request** | [**CreateAccessTokenRequest**](CreateAccessTokenRequest.md)| You can use this endpoint to get an access token to access the API. | [optional]
5656

5757
### Return type
5858

@@ -102,7 +102,7 @@ configuration = urlr.Configuration(
102102
with urlr.ApiClient(configuration) as api_client:
103103
# Create an instance of the API class
104104
api_instance = urlr.AccessTokensApi(api_client)
105-
refresh_access_token_request = urlr.RefreshAccessTokenRequest() # RefreshAccessTokenRequest | Your credentials (optional)
105+
refresh_access_token_request = urlr.RefreshAccessTokenRequest() # RefreshAccessTokenRequest | You can use this endpoint to refresh your access token without credentials. (optional)
106106

107107
try:
108108
# Refresh an access token
@@ -120,7 +120,7 @@ with urlr.ApiClient(configuration) as api_client:
120120

121121
Name | Type | Description | Notes
122122
------------- | ------------- | ------------- | -------------
123-
**refresh_access_token_request** | [**RefreshAccessTokenRequest**](RefreshAccessTokenRequest.md)| Your credentials | [optional]
123+
**refresh_access_token_request** | [**RefreshAccessTokenRequest**](RefreshAccessTokenRequest.md)| You can use this endpoint to refresh your access token without credentials. | [optional]
124124

125125
### Return type
126126

docs/CreateLink201Response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**url** | **str** | Original URL | [optional]
1010
**team** | **str** | Team API ID | [optional]
1111
**folder_id** | **str** | Folder API ID | [optional]
12-
**domain_id** | **str** | Domain | [optional]
12+
**domain** | **str** | Domain | [optional]
1313
**code** | **str** | Short code | [optional]
1414
**label** | **str** | Label | [optional]
1515
**created_at** | **datetime** | Creation date | [optional]

docs/GetStatisticsRequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**link_id** | **str** | Link API ID | [optional]
9-
**var_from** | **datetime** | Get stats from this date | [optional]
10-
**to** | **datetime** | Get stats until this date | [optional]
9+
**var_from** | **datetime** | Get statistics from this date | [optional]
10+
**to** | **datetime** | Get statistics until this date | [optional]
1111
**include_bots** | **bool** | Whether include bots or not in statistics | [optional] [default to False]
1212

1313
## Example

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "urlr"
3-
version = "2.0.0"
3+
version = "2.0.1"
44
description = "Python client for URLR"
55
authors = ["URLR <contact@urlr.me>"]
66
license = "MIT"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# prerequisite: setuptools
2323
# http://pypi.python.org/pypi/setuptools
2424
NAME = "urlr"
25-
VERSION = "2.0.0"
25+
VERSION = "2.0.1"
2626
PYTHON_REQUIRES = ">=3.7"
2727
REQUIRES = [
2828
"urllib3 >= 1.25.3, < 2.1.0",

test/test_create_link201_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def make_instance(self, include_optional) -> CreateLink201Response:
4040
url = '',
4141
team = '',
4242
folder_id = '',
43-
domain_id = 'urlr.me',
43+
domain = 'urlr.me',
4444
code = 'xxxxx',
4545
label = '',
4646
created_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),

urlr/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
""" # noqa: E501
1616

1717

18-
__version__ = "2.0.0"
18+
__version__ = "2.0.1"
1919

2020
# import apis into sdk package
2121
from urlr.api.access_tokens_api import AccessTokensApi

urlr/api/access_tokens_api.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(self, api_client=None) -> None:
4545
@validate_call
4646
def create_access_token(
4747
self,
48-
create_access_token_request: Annotated[Optional[CreateAccessTokenRequest], Field(description="Your credentials")] = None,
48+
create_access_token_request: Annotated[Optional[CreateAccessTokenRequest], Field(description="You can use this endpoint to get an access token to access the API.")] = None,
4949
_request_timeout: Union[
5050
None,
5151
Annotated[StrictFloat, Field(gt=0)],
@@ -62,7 +62,7 @@ def create_access_token(
6262
"""Get an access token
6363
6464
65-
:param create_access_token_request: Your credentials
65+
:param create_access_token_request: You can use this endpoint to get an access token to access the API.
6666
:type create_access_token_request: CreateAccessTokenRequest
6767
:param _request_timeout: timeout setting for this request. If one
6868
number provided, it will be total request
@@ -112,7 +112,7 @@ def create_access_token(
112112
@validate_call
113113
def create_access_token_with_http_info(
114114
self,
115-
create_access_token_request: Annotated[Optional[CreateAccessTokenRequest], Field(description="Your credentials")] = None,
115+
create_access_token_request: Annotated[Optional[CreateAccessTokenRequest], Field(description="You can use this endpoint to get an access token to access the API.")] = None,
116116
_request_timeout: Union[
117117
None,
118118
Annotated[StrictFloat, Field(gt=0)],
@@ -129,7 +129,7 @@ def create_access_token_with_http_info(
129129
"""Get an access token
130130
131131
132-
:param create_access_token_request: Your credentials
132+
:param create_access_token_request: You can use this endpoint to get an access token to access the API.
133133
:type create_access_token_request: CreateAccessTokenRequest
134134
:param _request_timeout: timeout setting for this request. If one
135135
number provided, it will be total request
@@ -179,7 +179,7 @@ def create_access_token_with_http_info(
179179
@validate_call
180180
def create_access_token_without_preload_content(
181181
self,
182-
create_access_token_request: Annotated[Optional[CreateAccessTokenRequest], Field(description="Your credentials")] = None,
182+
create_access_token_request: Annotated[Optional[CreateAccessTokenRequest], Field(description="You can use this endpoint to get an access token to access the API.")] = None,
183183
_request_timeout: Union[
184184
None,
185185
Annotated[StrictFloat, Field(gt=0)],
@@ -196,7 +196,7 @@ def create_access_token_without_preload_content(
196196
"""Get an access token
197197
198198
199-
:param create_access_token_request: Your credentials
199+
:param create_access_token_request: You can use this endpoint to get an access token to access the API.
200200
:type create_access_token_request: CreateAccessTokenRequest
201201
:param _request_timeout: timeout setting for this request. If one
202202
number provided, it will be total request
@@ -315,7 +315,7 @@ def _create_access_token_serialize(
315315
@validate_call
316316
def refresh_access_token(
317317
self,
318-
refresh_access_token_request: Annotated[Optional[RefreshAccessTokenRequest], Field(description="Your credentials")] = None,
318+
refresh_access_token_request: Annotated[Optional[RefreshAccessTokenRequest], Field(description="You can use this endpoint to refresh your access token without credentials.")] = None,
319319
_request_timeout: Union[
320320
None,
321321
Annotated[StrictFloat, Field(gt=0)],
@@ -332,7 +332,7 @@ def refresh_access_token(
332332
"""Refresh an access token
333333
334334
335-
:param refresh_access_token_request: Your credentials
335+
:param refresh_access_token_request: You can use this endpoint to refresh your access token without credentials.
336336
:type refresh_access_token_request: RefreshAccessTokenRequest
337337
:param _request_timeout: timeout setting for this request. If one
338338
number provided, it will be total request
@@ -382,7 +382,7 @@ def refresh_access_token(
382382
@validate_call
383383
def refresh_access_token_with_http_info(
384384
self,
385-
refresh_access_token_request: Annotated[Optional[RefreshAccessTokenRequest], Field(description="Your credentials")] = None,
385+
refresh_access_token_request: Annotated[Optional[RefreshAccessTokenRequest], Field(description="You can use this endpoint to refresh your access token without credentials.")] = None,
386386
_request_timeout: Union[
387387
None,
388388
Annotated[StrictFloat, Field(gt=0)],
@@ -399,7 +399,7 @@ def refresh_access_token_with_http_info(
399399
"""Refresh an access token
400400
401401
402-
:param refresh_access_token_request: Your credentials
402+
:param refresh_access_token_request: You can use this endpoint to refresh your access token without credentials.
403403
:type refresh_access_token_request: RefreshAccessTokenRequest
404404
:param _request_timeout: timeout setting for this request. If one
405405
number provided, it will be total request
@@ -449,7 +449,7 @@ def refresh_access_token_with_http_info(
449449
@validate_call
450450
def refresh_access_token_without_preload_content(
451451
self,
452-
refresh_access_token_request: Annotated[Optional[RefreshAccessTokenRequest], Field(description="Your credentials")] = None,
452+
refresh_access_token_request: Annotated[Optional[RefreshAccessTokenRequest], Field(description="You can use this endpoint to refresh your access token without credentials.")] = None,
453453
_request_timeout: Union[
454454
None,
455455
Annotated[StrictFloat, Field(gt=0)],
@@ -466,7 +466,7 @@ def refresh_access_token_without_preload_content(
466466
"""Refresh an access token
467467
468468
469-
:param refresh_access_token_request: Your credentials
469+
:param refresh_access_token_request: You can use this endpoint to refresh your access token without credentials.
470470
:type refresh_access_token_request: RefreshAccessTokenRequest
471471
:param _request_timeout: timeout setting for this request. If one
472472
number provided, it will be total request

0 commit comments

Comments
 (0)