jan_soubusta
01/23/2024, 1:29 PM- name: tap-github-user
inherit_from: tap-github
config:
user_usernames:
- jaceksan
select:
# Repositories
- repositories.id
- repositories.html_url
- repositories.name
- repositories.stargazers_count
- repositories.watchers_count
- repositories.created_at
- repositories.updated_at
stream_maps:
__alias__: user_repositories
But it does crawl anything.
Is it possible to crawl <https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#list-repositories-for-a-user%7C/<username>/repos API> with tap-github?Edgar Ramírez (Arch.dev)
01/23/2024, 4:17 PMorganizations
setting: https://github.com/MeltanoLabs/tap-github/blob/b7a331dc9ac916ef423ade0fb3c3e5203ee3c1bd/tap_github/repository_streams.py#L46-L55
that'd be organizations: [jaceksan]
in your case I think.jan_soubusta
01/23/2024, 4:31 PMjaceksan
as organization, because it is not organization but personal account. GitHub describes the difference in their public DOC. That is why you have to list repositories of users(personal accounts) from different API(mentioned above) than repositories in organizations.jan_soubusta
01/23/2024, 4:33 PMjan_soubusta
01/23/2024, 4:34 PMjan_soubusta
01/23/2024, 4:35 PMEdgar Ramírez (Arch.dev)
01/23/2024, 6:09 PM/users/{username}/repos
is what you need. Do send us a PR if you can 😁!