GetPromise

class GetPromise(client: AppHttpClient)

Functions

followers
Link copied to clipboard
js
fun followers(page: Int = 1): Promise<List<FollowerModel>>

Get list user followers

repo
Link copied to clipboard
js
fun repo(url: String): Promise<RepoModel>

Get repo data by url

repos
Link copied to clipboard
js
fun repos(page: Int = 1, isSortASC: Boolean = false): Promise<List<RepoModel>>

Get list repos user

rockets
Link copied to clipboard
js
fun rockets(): Promise<List<RocketModel>>

Test query without tokens from demo KM

user
Link copied to clipboard
js
fun user(): Promise<UserModel>

Get user

Properties

client
Link copied to clipboard
js
private val client: AppHttpClient