4 задача

This commit is contained in:
2023-01-30 19:34:51 +07:00
parent b95d3e4680
commit 94480dcd0c
3 changed files with 18 additions and 8 deletions
+1
View File
@@ -18,5 +18,6 @@ def get_img_map(delta: float, cords: tuple, variant_map: str) -> None:
"l": variant_map
}
response = requests.get("http://static-maps.yandex.ru/1.x/", params=params)
# print(response.text)
Image.open(BytesIO(
response.content)).save("image.png")