Back to APIs list

Github API examples & templates

Use these vals as a playground to view and fork Github API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
jamesw avatar
trendingrepos
@jamesw
Script
// Helper function to format the date for GitHub API query
potherca avatar
githubStarred
@potherca
Script
// GitHub starred repos
tmcw avatar
hostedGitInfoExample
@tmcw
Script
hosted-git-info This neat npm module lets you parse a Git URL from GitHub or elsewhere.
tmcw avatar
githubFollowing
@tmcw
Script
An interactive, runnable TypeScript val by tmcw
sadfasdfasf avatar
githubStarred
@sadfasdfasf
Script
// GitHub starred repos
mklwlod avatar
githubStarred
@mklwlod
Script
// GitHub starred repos
yieldray avatar
gists
@yieldray
HTTP
Get A Website for Your Gists Example: https://yieldray-gists.web.val.run Usage: fork this val and replace with your github usename
onemanwenttomow avatar
getCohortRecentCommits
@onemanwenttomow
Script
An interactive, runnable TypeScript val by onemanwenttomow
pomdtr avatar
oranda
@pomdtr
HTTP
An interactive, runnable TypeScript val by pomdtr
ejfox avatar
githubactivity
@ejfox
HTTP (preview)
// This approach uses the GitHub API without authentication, which is subject to rate limiting.
gerard avatar
githubFollowing
@gerard
Script
An interactive, runnable TypeScript val by gerard
stevekrouse avatar
githubFileChanged
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
rchasman avatar
githubStarred
@rchasman
Script
// GitHub starred repos
nbbaier avatar
valToGH_dev2
@nbbaier
Script
Forked from nbbaier/valToGH
joey avatar
getGithubStarsForRepo
@joey
Script
// Returns stars on Github repo
kennyg avatar
githubGists
@kennyg
Script
An interactive, runnable TypeScript val by kennyg