CurseForge Helper

Helper all the little boys and girls with quick curseforge links

Here I have for you a little direct link when you want direct downloads from CurseForge.

There are two ways you can ping for mod download stuff.

"thetemportalist.dries007.net/curseforge/mod/minecraft_version/requested_version""thetemportalist.dries007.net/curseforge/mod/minecraft_version/requested_version/raw"

Lets take Origin for example. Origin's CurseForge nameid is 'origin'. You can find this for your mod by going to the mod's curseforge page (http://minecraft.curseforge.com/mc-mods/72503-origin). That bold, italizied and underlined word is your CurseForge nameid.

Lets say we want to grab the latest 1.7.10 version of Origin. To go directly to the download page, you would put this in the browser:

"http://thetemportalist.dries007.net/curseforge/origin/1.7.10/latest"

Now, if we append '/raw' to the end of that url, we will get a raw json file, which we can use cURL or wget to parse on a local computer. ONLY USE THIS IF YOU KNOW HOW TO USE A JSON FILE AND HOW TO PARSE IT! 

"http://thetemportalist.dries007.net/curseforge/origin/1.7.10/latest/raw"

The json you get back will look something like this:

{

"name: "Origin",
"mcv": "1.7.10",
"file": "Origin-1.7.10-3.4.0.jar",
"url": "http://curse.com/mc-mods/minecraft/origin/2217598"

}

Using that, you can directly wget or cURL the url provided to get a direct download without having to go to the curseforge page.

Another thing you can do is request a specific version of a mod. For instance, instead of the latest 1.7.10 version of Origin, lets say we want "Origin-1.7.10-3.3.0.jar". Just plug the file name into latest like so:

"http://thetemportalist.dries007.net/curseforge/origin/1.7.10/Origin-1.7.10-3.3.0"

"http://thetemportalist.dries007.net/curseforge/origin/1.7.10/Origin-1.7.10-3.3.0/raw"

Hope you have fun pinging all the things!