Microforge API

Get repository contributors

Retrieve users who have contributed to a repository

GET
/contributors

Query Parameters

repo_namestring

Repository name in format owner/repo

Response Body

List of contributors

TypeScript Definitions

Use the response body type in TypeScript.

curl -X GET "https://api.microforge.studio/v1/contributors?repo_name=facebook%2Freact"
fetch("https://api.microforge.studio/v1/contributors?repo_name=facebook%2Freact")
package main

import (
  "fmt"
  "net/http"
  "io/ioutil"
)

func main() {
  url := "https://api.microforge.studio/v1/contributors?repo_name=facebook%2Freact"

  req, _ := http.NewRequest("GET", url, nil)
  
  res, _ := http.DefaultClient.Do(req)
  defer res.Body.Close()
  body, _ := ioutil.ReadAll(res.Body)

  fmt.Println(res)
  fmt.Println(string(body))
}
import requests

url = "https://api.microforge.studio/v1/contributors?repo_name=facebook%2Freact"

response = requests.request("GET", url)

print(response.text)
[
  {
    "user_id": 12345,
    "email": "john@example.com",
    "handle": "johndev",
    "avatar_url": "https://github.com/johndev.png",
    "name": "John Developer",
    "blog": "https://johndev.com",
    "location": "San Francisco, CA",
    "bio": "Full-stack developer",
    "twitter_username": "johndev",
    "country": "US",
    "company": "Google"
  }
]