GitHub REST API client for JavaScript. Import the Octokit constructor based on your platform. Instantiate your octokit API. All options are optional, but authentication is strongly encouraged. API Previews can be enabled globally by setting the previews option. They can be set per-request as well. A default time zone can be enabled by setting the timeZone option. In order to use Octokit with GitHub Enterprise, set the baseUrl option. Most of GitHub’s REST API endpoints have matching methods. All endpoint methods are asynchronous, in order to use await in the code examples, we wrap them into an anonymous async function. Authentication is optional for some REST API endpoints accessing public data, but is required for GraphQL queries. Using authentication also increases your API rate limit.

Features

  • You can set auth to a personal access token string
  • Setting a user agent is required
  • A default time zone can be enabled by setting the timeZone option
  • Some API endpoints support alternative response formats
  • You can also register custom endpoint methods
  • Some endpoints return a list which has to be paginated in order to retrieve the complete data set

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow rest.js

rest.js Web Site

Other Useful Business Software
Fax.Cloud delivers encrypted, point-to-point faxing with guaranteed delivery and built-in audit trails Icon
Fax.Cloud delivers encrypted, point-to-point faxing with guaranteed delivery and built-in audit trails

For organizations in regulated industries needing a solution to replace traditional fax infrastructure and integrate with email or online portals

Unlike email or file-sharing tools, Fax.Cloud doesn’t bounce around the internet, exposed and vulnerable. It’s direct, encrypted, and verified. You get delivery confirmation, audit trails, and peace of mind, without the spam filters, metadata leaks, or cyber threats.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of rest.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Source Code Analysis Tool, JavaScript API Clients

Registered

2021-11-24