vysion 1.0.13__tar.gz → 1.0.14__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vysion
3
- Version: 1.0.13
3
+ Version: 1.0.14
4
4
  Summary: The official Python client library for Vysion
5
5
  Home-page: https://vysion.ai
6
6
  License: Apache-2.0
@@ -25,11 +25,11 @@ Description-Content-Type: text/markdown
25
25
 
26
26
  # Vysion-PY
27
27
 
28
- Welcome to the PyPi webpage for Vysion, our implementation as a Python library to use the Vysion tool Vysion is a dark web intelligence tool that provides information collected from web pages from Tor, I2P, cybercrime forums on the clearnet, etc. Vysion API also provides a feed of information on ransomware attacks published by the various ransomware groups currently active.
28
+ Welcome to the PyPi webpage for Vysion, our implementation as a Python library to use the Vysion tool. Vysion is a dark web intelligence tool that provides information collected from web pages from Tor, I2P, cybercrime forums on the clearnet, etc. Vysion API also provides a feed of information on ransomware attacks published by the various ransomware groups currently active.
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: [1.0.13](https://pypi.org/project/vysion/)
32
+ Latest version: [1.0.14](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,10 +1,10 @@
1
1
  # Vysion-PY
2
2
 
3
- Welcome to the PyPi webpage for Vysion, our implementation as a Python library to use the Vysion tool Vysion is a dark web intelligence tool that provides information collected from web pages from Tor, I2P, cybercrime forums on the clearnet, etc. Vysion API also provides a feed of information on ransomware attacks published by the various ransomware groups currently active.
3
+ Welcome to the PyPi webpage for Vysion, our implementation as a Python library to use the Vysion tool. Vysion is a dark web intelligence tool that provides information collected from web pages from Tor, I2P, cybercrime forums on the clearnet, etc. Vysion API also provides a feed of information on ransomware attacks published by the various ransomware groups currently active.
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: [1.0.13](https://pypi.org/project/vysion/)
7
+ Latest version: [1.0.14](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
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "vysion"
3
- version = "1.0.13"
3
+ version = "1.0.14"
4
4
  description = "The official Python client library for Vysion"
5
5
  homepage = "https://vysion.ai"
6
6
  repository = "https://gitlab.com/byronlabs/vysion/vysion-py"
@@ -85,7 +85,7 @@ class BaseClient:
85
85
  api_host = os.getenv("API_HOST")
86
86
 
87
87
  else:
88
- api_host = "https://api.vysion.ai"
88
+ api_host = "https://api-stage.vysion.ai"
89
89
 
90
90
  return api_host
91
91
 
@@ -205,6 +205,28 @@ class Client(BaseClient):
205
205
 
206
206
  result = self._make_request(url)
207
207
  return result.data
208
+
209
+ @vysion_error_manager
210
+ def search_telegram(
211
+ self,
212
+ query: str,
213
+ username: str = None,
214
+ page: int = 1,
215
+ lte: datetime = None,
216
+ gte: datetime = None,
217
+ ) -> dto.Result:
218
+
219
+ url = self._build_api_url__(
220
+ "search-telegram",
221
+ query,
222
+ username=username,
223
+ page=page,
224
+ lte=lte,
225
+ gte=gte,
226
+ )
227
+
228
+ result = self._make_request(url)
229
+ return result.data
208
230
 
209
231
  @vysion_error_manager
210
232
  def fuzzy_search(
@@ -334,6 +356,30 @@ class Client(BaseClient):
334
356
 
335
357
  result = self._make_request(url)
336
358
  return result.data
359
+
360
+ @vysion_error_manager
361
+ def get_chat_telegram(
362
+ self,
363
+ channelId: str,
364
+ lte:datetime = None,
365
+ gte: datetime = None,
366
+ ) -> dto.Result:
367
+
368
+ url = self._build_api_url__("telegram/chat", channelId, lte=lte, gte=gte)
369
+
370
+ result = self._make_request(url)
371
+ return result.data
372
+
373
+ @vysion_error_manager
374
+ def get_message_telegram(
375
+ self,
376
+ id: str,
377
+ ) -> dto.Result:
378
+
379
+ url = self._build_api_url__("telegram/message", id)
380
+
381
+ result = self._make_request(url)
382
+ return result.data
337
383
 
338
384
  # FEEDS
339
385
  @vysion_error_manager
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