问题
Like in title, I would like to fetch a list of all available projects on Google Code, best if it can be list + project short description, only this, nothing more is needed.
Is it can be done in an automatic way?
回答1:
You can list hosted projects via category (platform), and/or further drill down with a search, at the link below.
Google Code Project Hosting
回答2:
The FLOSSmole project collects and publishes monthly data about all Google Code projects.
A listing of project info including project name and project summary is available. For example here is a link to the dataset for November 2011:
- http://code.google.com/p/flossmole/downloads/detail?name=gcProjectInfo2011-Nov.txt.bz2
The file format is one project per line, with tab-delimited fields. The first field is the project name and the 8th field is the project summary. So assuming you use wget to grab the file...
wget http://code.google.com/p/flossmole/downloads/detail?name=gcProjectInfo2011-Nov.txt.bz2
bunzip2 gcProjectInfo2011-Nov.txt.bz2
cut -f 1,8 gcProjectInfo2011-Nov.txt
A couple of notes:
- Google Code has over 200,000 projects, so even in summary form, this is a lot of data!
- Obviously this is a snapshot of Google Code projects, not a live, real-time listing. I'm not sure if one exists.
来源:https://stackoverflow.com/questions/4615316/is-there-a-way-to-get-list-of-all-available-projects-on-google-code