-
Notifications
You must be signed in to change notification settings - Fork 73
Closed
Labels
Type: SupportAny questions, information, or general needs around the SDK or GitHub APIsAny questions, information, or general needs around the SDK or GitHub APIs
Description
I don't know much about JS. This is my code. I want to get the issues list of the warehouse
<script type="module">
import {request} from "https://cdn.skypack.dev/@octokit/request";
</script>
<script>
const listIssue = async () => {
const result = await request("GET /repos/{owner}/{repo}/issues", {
owner: "awnawnawn",
repo: "awnawnawn.github.io",
});
console.log(`${result.data.length} repos found.`);
}
listIssue();
</script>How should I write it?
Metadata
Metadata
Assignees
Labels
Type: SupportAny questions, information, or general needs around the SDK or GitHub APIsAny questions, information, or general needs around the SDK or GitHub APIs