oreoshake / hackerone-client

An unofficial wrapper for the HackerOne API
https://api.hackerone.com/docs/v1
MIT License
55 stars 27 forks source link

Added pagination on reporters. Get program memberships/groups types and users that manage program #32

Closed CR1AT0RS closed 4 years ago

CR1AT0RS commented 7 years ago

Added pagination on reporters. Added attributes on reporters to choose page_size or get a page_number.

example uage: program.reporters(page_number: 1, page_size: 25)

esjee commented 7 years ago

Cool! The code looks good to me, but could you add a test?

oreoshake commented 7 years ago

It would be cool if there were an autopagination option like octokit has (maybe it’s implemented in a gem or something). These seem like good defaults to start with so we can add autopagination later.

CR1AT0RS commented 7 years ago

Added: Get all users that manage the program. Program groups and membership type. Updated documentation. For auto pagination people can just a add for loop in their code. @oreoshake @esjee