API wrappers should reflect the idioms of the language in which they were written. Octokit.rb wraps the GitHub API in a flat API client that follows Ruby conventions and requires little knowledge of REST. Most methods have positional arguments for required input and an options hash for optional parameters, headers, or other options. While most methods return a Resource object or a Boolean, sometimes you may need access to the raw HTTP response headers. Access tokens can be revoked, removing access for only that token without having to change your password everywhere. Access tokens have access scopes that allow for more granular access to API resources. For instance, you can grant a third party access to your gists but not your private repositories. Two-Factor Authentication brings added security to the account by requiring more information to login.

Features

  • API methods are available as client instance methods
  • Additional Query Parameters
  • Most methods return a Resource object which provides dot notation and [] access for fields returned in the API response
  • Access HTTP responses
  • Basic Authentication
  • Octokit supports the various Authentication methods supported by the GitHub API

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Octokit

Octokit Web Site

Other Useful Business Software
Build Securely on Azure with Proven Frameworks Icon
Build Securely on Azure with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Octokit!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Software Development Software, Ruby Git Software, Ruby API Clients

Registered

2023-01-02