BitAppApiService

Retrofit Api Service for BIT App Todo : Start from here

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@GET(value = "aboutUs/aboutUs.json")
abstract suspend fun getAboutUs(): AboutUsModel
Link copied to clipboard
@GET(value = "admin/admin.md")
abstract suspend fun getAdministration(): String
Link copied to clipboard
@GET(value = "holiday/holiday.json")
abstract suspend fun getHoliday(): HolidayModel
Link copied to clipboard
@GET(value = "society/society.json")
abstract suspend fun getSociety(): SocietyModel
Link copied to clipboard
@GET(value = "syllabus/{course}/{course_sem}/subjects/{subject}.md")
abstract suspend fun getSubjectMarkDown(@Path(value = "course") course: String, @Path(value = "course_sem") courseSem: String, @Path(value = "subject") subject: String): String
Link copied to clipboard
@GET(value = "syllabus/{course}/{course_sem}/{course_sem}.json")
abstract suspend fun getSubjects(@Path(value = "course") course: String, @Path(value = "course_sem") courseSem: String): SyllabusResponse