Since neither Repopular, nor Github have a RSS of these trending repos, I wanted to get a list of these. Here is how easy it is with YQL.
How we do it
Go to YQL console. Give the SQL query to get the data from the webpage.
where url="repopular.com" and css="div.pad a"is the magic which select the webpage, and also what DOM elemenst we are interested in.
We get this data in JSON format which is munged to get the list of links.
This list of links is passed via
is_github_projectwhich gets me just the Github projects.
And we are done.
PS. YQL is amazing.
Thank you for reading the Agiliq blog. This article was written by shabda on Oct 24, 2010 in API .
You can subscribe ⚛ to our blog.
We love building amazing apps for web and mobile for our clients. If you are looking for development help, contact us today ✉.
Would you like to download 10+ free Django and Python books? Get them here