26 Feb '13, 10pm
Hey @songkick, just wrote a post on creating one of my first ruby apps whilst @flatironschool: Songkick-to-Calendar.
The two core pieces of functionality needed for my app to work hinged on creating ical files and fetching data from Songkick’s API. While there would eventually have to be code that ties these two pieces together, it made the most sense to me to write them separately (again, breaking the problem down to smaller parts). Here’s the inital code I wrote to create an ical file. Most of it comes directly from the Icalendar gem.