SkillAgentSearch skills...

Korailsrt

Korail (www.letskorail.com) wrapper for Kotlin.

Install / Use

/learn @jcsla/Korailsrt
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

korailsrt

Korail (www.letskorail.com) wrapper for Kotlin.

This project was inspired from korail2 of carpedm20.

Download

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
}

dependencies {
	        implementation 'com.github.jcsla:korailsrt:aca933ffdd'
}

Usage

1. Login

Korail.login("enter your korail membership id", "enter your password")

2. Search train what you wanna take

val searchTrainResult =
              Korail.searchTrain(date = "20200122",
                                 time = "192500",
                                 trainType = TrainType.ALL.value,
                                 adultCount = "1")

3. Reserve train what you searched before in Section 2

val reserveTicketResult =
              Korail.reserveTicket(searchTrainResult.trn_infos.trn_info.first())

Author

Jun-Young Lee / @jcsla

Related Skills

View on GitHub
GitHub Stars9
CategoryDevelopment
Updated10mo ago
Forks0

Languages

Kotlin

Security Score

67/100

Audited on May 14, 2025

No findings