Skip to content

Commit

Permalink
regenerate from spec 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
myrho committed Nov 20, 2024
1 parent cf3a4af commit 0f4d290
Show file tree
Hide file tree
Showing 74 changed files with 103 additions and 80 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ GraphSense API provides programmatic access to various ledgers' addresses, entit

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.7.0
- Package version: 1.7.0
- API version: 1.8.0
- Package version: 1.8.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down
13 changes: 12 additions & 1 deletion docs/AddressesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ with graphsense.ApiClient(configuration) as api_client:
api_instance = addresses_api.AddressesApi(api_client)
currency = "btc" # str | The cryptocurrency code (e.g., btc)
address = "1Archive1n2C579dMsAu3iC6tWzuQJz8dN" # str | The cryptocurrency address
include_actors = True # bool | Whether to include information about the actor behind the address (optional) if omitted the server will use the default value of True

# example passing only required values which don't have defaults set
try:
Expand All @@ -153,6 +154,15 @@ with graphsense.ApiClient(configuration) as api_client:
pprint(api_response)
except graphsense.ApiException as e:
print("Exception when calling AddressesApi->get_address_entity: %s\n" % e)

# example passing only required values which don't have defaults set
# and optional values
try:
# Get the entity of an address
api_response = api_instance.get_address_entity(currency, address, include_actors=include_actors)
pprint(api_response)
except graphsense.ApiException as e:
print("Exception when calling AddressesApi->get_address_entity: %s\n" % e)
```


Expand All @@ -162,6 +172,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**currency** | **str**| The cryptocurrency code (e.g., btc) |
**address** | **str**| The cryptocurrency address |
**include_actors** | **bool**| Whether to include information about the actor behind the address | [optional] if omitted the server will use the default value of True
**_preload_content** | **bool** | If False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. | [optional] default is True.
**async_req** | **bool** | Execute request asynchronously | [optional] default is False.

Expand Down Expand Up @@ -325,7 +336,7 @@ with graphsense.ApiClient(configuration) as api_client:
api_instance = addresses_api.AddressesApi(api_client)
currency = "btc" # str | The cryptocurrency code (e.g., btc)
address = "1Archive1n2C579dMsAu3iC6tWzuQJz8dN" # str | The cryptocurrency address
neighbor = "1Archive1n2C579dMsAu3iC6tWzuQJz8dN" # str | Neighbor address
neighbor = "1FKCzy3BEtiZDhRDtivp7Y7RVb9edg5BH7" # str | Neighbor address
min_height = Height(1) # Height | Return transactions starting from given height (optional)
max_height = Height(2) # Height | Return transactions up to (including) given height (optional)
order = "desc" # str | Sorting order (optional) if omitted the server will use the default value of "desc"
Expand Down
4 changes: 2 additions & 2 deletions graphsense/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""


__version__ = "1.7.0"
__version__ = "1.8.0"

# import ApiClient
from graphsense.api_client import ApiClient
Expand Down
8 changes: 7 additions & 1 deletion graphsense/api/addresses_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -197,6 +197,7 @@ def __get_address_entity(
address (str): The cryptocurrency address
Keyword Args:
include_actors (bool): Whether to include information about the actor behind the address. [optional] if omitted the server will use the default value of True
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
Expand Down Expand Up @@ -262,6 +263,7 @@ def __get_address_entity(
'all': [
'currency',
'address',
'include_actors',
],
'required': [
'currency',
Expand All @@ -284,14 +286,18 @@ def __get_address_entity(
(str,),
'address':
(str,),
'include_actors':
(bool,),
},
'attribute_map': {
'currency': 'currency',
'address': 'address',
'include_actors': 'include_actors',
},
'location_map': {
'currency': 'path',
'address': 'path',
'include_actors': 'query',
},
'collection_format_map': {
}
Expand Down
2 changes: 1 addition & 1 deletion graphsense/api/blocks_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
8 changes: 7 additions & 1 deletion graphsense/api/bulk_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -168,7 +168,10 @@ def __bulk_csv(
"LIST_ENTITY_LINKS": "list_entity_links",
"LIST_ENTITY_ADDRESSES": "list_entity_addresses",
"GET_TX": "get_tx",
"LIST_TOKEN_TXS": "list_token_txs",
"GET_TX_IO": "get_tx_io",
"GET_SPENT_IN_TXS": "get_spent_in_txs",
"GET_SPENDING_TXS": "get_spending_txs",
"GET_EXCHANGE_RATES": "get_exchange_rates"
},
},
Expand Down Expand Up @@ -340,7 +343,10 @@ def __bulk_json(
"LIST_ENTITY_LINKS": "list_entity_links",
"LIST_ENTITY_ADDRESSES": "list_entity_addresses",
"GET_TX": "get_tx",
"LIST_TOKEN_TXS": "list_token_txs",
"GET_TX_IO": "get_tx_io",
"GET_SPENT_IN_TXS": "get_spent_in_txs",
"GET_SPENDING_TXS": "get_spending_txs",
"GET_EXCHANGE_RATES": "get_exchange_rates"
},
},
Expand Down
2 changes: 1 addition & 1 deletion graphsense/api/entities_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/api/general_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/api/rates_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/api/tags_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/api/tokens_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/api/txs_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
4 changes: 2 additions & 2 deletions graphsense/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/1.7.0/python'
self.user_agent = 'OpenAPI-Generator/1.8.0/python'

def __enter__(self):
return self
Expand Down
6 changes: 3 additions & 3 deletions graphsense/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down Expand Up @@ -406,8 +406,8 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1.7.0\n"\
"SDK Package Version: 1.7.0".\
"Version of the API: 1.8.0\n"\
"SDK Package Version: 1.8.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion graphsense/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/actor_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/actors.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/address.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/address_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/address_tag_all_of.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/address_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/address_tx.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/address_tx_utxo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/address_txs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/block.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/block_at_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/concept.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/currency_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
2 changes: 1 addition & 1 deletion graphsense/model/entity_addresses.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GraphSense API provides programmatic access to various ledgers' addresses, entities, blocks, transactions and tags for automated and highly efficient forensics tasks. # noqa: E501
The version of the OpenAPI document: 1.7.0
The version of the OpenAPI document: 1.8.0
Contact: [email protected]
Generated by: https://openapi-generator.tech
"""
Expand Down
Loading

0 comments on commit 0f4d290

Please sign in to comment.