io.github.wulkanowy.sdk.hebe.service.StudentService.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-hebe Show documentation
Show all versions of sdk-hebe Show documentation
Unified way of retrieving data from the UONET+ register through mobile api and scraping api
package io.github.wulkanowy.sdk.hebe.service
import io.github.wulkanowy.sdk.hebe.ApiResponse
import io.github.wulkanowy.sdk.hebe.models.Exam
import io.github.wulkanowy.sdk.hebe.models.Grade
import io.github.wulkanowy.sdk.hebe.models.GradeAverage
import io.github.wulkanowy.sdk.hebe.models.GradeSummary
import retrofit2.http.GET
import retrofit2.http.QueryMap
@JvmSuppressWildcards
internal interface StudentService {
@GET("api/mobile/grade/byPupil")
suspend fun getGrades(@QueryMap query: Map): ApiResponse>
@GET("api/mobile/grade/summary/byPupil")
suspend fun getGradesSummary(@QueryMap query: Map): ApiResponse>
@GET("api/mobile/grade/average/byPupil")
suspend fun getGradesAverage(@QueryMap query: Map): ApiResponse>
@GET("api/mobile/exam/byPupil")
suspend fun getExams(@QueryMap query: Map): ApiResponse>
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy