Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

craftcanvas support #2

Open
pro9code opened this issue Jan 3, 2024 · 2 comments
Open

craftcanvas support #2

pro9code opened this issue Jan 3, 2024 · 2 comments

Comments

@pro9code
Copy link

pro9code commented Jan 3, 2024

https://github.com/CraftCanvasMC/Canvas
It updates far too often, an API would be greatly appreciated for automatic updates.

@polish-penguin-dev
Copy link
Collaborator

Ok, Looked into it and I can get the downloads directly from GitHub:

https://api.github.com/repos/CraftCanvasMC/Canvas/releases
https://api.github.com/repos/CraftCanvasMC/Canvas/releases/ID

I can use the "target_commitish" value to work out the version.

I'll try and implement it soon!

@polish-penguin-dev
Copy link
Collaborator

Sorry for abandoning this repo! I have now made a brand new version which is more stable, organised, has more server softwares, and more (https://github.com/polish-penguin-dev/MC-SRV-DL-API).

I'm looking into craftcanvas and I have a pretty good idea of how I could implement it, especially because each release's description follows a regular format.

Although; this could be unstable and break if the description changes. (I seriously doubt that will happen though considering the craftcanvas website uses github releases for their downloads and they probably get the details from that desc).

I will close the issue here if I manage to implement it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants