{"id":19671197,"url":"https://github.com/knighthacks/api-node","last_synced_at":"2026-06-06T21:31:44.482Z","repository":{"id":57125165,"uuid":"390159646","full_name":"KnightHacks/api-node","owner":"KnightHacks","description":"The Knight Hacks Node.js API wrapper.","archived":false,"fork":false,"pushed_at":"2021-11-06T03:13:46.000Z","size":2131,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-29T22:37:02.151Z","etag":null,"topics":["backend","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@knighthacks/hackathon","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KnightHacks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-27T23:57:03.000Z","updated_at":"2021-11-06T03:13:49.000Z","dependencies_parsed_at":"2022-08-31T12:10:29.344Z","dependency_job_id":null,"html_url":"https://github.com/KnightHacks/api-node","commit_stats":null,"previous_names":["knighthacks/knighthacks-api-node-2021"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KnightHacks/api-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnightHacks%2Fapi-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnightHacks%2Fapi-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnightHacks%2Fapi-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnightHacks%2Fapi-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KnightHacks","download_url":"https://codeload.github.com/KnightHacks/api-node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KnightHacks%2Fapi-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285689535,"owners_count":27215143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-21T02:00:06.175Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","typescript"],"created_at":"2024-11-11T17:08:06.213Z","updated_at":"2025-11-21T21:03:26.794Z","avatar_url":"https://github.com/KnightHacks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KnightHacks Node API\n\nThis package provides a simple interface for interacting with the knighthacks backend\n\n### Getting up and running is easy:\n\n```ts\nimport { API } from '@knighthacks/hackathon';\n\n// Create api instance.\nconst api = new API();\n```\n\n### Example: Fetch Club Events\n\n```ts\nconst clubEvents: ClubEvent[] = await api.club.getEvents();\n\n// Dates are automatically serialized.\nconsole.log(clubEvents[0].start.toLocaleString());\n```\n\n### Example: Manipulate Hacker Data\n\n```ts\nconst hacker = await api.hackers.get('Bob');\n\nawait hacker.setLastName('Joe');\nawait hacker.setSharingInfo(true);\n\n// Or use a bulk edit...\n\nawait hacker.edit({\n  lastName: 'Joe',\n  canShareInfo: true,\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknighthacks%2Fapi-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknighthacks%2Fapi-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknighthacks%2Fapi-node/lists"}