{"id":24182735,"url":"https://github.com/theclashfruit/kotrinth","last_synced_at":"2025-10-06T11:10:08.348Z","repository":{"id":269304839,"uuid":"843002559","full_name":"TheClashFruit/Kotrinth","owner":"TheClashFruit","description":"A Modrinth API wrapper for Kotlin.","archived":false,"fork":false,"pushed_at":"2025-02-08T11:31:21.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-17T22:54:35.370Z","etag":null,"topics":["ktor","modrinth","modrinth-api"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheClashFruit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["TheClashFruit"],"patreon":null,"open_collective":null,"ko_fi":"TheClashFruit","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2024-08-15T15:11:47.000Z","updated_at":"2025-02-08T11:31:24.000Z","dependencies_parsed_at":"2024-12-22T16:19:34.580Z","dependency_job_id":"69f51a26-8edd-414f-a633-71d0fbf203fb","html_url":"https://github.com/TheClashFruit/Kotrinth","commit_stats":null,"previous_names":["theclashfruit/kotrinth"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheClashFruit/Kotrinth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheClashFruit%2FKotrinth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheClashFruit%2FKotrinth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheClashFruit%2FKotrinth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheClashFruit%2FKotrinth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheClashFruit","download_url":"https://codeload.github.com/TheClashFruit/Kotrinth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheClashFruit%2FKotrinth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278598620,"owners_count":26013291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ktor","modrinth","modrinth-api"],"created_at":"2025-01-13T08:14:49.947Z","updated_at":"2025-10-06T11:10:08.322Z","avatar_url":"https://github.com/TheClashFruit.png","language":"Kotlin","funding_links":["https://github.com/sponsors/TheClashFruit","https://ko-fi.com/TheClashFruit"],"categories":[],"sub_categories":[],"readme":"# Kotrinth\n\n![Maven metadata URL](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fmvn.theclashfruit.me%2Fsnapshots%2Fme%2Ftheclashfruit%2Fkotrinth%2Fmaven-metadata.xml\u0026label=Snapshots%20Version)\n![Maven metadata URL](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Fmvn.theclashfruit.me%2Freleases%2Fme%2Ftheclashfruit%2Fkotrinth%2Fmaven-metadata.xml\u0026label=Releases%20Version)\n\nA Modrinth API wrapper for Kotlin.\n\n## Getting Started\n\n### Usage\n\n#### Import Kotrinth\n\nAdd the repository and dependency to your `build.gradle.kts`:\n\n\u003cdetails\u003e\n  \u003csummary\u003eBeta, Alpha (Snapshots Repo)\u003c/summary\u003e\n\n  ```kotlin\n  maven {\n      name = \"TheClashFruit's Maven Snapshots\"\n      url = uri(\"https://mvn.theclashfruit.me/snapshots\")\n  }\n  ```\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eStable (Releases Repo)\u003c/summary\u003e\n\n  ```kotlin\n  maven {\n      name = \"TheClashFruit's Maven Releases\"\n      url = uri(\"https://mvn.theclashfruit.me/releases\")\n  }\n  ```\n\u003c/details\u003e\n\n```kotlin\nimplementation(\"me.theclashfruit:kotrinth:$version\")\n```\n\n#### Example\n\n```kotlin\npackage com.example\n\nimport me.theclashfruit.kotrinth.Kotrinth\n\nsuspend fun main() {\n  // Create a new Kotrinth instance.\n  val kotrinth = Kotrinth(\n    appName = \"Example\",\n    appVersion = \"1.0.0\",\n    appContact = \"admin@example.com\"\n  )\n  \n  // Get a user by their username.\n  val user = kotrinth.v2.user(\"TheClashFruit\")\n  \n  // Print the user's id.\n  println(user.id)\n}\n```\n\n---\n\n### Cloning\n\nThis repository doesn't use any special stuff, so we can clone it in to old-fashioned way of `git clone https://github.com/TheClashFruit/Kotrinth.git`.\n\n### Building\n\nBuilding is also straight forward, open the project in your desired code editor, IDE or just a terminal then just run `./gradlew build` in a terminal.\n\n## Contributing\n\nYou can read the [CONTRIBUTING.md](https://github.com/TheClashFruit/Kotrinth/blob/main/CONTRIBUTING.md) file for details on the project's code of conduct, and the process for submitting pull requests to this project, have fun!\n\n## License\n\nThis project is licensed under MIT, if you want to learn more check the [LICENSE](https://github.com/TheClashFruit/Kotrinth/blob/main/LICENSE) file.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheclashfruit%2Fkotrinth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheclashfruit%2Fkotrinth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheclashfruit%2Fkotrinth/lists"}