GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mizchi/github: A higher-level wrapper around the Github API. Intended for the browser.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

242 Commits
242 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
.gitignore
.gitignore
 
 
.jshintrc
.jshintrc
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
justfile
justfile
 
 
moon.mod
moon.mod
 
 

Repository files navigation

mizchi/github

GitHub REST API client for MoonBit (native target).

Built on moonbitlang/async (http, tls, socket).

Install

moon add mizchi/github

Usage

async fn main {
  let client = @client.GitHubClient::new(token)
  defer client.close()

  // Get authenticated user
  let me = @users.get_authenticated(client)

  // List workflow runs
  let runs = @actions.list_workflow_runs(client, "owner", "repo", branch="main")

  // Create an issue
  let issue = @issues.create(client, "owner", "repo", "Bug report", body="Details here")

  // Create a pull request
  let pr = @pulls.create(client, "owner", "repo", "Fix bug", "feature", "main")
}

API

client

new, get_json, get_binary, post_json, patch_json, put_json, delete, close

actions

list_workflow_runs, list_artifacts, download_artifact

repos

get, get_content, list_branches, list_tags, list_releases, get_latest_release

issues

list, get, create, update, add_labels, list_comments, create_comment

pulls

list, get, create, update, list_files, list_reviews, request_reviewers, merge

git

get_ref, create_ref, delete_ref, get_commit, get_tree

users

get_authenticated, get

License

MIT

About

A higher-level wrapper around the Github API. Intended for the browser.

Resources

Readme
BSD-3-Clause license
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.