JavaRush /Java Blog /Random EN /Telegram Bot for job search
Евгений
Level 41

Telegram Bot for job search

Published in the Random EN group
Hi all! Next is an article about the opportunities that open APIs and everyone’s favorite Java language give us. I have long wanted to write my own bot , and when I had some free time, the choice fell on Telegram APIs . Why Telegram, you ask. Everything is very simple - an open API, constant development of the messenger and API, a lot of implementations in all popular programming languages. There are also several libraries for Java; there was already an article about one of them on JavaRush. But since you need to write with a reserve for the future, I settled on SpringBoot and the ready-made Telegrambots Spring Boot Starter library .
Telegram Bot for job search - 1
Again, why SpringBoot? Because now almost the entire enterprise is based on Spring (you just need to know it), but the most important thing is that when a web admin is needed, it will be written in the same SpringBoot. We decided on the messenger and implementation tools, then we had to choose the functionality of the future bot. There are already a lot of bot implementations for every taste and any task, but the idea came to mind to write a bot to search for vacancies - to practice Java and at the same time study the labor market, and most importantly, to identify and improve the skills that are now in demand among employers. I was ready to parse sites with vacancies using the well-known jsoup , the task from the Aggregator course in Java would also have been useful , but fortunately, I found an open API for the job search portal . Thanks to Swagger, it's easy to understand. In the process of integration with this API, we had to use another API to determine the city by geolocation (reverse geocoding). I will not describe the process of integration with these APIs so as not to bloat the article and waste your time. Essentially, everything is standard for the REST API; for an example, you can see this article on JavaRush. So, after setting the task, implementation and testing, @rabotaUkraineBot was born . To summarize: you can write a pretty decent bot in Java. The knowledge and self-study skills acquired in the JavaRush course + information in the links throughout the article are quite enough for implementation. If you are interested in what I did, you are welcome to https://t.me/rabotaUkraineBot PS If you have any questions about the implementation, I will be happy to help, write in a personal message.
Comments
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION