pyEscoAPI 0.0.24__tar.gz → 0.0.26__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: pyEscoAPI
3
- Version: 0.0.24
3
+ Version: 0.0.26
4
4
  Summary: Python client for Esco API (Esco bolsa)
5
5
  Author-email: Codetria <hola@codetria.com>
6
6
  License: MIT License
@@ -1971,3 +1971,25 @@ class EscoAPI:
1971
1971
  request_body={},
1972
1972
  request_method=HTTPMethod.GET
1973
1973
  )
1974
+
1975
+ def get_bancos(self):
1976
+ """
1977
+ Devuelve el listado de bancos cargados en servidor.
1978
+ """
1979
+ self.__pre_connection()
1980
+ return self.__make_request(
1981
+ request_endpoint=f"/get-bancos",
1982
+ request_body={},
1983
+ request_method=HTTPMethod.GET
1984
+ )
1985
+
1986
+ def get_grupo_aranceles_bursatiles(self):
1987
+ """
1988
+ Devuelve el listado de grupos de aranceles bursátiles.
1989
+ """
1990
+ self.__pre_connection()
1991
+ return self.__make_request(
1992
+ request_endpoint="/get-grupo-aranceles-bursatiles",
1993
+ request_body={},
1994
+ request_method=HTTPMethod.GET
1995
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyEscoAPI
3
- Version: 0.0.24
3
+ Version: 0.0.26
4
4
  Summary: Python client for Esco API (Esco bolsa)
5
5
  Author-email: Codetria <hola@codetria.com>
6
6
  License: MIT License
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = 'pyEscoAPI'
7
- version = "0.0.24"
7
+ version = "0.0.26"
8
8
  license = {text = "MIT License"}
9
9
  authors = [
10
10
  { name="Codetria", email="hola@codetria.com" },
@@ -315,4 +315,14 @@ def test_insert_ejecucion_orden(api_client):
315
315
  def test_get_cuentas_bancarias_comitente(api_client):
316
316
  result = api_client.get_cuentas_bancarias_comitente(cuenta="172998")
317
317
  assert isinstance(result, list)
318
- assert "cuit" in result[0]
318
+ assert "cuit" in result[0]
319
+
320
+ def test_get_bancos(api_client):
321
+ result = api_client.get_bancos()
322
+ assert isinstance(result, list)
323
+ assert "codigo" in result[0]
324
+
325
+ def test_get_grupo_aranceles_bursatiles(api_client):
326
+ result = api_client.get_grupo_aranceles_bursatiles()
327
+ assert isinstance(result, list)
328
+ assert "codigo" in result[0]
File without changes
File without changes