vysion 2.1.5__py3-none-any.whl → 2.1.6__py3-none-any.whl

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/client/client.py CHANGED
@@ -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(
vysion/version.py CHANGED
@@ -15,4 +15,4 @@ See the License for the specific language governing permissions and
15
15
  limitations under the License.
16
16
  """
17
17
 
18
- __version__ = "2.1.5"
18
+ __version__ = "2.1.6"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vysion
3
- Version: 2.1.5
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.5](https://pypi.org/project/vysion/)
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
 
@@ -1,6 +1,6 @@
1
1
  vysion/__init__.py,sha256=yxJiM-S29q8GB3PBff9tV70P2nvydd8aKLEprLkXw5o,664
2
2
  vysion/client/__init__.py,sha256=aVHmBuetPdybp7TgcNzUx4HkxTjEuXYzSdDYiYfFQd0,630
3
- vysion/client/client.py,sha256=LShr3t81ACAduxXgdx3_E-qUQTgRcPw7nkGkfulGq00,15112
3
+ vysion/client/client.py,sha256=m2c8RzdQRyQMAPJPFNoqQYzbKpX1IHlGi-UR31BLtqc,16401
4
4
  vysion/client/error.py,sha256=JK0dsZkyMjmxPtEgO5IStG_N_q8y_-VGbppwWrUtSgM,1166
5
5
  vysion/dto/__init__.py,sha256=ct8JxVMfJ0APiOTgr9ju-JIuBlXOrPkx7n2qISSXUts,605
6
6
  vysion/dto/dto.py,sha256=DjHwD2D4NWwdrWDpr_QrUJTLlYFw8BO2KvqjXOzRENM,24464
@@ -15,8 +15,8 @@ vysion/model/enum/services.py,sha256=fUfZEO0RNNctU4Gzae5TV3c7BU5A_cEwaEb1tzqgcr0
15
15
  vysion/taxonomy/__init__.py,sha256=Bc364AYxRCyjIn26-XBPeEDCPe3Hma4r5RAI8R8eblU,635
16
16
  vysion/taxonomy/flavours.py,sha256=ubImHBE8v0zhzFy_2YozAQk2SzN1XDQwHAxb2RebtCo,2347
17
17
  vysion/taxonomy/taxonomy.py,sha256=mG6vHX5Eyp38AKyJBgfBDqdpEmDMbkv8TA8YUBzko54,12227
18
- vysion/version.py,sha256=07qNofHzOerM3xB9l0GbTshi0H1FfP5YEKywklBEHLY,610
19
- vysion-2.1.5.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
20
- vysion-2.1.5.dist-info/METADATA,sha256=d1F9kXJRhkCcs6z72u5iAoOQtkzS4Ol4w2rFEHH4Dfo,1958
21
- vysion-2.1.5.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
22
- vysion-2.1.5.dist-info/RECORD,,
18
+ vysion/version.py,sha256=gVJy-XODDhVoLvSuulwhpwX4iK3m0atDorJtcaI6ST8,610
19
+ vysion-2.1.6.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
20
+ vysion-2.1.6.dist-info/METADATA,sha256=5Bf_5SX194Mf5hUVc1SLxZnaOsiGYei45DITyDGVWKA,1958
21
+ vysion-2.1.6.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
22
+ vysion-2.1.6.dist-info/RECORD,,
File without changes