Comments (2)
@jdaguil here's the base to call the DejaCode API in with Requests.
You should be able to write a script to collect all license key based on the following:
import requests
api_url = 'https://enterprise.dejacode.com/api/v2/licenses/?format=json'
headers = {'Authorization': 'Token YOUR_API_KEY_HERE'}
response = requests.get(api_url, headers=headers)
response.json()
from scancode-toolkit.
This is all done now. The etc/scripts/synclic.py script can sync with SPDX and DejaCode. More sync sources could be added as needed.
from scancode-toolkit.
Related Issues (20)
- GPL-3.0 with extra conditions recognized as "(GPL-3.0-only AND GPL-1.0-or-later) AND (GPL-1.0-or-later AND LicenseRef-scancode-nilsson-historical)"
- Check License Detection against failures in go-license-detector HOT 2
- 'percentage_of_license_text' for 'LICENSE' file HOT 3
- Regression in debsrc package license detection HOT 1
- Check for possible new data/geo licenses HOT 6
- Consider new "do not compete" license HOT 2
- Add support for Conda environment.yml
- Some weird licenses spotted while on a license search treck
- Demote https://github.com/nexB/scancode-toolkit/blob/develop/src/licensedcode/data/rules/proprietary-license_272.RULE to mere clue
- Do not consider Pypi deps version with a * as resolved
- Support SPDX JSON output format HOT 2
- A whole bunch of weird licenses: do we detect them correctly?
- --only-findings doesn't filter out uninteresting files in --package mode HOT 3
- Review and use correct license for MSFT related URL rules
- Got CC-BY-NC-SA-3.0 for file mentioning elements under CC-BY-SA-3.0 HOT 3
- New redis v2 license HOT 3
- Possible memory leak in license matching for large files HOT 1
- "Go license" is barely a license clue
- Look in package-ecosystem specific key-files for referenced licenses
- New license in libpng/pngcrush? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scancode-toolkit.