Retrieve license information?

Avatar

itripn

about 1 year ago

Is it possible to retrieve the license(s) associated with a project? When I make a project query, I don't see that in the results, but the Ohloh project page shows a License field.

Thanks, Ron


Avatar

rvullriede

about 1 year ago

Hi,

I am interested in this, too.

Regards, Raphael


Avatar

mitchell

about 1 year ago

You can use Ohcount. License detection was added to it not long ago.


Avatar

Robin Luckey

about 1 year ago

I've added license information to the API. When you get the XML for a project, there are now `` elements that include the license `name`, which is the short unique ID that Ohloh uses to identify licenses, as well as the `nice_name`, which is the full official name of the license. Let me know if there's any trouble with this. Thanks, Robin

Avatar

rvullriede

about 1 year ago

Hi,

This was really fast! Many thanks for this! One Question: Is it possible to include the homepage url of the license, too?

Raphael


Avatar

Robin Luckey

about 1 year ago

Yes, this is possible, but it's a slippery slope of putting more and more license data into the project xml...

Perhaps we should make an API page for licenses, so that you can get complete license info from that, and link to that from the project.