GithubAPI
A self-generating PowerShell module for the GitHub API
Install / Use
/learn @zalexan1996/GithubAPIREADME
GithubAPI
A dynamically generated PowerShell module for the GitHub RestAPI. Passing $TRUE into the module scrapes https://docs.github.com/en/rest/reference and converts each endpoint into PowerShell functions. Regenerating the function definitions is not necessary in order to use this module because I've done the generating for you!
Requirements
- Generate a GitHub OAuth token and put it in
C:/Users/Username/AppData/Roaming/github.token - PowerShell 7.2+ recommended. I did not test this on Windows PowerShell.
- Selenium module (if you want to regenerate the function definitions)
- Google Chrome (if you want to regenerate the function definitions)
How to
Make sure your GitHub OAuth token is in $ENV:AppData/github.token before using this module
Import all modules WITHOUT regenerating the function definitions
Import-Module ./GithubAPI
Import Specific Sections WITHOUT regenerating the function definitions
Import-Module ./GithubAPI -ArgumentList @("Branches", "Commits", "Releases", "Repositories"), $FALSE
Import all sections and regenerate the function definitions
Import-Module ./GithubAPI -ArgumentList @("ALL"), $TRUE
TODO
- ~~Module argument to only include certain sections~~
- Default Parameters
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
