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.
willthereader avatar
willthereader
Debugging_Guide
HTTP
@jsxImportSource https://esm.sh/hono@latest/jsx
0
thure avatar
thure
github_emails
Email
Forked from wittjosiah/github_emails
0
stevekrouse avatar
stevekrouse
renderEmails
Email
Forward Render Error Emails to Github & Discord Render sends emails when deploys fail but I want those notifications to come in our team Discord channel, and tag our team. Render doesn't have webhooks for this, so I set up a Gmail filter and forward to this email handler val, which in turn forwards the content to our engineering Discord channel. I also found myself wanting this script to auto-create Github Issues, assigned to the right person, in our current milestone, so now this script does that, with @stevekrouse/createIssue as the helper function.
0
stevekrouse avatar
stevekrouse
crimsonLynx
HTTP
Forked from willthereader/personalWebsite
0
ramkarthik avatar
ramkarthik
prsEmail
Script
An interactive, runnable TypeScript val by ramkarthik
1
yawnxyz avatar
yawnxyz
hnCloneLuciaOauth
HTTP
Forked from stevekrouse/givenOliveScorpion
1
stevekrouse avatar
stevekrouse
azureBeetle
HTTP
Forked from willthereader/homepage
0
wittjosiah avatar
wittjosiah
parse_github_email
Script
An interactive, runnable TypeScript val by wittjosiah
0
willthereader avatar
willthereader
Bringing_My_OCD_Online
HTTP
Forked from willthereader/homepage
0
elliotbraem avatar
elliotbraem
githubActivityReport
HTTP
Github Activity Report Generates an activity report of GitHub events for a specified user. The report groups events by day, repository, and event type, providing an organized view of the user's activities over a specified date range. Usage Parameters userName (required): The GitHub username for which to generate the activity report. startDate (optional): The start date of the activity report in YYYY-MM-DD format. If not provided, the report includes all events up to the endDate . endDate (optional): The end date of the activity report in YYYY-MM-DD format. If not provided, the report includes all events from the startDate onwards. Response Structure The API returns a JSON response body with the following structure: { "YYYY-MM-DD": { "repository_name": { "event_type": [ { "id": "event_id", "created_at": "event_timestamp", "payload": { /* event payload */ } }, // More events... ] }, // More repositories... }, // More dates... }
0
vladimyr avatar
vladimyr
gfm
Script
Forked from pomdtr/gfm
0
jpwilliams avatar
jpwilliams
getVersion
HTTP
An interactive, runnable TypeScript val by jpwilliams
1
stevekrouse avatar
stevekrouse
purpleHornet
HTTP
Forked from willthereader/Bringing_My_OCD_Online
0
willthereader avatar
willthereader
homepage
HTTP
@jsxImportSource https://esm.sh/hono@latest/jsx
0
tmcw avatar
tmcw
octokitGraphQLExample
Script
octokit/graphql This alternative driver for the GitHub API exposes it via GraphQL.
0
tzq avatar
tzq
monitoringZSearch
Script
An interactive, runnable TypeScript val by tzq
0