Created
December 21, 2013 15:41
-
-
Save rasmuserik/8070963 to your computer and use it in GitHub Desktop.
Get list of upcoming startupweekend events.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# npm install request; coffee startupweekends.coffee | |
(require "request") "http://swoop.startupweekend.org/cities", (err, _, result) -> | |
events = for e in JSON.parse(result).filter((e) -> e.upcoming_programs.length > 0) | |
[e.upcoming_programs[0].events[0].start_date.slice(0,10), e.country, e.city, e.upcoming_programs[0].events[0].website].join(" ") | |
console.log events.sort().join "\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment