v1 docs   See v2 ↗

Data only

You can forego the Anymod script and rendering framework entirely and use Anymod as a data source instead. To do so, send a GET request with the appropriate parameters to the /data endpoint.

There are 2 types of requests:

All requests should be made to the endpoint via https.

Single mod request

Request data for a single mod from your project.

For mod id=anymod-errba in project="library"

GET https://api.anymod.com/v0/data/library/mod/errba

{
"key": "errba",
"project": "library",
"data": {
"content": "<h2>Lorem ipsum dolor sit amet</h2>\n<p>Consectetur adipiscing elit. Duis accumsan elementum vehicula. Praesent semper libero eu sapien imperdiet, quis sollicitudin erat maximus. Mauris semper consequat bibendum. Vestibulum eget vehicula justo. Vivamus id urna at libero tincidunt varius et sed ante. Sed tincidunt odio non urna ultricies lacinia. Nullam consequat leo eu diam maximus rutrum ac a sapien. Integer eget enim id tortor suscipit faucibus vel at urna. Sed luctus eget diam in facilisis...</p>"
}
}

Multiple mod request

Request data for one or more mods from your project.

GET https://api.anymod.com/v0/data/library/mods/errba,elarm

[
{
"key": "errba",
"project": "library",
"data": {
"content": "<h2>Lorem ipsum dolor sit amet</h2>\n<p>Consectetur adipiscing elit. Duis accumsan elementum vehicula. Praesent semper libero eu sapien imperdiet, quis sollicitudin erat maximus. Mauris semper consequat bibendum. Vestibulum eget vehicula justo. Vivamus id urna at libero tincidunt varius et sed ante. Sed tincidunt odio non urna ultricies lacinia. Nullam consequat leo eu diam maximus rutrum ac a sapien. Integer eget enim id tortor suscipit faucibus vel at urna. Sed luctus eget diam in facilisis...</p>"
}
},
{
"key": "elarm",
"project": "library",
"data": {
"image": "https://res.cloudinary.com/component/image/upload/v1493739852/c0y1myh38wdbxunuyeef.png"
}
}
]