ModrinthSearchHit

@Serializable
data class ModrinthSearchHit(val slug: String, val title: String, val description: String? = null, val downloads: Long? = null, val projectType: String? = null)

Modrinth検索結果の1件分の情報

Parameters

slug

プロジェクトのslug

title

プロジェクトタイトル

description

プロジェクトの説明

downloads

ダウンロード数

projectType

プロジェクトタイプ("plugin", "mod"など、URL生成に使用) example: https://api.modrinth.com/v2/search?query={query}&limit={limit}

Constructors

Link copied to clipboard
constructor(slug: String, title: String, description: String? = null, downloads: Long? = null, projectType: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "project_type")
val projectType: String?
Link copied to clipboard
Link copied to clipboard