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]
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
You can use Ohcount. License detection was added to it not long 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
Hi,
This was really fast! Many thanks for this!
One Question: Is it possible to include the homepage url of the license, too?
Raphael
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.