Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixes 1000 Members Limit #337
Before, it's only possible to ban up to 1000 members of a group; now you can ban all of them, assuming Steam doesn't rate limit you. I modify the fetching process to remove an unnecessary file_put_contents request and added a loop that self-call if there's a next link indicated.
Addresses the 1000 members limit mentioned in #299
Motivation and Context
I came across a large cheater group (about 12k members), and I was in the process of banning them all until I found out that members list is paginated to 1000 per page. It addresses an issue mentioned in #299
How Has This Been Tested?
After I had made the code change, I re-attempted on banning the cheater group on PHP 7.1 with MariaDB 10.2 environment, while it took a while, it finished in the end with no error.
Although, note, if you're banning a large group, you may exceed Steam API's rate limit.
Screenshots (if appropriate):
Types of changes