TheRandomLabs / CurseAPI

A Java library for handling interactions with CurseForge.
MIT License
30 stars 3 forks source link

project.members().size() always 1 #2

Closed JayJay1989 closed 5 years ago

JayJay1989 commented 5 years ago

If a project has multiple members (Owner, Contributors, Authors), only the first is added to the list.

screenshot_3 gives as result: project.members() => [Member[type="Owner",username="JayJay_1989"]] project.members().size() => 1

TheRandomLabs commented 5 years ago

Thanks for reporting this! It's fixed now. Just out of curiosity, what are you using this for? I didn't think anyone was using this.

JayJay1989 commented 5 years ago

its for an discord bot. Simply get information about a project.

Also for my api to download a specified modpack and version on my gamepanel, without uploading the serverfiles my own. I dont know if this script support this, once i get there, i modify it it to get it working. Expect some pull request ;)

I used my own one, written in php, but scraping is slow, like very slow. this script is a bit faster,

TheRandomLabs commented 5 years ago

Thanks!