vysion 2.1.5__tar.gz → 2.1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vysion-2.1.5 → vysion-2.1.6}/PKG-INFO +2 -2
- {vysion-2.1.5 → vysion-2.1.6}/README.md +1 -1
- {vysion-2.1.5 → vysion-2.1.6}/pyproject.toml +1 -1
- {vysion-2.1.5 → vysion-2.1.6}/vysion/client/client.py +49 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/version.py +1 -1
- {vysion-2.1.5 → vysion-2.1.6}/LICENSE +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/__init__.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/client/__init__.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/client/error.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/dto/__init__.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/dto/dto.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/dto/tag.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/dto/util.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/model/__init__.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/model/enum/__init__.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/model/enum/languages.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/model/enum/networks.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/model/enum/ransom_groups.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/model/enum/services.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/taxonomy/__init__.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/taxonomy/flavours.py +0 -0
- {vysion-2.1.5 → vysion-2.1.6}/vysion/taxonomy/taxonomy.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: vysion
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.6
|
|
4
4
|
Summary: The official Python client library for Vysion
|
|
5
5
|
Home-page: https://vysion.ai
|
|
6
6
|
License: Apache-2.0
|
|
@@ -29,7 +29,7 @@ Welcome to the PyPi webpage for Vysion, our implementation as a Python library t
|
|
|
29
29
|
|
|
30
30
|
You can request a demo for the web app or an API-key to use in this library at [vysion.ai](https://vysion.ai).
|
|
31
31
|
|
|
32
|
-
Latest version: [2.1.
|
|
32
|
+
Latest version: [2.1.6](https://pypi.org/project/vysion/)
|
|
33
33
|
|
|
34
34
|
You can visit [the documentation](https://developers.vysion.ai/?python) for more information on the searches and requests performed with the library or directly on the API.
|
|
35
35
|
|
|
@@ -4,7 +4,7 @@ Welcome to the PyPi webpage for Vysion, our implementation as a Python library t
|
|
|
4
4
|
|
|
5
5
|
You can request a demo for the web app or an API-key to use in this library at [vysion.ai](https://vysion.ai).
|
|
6
6
|
|
|
7
|
-
Latest version: [2.1.
|
|
7
|
+
Latest version: [2.1.6](https://pypi.org/project/vysion/)
|
|
8
8
|
|
|
9
9
|
You can visit [the documentation](https://developers.vysion.ai/?python) for more information on the searches and requests performed with the library or directly on the API.
|
|
10
10
|
|
|
@@ -414,9 +414,58 @@ class Client(BaseClient):
|
|
|
414
414
|
page_size=page_size,
|
|
415
415
|
username=username,
|
|
416
416
|
)
|
|
417
|
+
print(url)
|
|
417
418
|
|
|
418
419
|
result = VysionResponse[ImMessageHit].model_validate(self._make_request(url))
|
|
419
420
|
return result.data
|
|
421
|
+
|
|
422
|
+
@vysion_error_manager
|
|
423
|
+
def search_im_profiles(
|
|
424
|
+
self,
|
|
425
|
+
platform: str = None,
|
|
426
|
+
q: str = None,
|
|
427
|
+
gte: datetime = None,
|
|
428
|
+
lte: datetime = None,
|
|
429
|
+
page: int = 1,
|
|
430
|
+
page_size: int = 10,
|
|
431
|
+
) -> VysionResponse[ImProfileHit]:
|
|
432
|
+
url = self._build_api_url__(
|
|
433
|
+
"im/search/profiles",
|
|
434
|
+
platform=platform,
|
|
435
|
+
q=q,
|
|
436
|
+
gte=gte,
|
|
437
|
+
lte=lte,
|
|
438
|
+
page=page,
|
|
439
|
+
page_size=page_size,
|
|
440
|
+
)
|
|
441
|
+
print(url)
|
|
442
|
+
|
|
443
|
+
result = VysionResponse[ImProfileHit].model_validate(self._make_request(url))
|
|
444
|
+
return result.data
|
|
445
|
+
|
|
446
|
+
@vysion_error_manager
|
|
447
|
+
def search_im_channels(
|
|
448
|
+
self,
|
|
449
|
+
platform: str = None,
|
|
450
|
+
q: str = None,
|
|
451
|
+
gte: datetime = None,
|
|
452
|
+
lte: datetime = None,
|
|
453
|
+
page: int = 1,
|
|
454
|
+
page_size: int = 10,
|
|
455
|
+
) -> VysionResponse[ImChannelHit]:
|
|
456
|
+
url = self._build_api_url__(
|
|
457
|
+
"im/search/channels",
|
|
458
|
+
platform=platform,
|
|
459
|
+
q=q,
|
|
460
|
+
gte=gte,
|
|
461
|
+
lte=lte,
|
|
462
|
+
page=page,
|
|
463
|
+
page_size=page_size,
|
|
464
|
+
)
|
|
465
|
+
print(url)
|
|
466
|
+
|
|
467
|
+
result = VysionResponse[ImChannelHit].model_validate(self._make_request(url))
|
|
468
|
+
return result.data
|
|
420
469
|
|
|
421
470
|
@vysion_error_manager
|
|
422
471
|
def im_find_email(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|