<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Calvin Jhunjhnuwala on Medium]]></title>
        <description><![CDATA[Stories by Calvin Jhunjhnuwala on Medium]]></description>
        <link>https://medium.com/@calvinjwala?source=rss-18a86c7e9613------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*5QCo3DkFb1v3Zhbi.jpg</url>
            <title>Stories by Calvin Jhunjhnuwala on Medium</title>
            <link>https://medium.com/@calvinjwala?source=rss-18a86c7e9613------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 16:08:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@calvinjwala/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Group Project or: How I Learned to Stop Worrying About APIs and Embrace Data Scraping]]></title>
            <link>https://medium.com/@calvinjwala/the-group-project-or-how-i-learned-to-stop-worrying-about-apis-and-embrace-data-scraping-228d58c8150b?source=rss-18a86c7e9613------2</link>
            <guid isPermaLink="false">https://medium.com/p/228d58c8150b</guid>
            <dc:creator><![CDATA[Calvin Jhunjhnuwala]]></dc:creator>
            <pubDate>Mon, 01 Dec 2014 07:26:00 GMT</pubDate>
            <atom:updated>2014-12-01T07:30:17.839Z</atom:updated>
            <content:encoded><![CDATA[<h2></h2><p><strong>The Group Project or: How I Learned to Stop Worrying About APIs and Embrace Data Scraping</strong></p><p>Last week, during some cloud covered days amidst the skyscrapers in the tech-Mecca that is San Francisco, my group was at a crossroads. Our original idea to build a travel website without a final destination got off to a rough start when the travel APIs we wanted to use were simply incompatible. That’s when we were introduced to a lovely tool called <strong>Nokogiri</strong>. But, before I get into the nooks and crannies of my experience, let’s hit the rewind button.</p><p>By definition, a <strong>cohort</strong> is “a group of people banded together or treated as a group.” I can say with 100% confidence that I am part of a cohort. Since joining General Assembly, I have laughed, cried, sweat, learned, and stressed with a group of roughly 20 people for the past 9 weeks, from sun up til’ sun down. The word has taken a whole new meaning for me.</p><p>We have learned the basics of CS and how to build a website, stepping-stones for what we hope will be a life-long career in web development. Personally, I have a background in marketing and advertising, so dealing with the web is something I am familiar with — however, building websites is a different ball game. We had been at it for 7 weeks, working on Javascript, Ruby, building two of our own projects. Then, it finally came time to work with other people.</p><p>8 weeks in, with the group project on the horizon, panic seeped into the room like fog over the Bay. Who were we going to have to work with, what was going to be the group project, and everyone’s ultimate fear: how the hell were we going to all push and pull to Github sans any issues. It turns out that the things you worry about the most never end up as bad as you fear. I was placed with three friends, Raj, Ryan, and Switch and we began on solid ground.</p><p>Now, this is where I go back to the sweet giving tree that is Nokogiri. We pivoted to Switch’s app idea: a real-estate app that could estimate your ROI for those interested in buying a unit to rent out. Luckily, Switch had already created a formula for the app that estimated taxes and the ROI — what we needed was <strong>the data</strong>.</p><p>We researched the APIs of Redfin, Zillow, and Trulia, but those did not pan out for us either. Redfin did not have an API and Zillow and Trulia were difficult to work with. Since we were going to use Nokogiri anyway for our rent average, we decided to use that for all our data. I was in charge of finding the average rental costs of a studio, 1 bedroom, 2 bedroom, etc. Using Nokogiri to scrap the data, I used DOM to figure out which CSS div to target.</p><p>From there, I made sure the data was coming in and when that was successful, I used Ruby to loop over the data. I took the first 6 pages of Craigslist rentals, separated them into groups by number of bedrooms in the house, totaled the rent prices on a page, and found out the average for each group.</p><p>I was pleasantly surprised I was able to figure out the formula and do so efficiently, taking only a day to get it done. As a team, we were one of the first to finish. Our presentation went really well, and the best part about it was that it worked! <em>Small victories in an otherwise complicated world</em>. You can check out the final product here: <a href="http://moonwalk.heroku.com/">Moonwalk</a>. As for why we named it <strong>Moonwalk</strong>, sign up and the reason should sing out to you.</p><p>Overall, it was a great learning experience. I know when I join a company in the future, I will have to get better at these skills that I used in this project. Sometimes what you want to do just won’t work out; looking for a simpler, more efficient way may do the trick. As coding continues, so do the life lessons it holds. I cannot wait to uncover more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*aqcgRCBt-xFQivlBMtzzlg.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=228d58c8150b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>