GitHub Api download zip or tarball link

You can wget your way out of the GitHub repo to get a tar file (archive): wget –no-check-certificate https://github.com/User/repo/archive/master.tar.gz # better, if the certificate authorities are present: wget https://github.com/User/repo/archive/master.tar.gz will get you a file named ‘master’ from the user ‘User”s repo ‘repo’. The updated V3 API url is: https://api.github.com/repos/User/repo/:archive_format/:ref # # two possibilities for fomat: … Read more

GitHub API: Repositories Contributed To

With GraphQL API v4, you can now get these contributed repo using : { viewer { repositoriesContributedTo(first: 100, contributionTypes: [COMMIT, ISSUE, PULL_REQUEST, REPOSITORY]) { totalCount nodes { nameWithOwner } pageInfo { endCursor hasNextPage } } } } Try it in the explorer If you have more than 100 contributed repo (including yours), you will have … Read more

Get GitHub avatar from email or name

You can append .png to the URL for the User’s profile to get redirected to their avatar. You can add the query param size to specify a size smaller than the default of 460px wide (i.e. it won’t allow larger than 460). Examples: https://github.com/twbs.png https://github.com/npm.png?size=200 https://github.com/github.png?size=40

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)