ok, here's the draft for my API:
mtRem calls your API: "http://blablabla/api/mtremapi.php?names=mesecons,streets,carts"
You need to split the mods and make an array out of them, then the output will be:
Name:mesecons|
Version:123|
Overview:Lorem Ipsum dolor sit amet|
###
Name:streets|
Version:456|
Overview:The quick brown fox|
###
Name:carts|
Version:789|
Overview:Minetest vs Minecraft|
The number of mods in param "names" will be variable, so sometimes there could be 1 mod or 30 mods. But with this kind of API, I just need 1 http-request :)
Edit: Oh, and pls tell me after you finished my API :)