New API helps open-source developers 'become license-aware'
The Open Source Initiative (OSI), the steward of the Open Source Definition (OSD), announced today it has created a machine readable publication of OSI approved licenses.
According to the organization, the API will allow third parties to "become license-aware", giving businesses everywhere the means to determine if a license is open source or not.
The Open Source Initiative considers this the next "logical step" and quite important, knowing all the copyright and license legal battles going on nowadays, and how expensive they can be.
Open Source Lead at GitHub, Brandon Keepers offered, "A canonical, machine-readable source of license metadata is a great step towards enabling developers to build tools around open source licensing and compliance. We can’t wait to see what the community does with it".
The idea of the API is to become a "hub" and store a central list of "crosswalks and common identifiers to other services". License-aware third parties will be allowed to provide mappings, and pull OSI approval status programmatically.
The API can be found at api.opensource.org. The entire source of the machine readable data is stored in a git, available on this link, and the Open Source Initiative says pull requests are "highly encouraged". Some "very basic" API wrappers have already been published for Python, Go and Ruby.
The Initiative is also encouraging everyone to send their ideas on additional metadata to add to the License specifications: "please feel free to file a bug (or send a patch!) with the licenses repo (https://github.com/opensourceorg/licenses), with some snippits of data as an example", it says.
Published under license from ITProPortal.com, a Net Communities Ltd Publication. All rights reserved.
Photo Credit: rvlsoft/Shutterstock