Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.

Commit f38650a

Browse files
committed
Merge branch 'develop'
2 parents b947114 + 0db611a commit f38650a

Some content is hidden

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

93 files changed

+436
-238
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,5 @@ target/
7474

7575
#credentials
7676
examples/config.json
77+
78+
.env

.idea/.gitignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

.openapi-generator-ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ docs/BulkApi.md
2727
.gitlab-ci.yml
2828
test/*
2929
git_push.sh
30+
.gitignore

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
Please see the [changelog of GraphSense OpenAPI](https://github.com/graphsense/graphsense-openapi/blob/master/CHANGELOG.md) for changes related to the API.
44

5+
## [25.01.1/1.9.1] - 2025-01-20
6+
7+
### Changed
8+
- Update to REST version 24.01.0
9+
### Added
10+
- added tag_type field in tag endpoints, make entity id in tags optional
11+
512
## [24.11.1/1.8.1] - 2024-11-27
613

714
### Added

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
-include .env
2+
13
generate-openapi-client:
24
docker run --rm \
35
-v "${PWD}:/build:Z" \
@@ -10,5 +12,7 @@ generate-openapi-client:
1012
--additional-properties=packageName=graphsense \
1113
--additional-properties=projectName=graphsense-python
1214

15+
run-examples:
16+
API_KEY=$(API_KEY) python test_examples.py
1317

14-
.PHONY: generate-openapi-client
18+
.PHONY: generate-openapi-client run-examples

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ GraphSense API provides programmatic access to various ledgers' addresses, entit
33

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

6-
- API version: 1.8.0
7-
- Package version: 1.8.1
6+
- API version: 1.9.4
7+
- Package version: 1.9.4
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99

1010
## Requirements.

docs/AddressTag.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
99
**tagpack_is_public** | **bool** | whether the address is public |
1010
**tagpack_creator** | **str** | Tagpack creator |
1111
**is_cluster_definer** | **bool** | whether the address tag applies to the entity level |
12+
**tag_type** | **str** | kind of tag e.g. Mention; representing a mention of an address, or Actor; representing an actor saying something about the actor behind the address. |
1213
**currency** | **str** | crypto currency code |
1314
**address** | **str** | Address |
14-
**entity** | **int** | Entity id |
1515
**category** | **str** | Category | [optional]
1616
**concepts** | **[str]** | A list additional concepts/categories | [optional]
1717
**actor** | **str** | id of the actor that controlls the address | [optional]
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
2222
**confidence** | **str** | Confidence name | [optional]
2323
**confidence_level** | **int** | Confidence level | [optional]
2424
**inherited_from** | **str** | if the tag was inherited from cluster | [optional] if omitted the server will use the default value of "cluster"
25+
**entity** | **int** | Entity id | [optional]
2526
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
2627

2728
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/AddressTagAllOf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**address** | **str** | Address |
8-
**entity** | **int** | Entity id |
8+
**entity** | **int** | Entity id | [optional]
99
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
1010

1111
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/AddressesApi.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Get an address
2323
* Api Key Authentication (api_key):
2424
```python
2525
import time
26+
from dateutil.parser import parse as dateutil_parser
2627
import graphsense
2728
from graphsense.api import addresses_api
2829
from graphsense.model.address import Address
@@ -118,6 +119,7 @@ Get the entity of an address
118119
* Api Key Authentication (api_key):
119120
```python
120121
import time
122+
from dateutil.parser import parse as dateutil_parser
121123
import graphsense
122124
from graphsense.api import addresses_api
123125
from graphsense.model.entity import Entity
@@ -213,6 +215,7 @@ Get attribution tag summary for a given address
213215
* Api Key Authentication (api_key):
214216
```python
215217
import time
218+
from dateutil.parser import parse as dateutil_parser
216219
import graphsense
217220
from graphsense.api import addresses_api
218221
from graphsense.model.tag_summary import TagSummary
@@ -308,6 +311,7 @@ Get outgoing transactions between two addresses
308311
* Api Key Authentication (api_key):
309312
```python
310313
import time
314+
from dateutil.parser import parse as dateutil_parser
311315
import graphsense
312316
from graphsense.api import addresses_api
313317
from graphsense.model.height import Height
@@ -414,6 +418,7 @@ Get an address's neighbors in the address graph
414418
* Api Key Authentication (api_key):
415419
```python
416420
import time
421+
from dateutil.parser import parse as dateutil_parser
417422
import graphsense
418423
from graphsense.api import addresses_api
419424
from graphsense.model.neighbor_addresses import NeighborAddresses
@@ -521,6 +526,7 @@ Get all transactions an address has been involved in
521526
* Api Key Authentication (api_key):
522527
```python
523528
import time
529+
from dateutil.parser import parse as dateutil_parser
524530
import graphsense
525531
from graphsense.api import addresses_api
526532
from graphsense.model.height import Height
@@ -629,6 +635,7 @@ Get attribution tags for a given address
629635
* Api Key Authentication (api_key):
630636
```python
631637
import time
638+
from dateutil.parser import parse as dateutil_parser
632639
import graphsense
633640
from graphsense.api import addresses_api
634641
from graphsense.model.address_tags import AddressTags

docs/BlocksApi.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Get a block by its height
1919
* Api Key Authentication (api_key):
2020
```python
2121
import time
22+
from dateutil.parser import parse as dateutil_parser
2223
import graphsense
2324
from graphsense.api import blocks_api
2425
from graphsense.model.block import Block
@@ -104,6 +105,7 @@ Get the closest blocks given a timestamp
104105
* Api Key Authentication (api_key):
105106
```python
106107
import time
108+
from dateutil.parser import parse as dateutil_parser
107109
import graphsense
108110
from dateutil.parser import parse
109111
from graphsense.api import blocks_api
@@ -189,6 +191,7 @@ Get block transactions
189191
* Api Key Authentication (api_key):
190192
```python
191193
import time
194+
from dateutil.parser import parse as dateutil_parser
192195
import graphsense
193196
from graphsense.api import blocks_api
194197
from graphsense.model.tx import Tx

0 commit comments

Comments
 (0)