2026-09-02 23:47:00 +03:00
|
|
|
package agzam.vyatsu.data.remote
|
|
|
|
|
|
|
|
|
|
import agzam.vyatsu.domain.model.DateRange
|
|
|
|
|
import agzam.vyatsu.domain.model.Season
|
|
|
|
|
|
|
|
|
|
object VyatsuUrls {
|
|
|
|
|
|
|
|
|
|
const val GROUPS_PAGE = "https://www.vyatsu.ru/studentu-1/spravochnaya-informatsiya/raspisanie-zanyatiy-dlya-studentov.html"
|
|
|
|
|
const val PDF_BASEURL = "https://www.vyatsu.ru/reports/schedule/Group"
|
|
|
|
|
|
|
|
|
|
fun groupPdfUrl(groupId: String, season: Season, range: DateRange): String = "$PDF_BASEURL/${groupId}_${season.apiKey}_${range.first}_${range.second}.pdf"
|
|
|
|
|
|
2026-09-19 15:59:25 +03:00
|
|
|
const val TEACHER_PAGE = "https://www.vyatsu.ru/studentu-1/spravochnaya-informatsiya/teacher.html"
|
|
|
|
|
const val PREPOD_BASEURL = "https://www.vyatsu.ru/reports/schedule/prepod"
|
|
|
|
|
|
|
|
|
|
fun teacherPrepodUrl(departmentId: String, season: Season, range: DateRange): String = "$PREPOD_BASEURL/${departmentId}_${season.apiKey}_${range.first}_${range.second}.html"
|
|
|
|
|
|
2026-09-02 23:47:00 +03:00
|
|
|
}
|