Receve information about your packages with this telegram bot!
- Starting the bot
- Choose an option
- Add an package
- My Packages
- Package Info
- Java 17
- Spring Boot
- Spring Security
- Auth0
- MongoDB
- RabbitMQ
- TelegramBot
- Companies are structured in a Strategy model
Shipping Company interface
Factory for finding correct shippiment company
Example of usage
- Implement this interface
- Create a enum for the company
- If you need to add some variables this is the place
Its done! You have a new company!
- A scheduler will trigger a method that find all actives packages in database(mongoDB) and for each is search if has new updates
- If there is a new update they will be save in database and a message will be send to the user in telegram
GET /api/tracking/{company}/{trackingNumber}
Parameter | Type | Description |
---|---|---|
Path: company |
string |
Required. Shippiment company |
Path: trackingNumber |
string |
Required. Track id |
Header: Authorization |
string |
Required. Authorization |
GET /api/tracking/{company}/{trackingNumber}/latest
Parameter | Type | Description |
---|---|---|
Path: company |
string |
Required. Shippiment company |
Path: trackingNumber |
string |
Required. Track id |
Header: Authorization |
string |
Required. Authorization |