Интеграция: REST API
ПО состоит из 3 частей:
- Первый сервис. Парсить данные(id, auto, speed, distance, rasxodtopliva) из excel файл, вычисляет время (time). По api можно получить эти данные с форматом json.
- Язык: Python
- Excel file
- Modules: PIP, Pandas, FastApi, Uvicorn.
- Command to run: uvicorn fsapi:app --reload
- Второй сервис. Получает данные через api(post), вычисляет общий расход и возвращает json.
- Язык: C#
- WebAPI
- Клиент. Получает данные с первого сервиса и отправляет к второму сервису с ценой топлива.
- ASP.NET MVC