CMPDL icon indicating copy to clipboard operation
CMPDL copied to clipboard

Gradle-ify the project, update used APIs make it work with the current CurseForge system

Open iTitus opened this issue 4 years ago • 3 comments

I did this in my fork for myself, but I figured you could use the general idea.

The new link is: https://addons-ecs.forgesvc.net/api/v2/addon/<project id>/file/<file id> If you want modpack data just set the project id to 0.

This returns JSON data, to get the real download url you can either parse the JSON or access /download-url on that resource.

The returned URL can be used to GET the required file.

iTitus avatar Feb 25 '20 20:02 iTitus

@iTitus Could you build it and publish the jar in your fork?

stefnotch avatar Jun 07 '20 08:06 stefnotch

@stefnotch here you go https://github.com/iTitus/CMPDL/releases/tag/v1.3.0

iTitus avatar Jun 07 '20 13:06 iTitus

Woah, that's the fastest positive response I've ever gotten to such a request! Thank you very much!

stefnotch avatar Jun 07 '20 17:06 stefnotch