Registry / http-client / octokit

octokit

JSON →
library10.0.0rbrubygemsunverified

Simple wrapper for the GitHub API.

gem install octokit
INSTALL
IMPORT
SIG · OCTOKIT
O
octokit
http-clientrubyv10.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Octokit
require 'octokit'

Create a client and fetch a GitHub user's login name.

require 'octokit' client = Octokit::Client.new(access_token: 'your_token') user = client.user('octocat') puts user.login
Debug
Known issues
breakingOctokit 10.0.0 drops support for Ruby < 2.7.
fix
Upgrade Ruby to 2.7+ or use an older version of the gem.
affects: >= 10.0.0
Upgrade
Version history
10.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
octokit — gem install octokit · libregistry