Skip to content

jcrqr/octono

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ‚ Octono

GitHub REST API for Deno projects.

๐Ÿšง Under active development. DO NOT use in production.

Installation

import { Octono } from "https://deno.land/x/octono@v0.0.1/mod.ts";

Usage

import { request } from "https://deno.land/x/octono@v0.0.3/mod.ts";

const resp = await Octono.request("GET /users/{username}/repos", {
  username: "octocat"
})

const repos = await resp.json();

for (const repo of repos) {
  console.log(`Found repo: ${repo.full_name} (${repo.stargazers_count} stars)`);
}

See example.ts. Use deno run --allow-env --allow-net example.ts to run it.

Permissions

This module requires --allow-env and --allow-net permissions.

Contributing

Please, see CONTRIBUTING.md to learn how you can contribute to this repository.

License

This project is released under the MIT License.

About

๐Ÿ‚ GitHub REST API for Deno projects

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy