curl -X GET https://api.teaclient.net/mods
let client = reqwest::Client::new();let res = client.request("GET", "https://api.teaclient.net/mods") .header(None) .body(None) .send() .await .unwrap();
const res = await fetch("https://api.teaclient.net/mods", { method: "GET", headers: {}, body: null});
{ "mods": [ { "name": "Example", "author": "Example", "git": "https://github.com/Example/ExampleMod", "licence": "MIT", "homepage": "https://example.com", "mc_version_reccomended": ["Example MC Version"], "description": "A Minecraft Mod for the Example community." }, ... ], "blocked_mods": [ { "name": "ExampleClient", "reason": "Minecraft Client" }, ]}