Commit Graph
24 Commits
Author SHA1 Message Date
KKlochko 3c94432cfb Add the method to get formated item name and count.
continuous-integration/drone/push Build is failing
2023-06-20 16:53:02 +03:00
KKlochko 17508461e4 Refactor names for the UserAPI and the city handler.
continuous-integration/drone/push Build is passing
2023-06-20 16:09:54 +03:00
KKlochko acdf8f72de Add the handler to select a city.
continuous-integration/drone/push Build is passing
2023-06-20 15:14:00 +03:00
KKlochko 385e13f7e7 Add methods to select a city and return message. 2023-06-20 15:12:49 +03:00
KKlochko 5eeaf1ee67 Add the method to get acity or company name from the args, tests.
continuous-integration/drone/push Build is passing
2023-06-20 15:06:23 +03:00
KKlochko 6f5bd7653a Refactor the match of commands. 2023-06-20 14:41:03 +03:00
KKlochko 02b5a397f0 Refactor path to handlers in the main. 2023-06-20 14:40:03 +03:00
KKlochko 420fafe168 Add formatter tests for Company, Category, Item models.
continuous-integration/drone/push Build is passing
2023-06-20 13:41:06 +03:00
KKlochko ea3fb8ca7f Add formatters for Company, Category, Item models. 2023-06-20 13:39:52 +03:00
KKlochko d99c246de2 Update the CityFormatter to have the header as an argument. 2023-06-20 13:38:56 +03:00
KKlochko ca3bb35b74 Fixed the CI/CD configuration by adding all deps.
continuous-integration/drone/push Build is passing
2023-06-17 19:51:35 +03:00
KKlochko af8431b74a Fixed the CI/CD configuration.
continuous-integration/drone/push Build is failing
I have dev_requirements.txt for tests, not requirements.txt
2023-06-17 19:24:17 +03:00
KKlochko 8863ea7822 Add the CI/CD configuration.
continuous-integration/drone/push Build is failing
2023-06-17 19:22:05 +03:00
KKlochko eda62c9989 Add UserAPI for register new user. 2023-06-17 13:01:04 +03:00
KKlochko 50abd54276 Add the config file for DotsBotApi. 2023-06-17 11:14:01 +03:00
KKlochko 52863dcd1c Fix fetcher's send_json to make post a request and get a response. 2023-06-16 19:59:51 +03:00
KKlochko 29eeaccc30 Update docker-compose file to run src.main as package.
src.main will be run as python package, but before as separated
script.
2023-06-16 17:39:02 +03:00
KKlochko bca8eece67 Add the city handler to have cities-list in bot's command list. 2023-06-16 17:27:49 +03:00
KKlochko 5218e84aca Add CityAPI to get information about city from the server. 2023-06-16 17:25:16 +03:00
KKlochko a95638a6d5 Add formatters, tests. 2023-06-16 17:21:39 +03:00
KKlochko 0de06aaf97 Update dockerignore, gitignore files. 2023-06-16 17:20:33 +03:00
KKlochko f38c4e3029 Update requirements files. 2023-06-16 17:19:06 +03:00
KKlochko db62063d5a Add ApiFetcher to make requests to the server. 2023-06-16 17:15:46 +03:00
KKlochko 86698098cd Update README 2023-06-16 17:08:58 +03:00