Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jun 9, 2026. It is now read-only.

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Outline

Open Source API Client

godoc

This package is used to connect and query the Open Source API. This uses the internal data modeling of the API to preform requests over the line.

Example

package main

import (
	"github.com/opensourceorg/api/client"
	"log"
)

func ohshit(err error) {
	if err != nil {
		panic(err)
	}
}

func main() {
	license, err := client.Get("Apache-2.0")
	ohshit(err)
	log.Printf("%s\n", license.Name)
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.