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

Possibility of getting update id of latest resource version #46

Open
Tigerpanzer02 opened this issue Dec 12, 2021 · 1 comment
Open

Comments

@Tigerpanzer02
Copy link

For example, I want to get the update id of this link
https://www.spigotmc.org/resources/build-battle-guessthebuild-1-8-8-1-17.44703/update?update=416971

The id would be 416971

It's not possible to get the id from
https://api.spiget.org/v2/resources/44703/versions/latest
as the id mentioned there with "id" is the id to download the plugin which can be made with https://www.spigotmc.org/resources/build-battle-guessthebuild-1-8-8-1-17.44703/download?version=412955

I would like to see there the id of the update instead of the id to download the plugin. Also, I didn't find another way of getting the update id.

@InventivetalentDev
Copy link
Member

spigotmc itself does not have a direct way of linking update and version together. best way would probably be to just get the list of both updates and versions and combine the matching dates

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