Skip to main content

This version of GitHub Enterprise Server was discontinued on 2024-03-26. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

Libraries for the REST API

You can use the official Octokit libraries and other third-party libraries to extend and simplify how you use the GitHub API.

About libraries

You can use libraries to extend and simplify the way your application interacts with GitHub's API. Each library provides pre-built code for a specific programming language. After integrating a library into your project, you can use the pre-built code modules to interact with GitHub's API via a specific programming language.

GitHub maintains official Octokit libraries for some languages. There are also third-party libraries that you can use with GitHub's API, which are not maintained by GitHub.

Official GitHub libraries

GitHub maintains these official client libraries for the GitHub API. These repositories are open source, and community contributions are welcome.

For more information, see "Scripting with the REST API and JavaScript" and "Scripting with the REST API and Ruby."

Third-party libraries

The following are examples of third-party libraries that you can use to interact with the GitHub API in various programming languages.

These third-party libraries are not maintained by GitHub. Libraries provided by third parties are governed by separate terms of service, privacy policy, and support documentation.

Clojure

Dart

Emacs Lisp

Go

Haskell

Java

JavaScript

Julia

OCaml

Perl

PHP

PowerShell

Python

Ruby

Rust

Scala

Shell