You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Organization API, the first function that consists of returning the members of the organization with their related contributions.
If I did understand, the getmembers should return the members of the organization with their associated number of contributions
When I use it, the returned User(..) consists of plenty of None value for the contribution fields. Therefore, the developer should use the repository API as well as the Organization API to get the needed data.
@muunaar That is correct. The GitHub API does not specify the contributions field as something that can be returned from this endpoint, but it shares a lot of overlap so we are reusing a common case class. Not all of the fields will be populated by every API request so it might seem misleading from the usage point of the library, but it is consistent with the official API.
I'm working with Github4s in order to retrieve the list of members of an organization name given.
I'm using v3
I'm getting the result as follows :
User(1550710,tues,https://avatars3.githubusercontent.com/u/1550710?v=4,https://github.com/tues,None,None,None,None,None,None,Some(https://api.github.com/users/tues/followers),Some(https://api.github.com/users/tues/following{/other_user}),User,None,None,None)
Can someone enlighten me
The text was updated successfully, but these errors were encountered: