Forums : Ohloh API Discussion

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.blackduck.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

Retrieve license information?

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

itripn over 17 years ago
 

Hi,

I am interested in this, too.

Regards,
Raphael

rvullriede almost 17 years ago
 

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

Anonymous Coward almost 17 years ago
 

I've added license information to the API.

When you get the XML for a project, there are now `elements that include the licensename, which is the short unique ID that Ohloh uses to identify licenses, as well as thenice_name`, which is the full official name of the license.

Let me know if there's any trouble with this.

Thanks,
Robin

Robin Luckey almost 17 years 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

rvullriede almost 17 years 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.

Robin Luckey almost 17 years ago