This is an example of one might go about getting webhooks for a user's repositories. This example WILL NOT WORK here. Webhooks are a protected resource and so you need to be authenticated to see them.
High level:
- Create an in instance of the GitHub client
- Fetch the user's repository data
- Convert the raw data into Repos
- Fetch the webhooks from the repositories