diff --git a/README.md b/README.md index 67fa014..4db9b2b 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,32 @@ Stay for this time on the page and wait for the response. http://127.0.0.1/api/fetch/events +After you fetched the events you can optional fetch sport events. +This will scrape the sport events from the HTWK website and store them in the database. +This will take a few seconds (2s-10s). + +http://127.0.0.1/api/fetch/sports + + ### View/Filter/Search in Admin UI If you want some easy first api endpoints and data views, you can use the Admin UI. + + +### Schedules + +In our project we used schedules to fetch data from HTWK and store it in the database. +So they get periodically executed and keep the database up to date. + +You can find the schedules in the following directory: + +``` +service/addSchedule.go +``` + +Currently, there are 3 schedules: + +- FetchGroupsSchedule +- FetchEventsSchedule +- FetchSportsSchedule +