pyEscoAPI 0.0.9__tar.gz → 0.0.10__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.
- {pyescoapi-0.0.9 → pyescoapi-0.0.10}/PKG-INFO +1 -1
- {pyescoapi-0.0.9 → pyescoapi-0.0.10}/pyEscoAPI/esco_api.py +11 -0
- {pyescoapi-0.0.9 → pyescoapi-0.0.10}/pyEscoAPI.egg-info/PKG-INFO +1 -1
- {pyescoapi-0.0.9 → pyescoapi-0.0.10}/pyproject.toml +1 -1
- {pyescoapi-0.0.9 → pyescoapi-0.0.10}/tests/test_client.py +7 -0
- {pyescoapi-0.0.9 → pyescoapi-0.0.10}/README.md +0 -0
- {pyescoapi-0.0.9 → pyescoapi-0.0.10}/pyEscoAPI/__init__.py +0 -0
- {pyescoapi-0.0.9 → pyescoapi-0.0.10}/pyEscoAPI/dataclasses.py +0 -0
- {pyescoapi-0.0.9 → pyescoapi-0.0.10}/pyEscoAPI/exception.py +0 -0
- {pyescoapi-0.0.9 → pyescoapi-0.0.10}/pyEscoAPI.egg-info/SOURCES.txt +0 -0
- {pyescoapi-0.0.9 → pyescoapi-0.0.10}/pyEscoAPI.egg-info/dependency_links.txt +0 -0
- {pyescoapi-0.0.9 → pyescoapi-0.0.10}/pyEscoAPI.egg-info/requires.txt +0 -0
- {pyescoapi-0.0.9 → pyescoapi-0.0.10}/pyEscoAPI.egg-info/top_level.txt +0 -0
- {pyescoapi-0.0.9 → pyescoapi-0.0.10}/setup.cfg +0 -0
|
@@ -507,6 +507,17 @@ class EscoAPI:
|
|
|
507
507
|
request_method=HTTPMethod.POST
|
|
508
508
|
)
|
|
509
509
|
|
|
510
|
+
def get_cotizaciones_monedas(self):
|
|
511
|
+
"""
|
|
512
|
+
Devuelve la cotización de cada moneda.
|
|
513
|
+
"""
|
|
514
|
+
self.__pre_connection()
|
|
515
|
+
return self.__make_request(
|
|
516
|
+
request_endpoint="/get-cotizaciones-monedas",
|
|
517
|
+
request_body={},
|
|
518
|
+
request_method=HTTPMethod.GET
|
|
519
|
+
)
|
|
520
|
+
|
|
510
521
|
def get_monedas(self):
|
|
511
522
|
"""
|
|
512
523
|
Devuelve la lista de Monedas habilitadas.
|
|
@@ -103,6 +103,13 @@ def test_get_cotizaciones_cierre_search(api_client):
|
|
|
103
103
|
assert result[0]["monedaAbreviatura"] == "ARS"
|
|
104
104
|
|
|
105
105
|
|
|
106
|
+
def test_get_cotizaciones_monedas(api_client):
|
|
107
|
+
result = api_client.get_cotizaciones_monedas()
|
|
108
|
+
assert len(result) > 0
|
|
109
|
+
assert "iso" in result[0]
|
|
110
|
+
assert "cotizacion" in result[0]
|
|
111
|
+
|
|
112
|
+
|
|
106
113
|
def test_get_instrumento(api_client):
|
|
107
114
|
instrumento = "COME"
|
|
108
115
|
result = api_client.get_instrumento(abreviatura=instrumento)
|
|
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
|