Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

license-api

Unofficial REST API for https://choosealicense.com/

API

Get All Licenses

curl -f https://licenseapi.herokuapp.com/licenses

Get Single License

*Use the id field from the all licenses response.

curl -f https://licenseapi.herokuapp.com/licenses/gpl-3.0

Get Rules

curl -f https://licenseapi.herokuapp.com/rules

Get API version

curl -f https://licenseapi.herokuapp.com/version

Get API Status

curl -f https://licenseapi.herokuapp.com/status

CLI

https://github.com/cmccandless/license-cli

Rate Limiting

Requests from a single host are limited to 200/day, 50/hour