Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Latest commit

 

History

History
45 lines (28 loc) · 678 Bytes

README.md

File metadata and controls

45 lines (28 loc) · 678 Bytes

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