google / google/fonts

Include font license url in Developer API JSON response

Open
#2,799 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

Since the font file urls can be accessed via the Developer API, and the font's license needs to be distributed with those files, it would be helpful to include the url to the font's license ".txt" file in the Developer API JSON response.

The url could be placed in the "files" field:
` "files": { `
` "regular": "http://themes.googleusercontent.com/static/fonts/antic/v4/hEa8XCNM7tXGzD0Uk0AipA.ttf", `
` "license": "http:///OFL.txt" `
` }`

or a new "license" field could be added that includes information on what license the font has been released under along with the url to the file:
` "license": { `
` "type": "OFL/UFL/APACHE", `
` "file": "http:///.txt" `
`}`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.