Amy Friedman

27 Jan 2015

There is a disconnect between what is advocated as a healthy lifestyle and what people truly accomplish each day. With better design we can improve the usability of technologies and strengthen the importance of healthy living to the everyday person.  DonorChoose.org is a charity for children in need that allows schools to request donations, I chose to focus on Health and Sports category as it is important that children have the opportunity to play sports, be active and live a healthy lifestyle. I am interested to see what activities different areas throughout the country are focusing on to advocate for a strong community and better life. I may also try to utilize census information to compare the different areas that have requested donations, Fitbit data, and Natural Disasters/Weather.

XML Data Output

<?xml version=”1.0″ encoding=”UTF-8″?>
<o><breadcrumb class=”array”><e class=”array”><e type=”string”>subject2</e><e type=”string”>-2</e><e type=”string”>Health &amp;amp; Sports</e></e></breadcrumb><index type=”string”>0</index><max type=”string”>10</max><proposals class=”array”><e class=”object”><additionalSubjects class=”array”><e class=”object”><groupId type=”string”>2</groupId><id type=”string”>2</id><name type=”string”>Sports</name></e></additionalSubjects><city type=”string”>Charlotte</city><costToComplete type=”string”>89.34</costToComplete><expirationDate type=”string”>2015-05-20</expirationDate><freeShipping type=”string”>true</freeShipping><fulfillmentTrailer type=”string”>My students need an IPad with wifi capability.</fulfillmentTrailer><fundURL type=”string”>https://secure.donorschoose.org/donors/givingCart.html?proposalid=1474408&amp;donationAmount=45&amp;utm_source=api&amp;utm_medium=feed&amp;utm_content=fundlink&amp;utm_campaign=DONORSCHOOSE</fundURL><fundingStatus type=”string”>needs funding</fundingStatus><gradeLevel class=”object”><id type=”string”>4</id><name type=”string”>Grades 9-12</name></gradeLevel><id type=”string”>1474408</id><imageURL type=”string”>https://a248.e.akamai.net/f/248/48906/1h/s3.amazonaws.com/donorschoose-storage/dc_prod/images/user/small/u2785249_sm.jpg?timestamp=1421767951891</imageURL><latitude type=”string”>35.176302000000000</latitude><longitude type=”string”>-80.756732000000000</longitude><matchingFund class=”object”><amount type=”string”>0.00</amount><description type=”string”/><faqURL type=”string”/><logoURL type=”string”/><matchingKey type=”string”/><name type=”string”/><ownerRegion type=”string”/><type type=”string”/></matchingFund><numDonors type=”string”>5</numDonors><percentFunded type=”string”>84</percentFunded><povertyLevel type=”string”>High Poverty</povertyLevel><proposalURL type=”string”>http://www.donorschoose.org/project/ap-stats-simulator/1474408/?utm_source=api&amp;utm_medium=feed&amp;utm_content=bodylink&amp;utm_campaign=DONORSCHOOSE</proposalURL><resource class=”object”><id type=”string”>2</id><name type=”string”>Technology</name></resource><schoolName type=”string”>East Mecklenburg Senior High School</schoolName><schoolTypes class=”array”><e class=”object”><id type=”number”>12</id><name type=”string”>Horace Mann (partner)</name></e><e class=”object”><id type=”number”>4</id><name type=”string”>Magnet</name></e></schoolTypes><schoolUrl type=”string”>http://www.donorschoose.org/school/east-mecklenburg-senior-high-school/1596/</schoolUrl><shortDescription type=”string”>Typical class day is me giving notes and examples of relevance to real world math. Being able to use technology in the class keeps the students engaged. The students that enter the doors of my…</shortDescription><snippets class=”array”/><state type=”string”>NC</state><stateFullName type=”string”>North Carolina</stateFullName><subject class=”object”><groupId type=”string”>4</groupId><id type=”string”>8</id><name type=”string”>Mathematics</name></subject><teacherFFPromoCodeFund class=”object”><code type=”string”>SPARK</code><deadline type=”string”>January 27</deadline><description type=”string”/><eligible type=”string”>true</eligible><logoURL type=”string”/><matchingKey type=”string”>teacherProm6</matchingKey><name type=”string”>Matching Donor</name><ownerRegion type=”string”>Marketing</ownerRegion><type type=”string”>PROMO</type></teacherFFPromoCodeFund><teacherId type=”string”>2785249</teacherId><teacherName type=”string”>Mr. Koppe</teacherName><teacherTypes class=”array”/><thumbImageURL type=”string”>https://a248.e.akamai.net/f/248/48906/1h/s3.amazonaws.com/donorschoose-storage/dc_prod/images/user/thumbnail/u2785249_thmb.jpg?timestamp=1421767951891</thumbImageURL><title type=”string”>AP Stats Simulator</title><totalPrice type=”string”>549.64</totalPrice><zip type=”string”>28212-6899</zip><zone class=”object”><id type=”string”>301</id><name type=”string”>North Carolina</name></zone></e><e class=”object”><additionalSubjects class=”array”><e class=”object”><groupId type=”string”>5</groupId><id type=”string”>17</id><name type=”string”>Extracurricular</name></e></additionalSubjects><city type=”string”>Decatur</city><costToComplete type=”string”>278.58</costToComplete><expirationDate type=”string”>2015-05-21</expirationDate><freeShipping type=”string”>false</freeShipping><fulfillmentTrailer type=”string”>My students need 20 volleyballs to begin practicing for their inaugural season.</fulfillmentTrailer><fundURL type=”string”>https://secure.donorschoose.org/donors/givingCart.html?proposalid=1473901&amp;donationAmount=45&amp;utm_source=api&amp;utm_medium=feed&amp;utm_content=fundlink&amp;utm_campaign=DONORSCHOOSE</fundURL><fundingStatus type=”string”>needs funding</fundingStatus><gradeLevel class=”object”><id type=”string”>4</id><name type=”string”>Grades 9-12</name></gradeLevel><id type=”string”>1473901</id><imageURL type=”string”>https://a248.e.akamai.net/f/248/48906/1h/s3.amazonaws.com/donorschoose-storage/dc_prod/images/user/small/u2783710_sm.jpg?timestamp=1421695293769</imageURL><latitude type=”string”>36.331973000000000</latitude><longitude type=”string”>-94.445434000000000</longitude><matchingFund class=”object”><amount type=”string”>0.00</amount><description type=”string”/><faqURL type=”string”/><logoURL type=”string”/><matchingKey type=”string”/><name type=”string”/><ownerRegion type=”string”/><type type=”string”/></matchingFund><numDonors type=”string”>12</numDonors><percentFunded type=”string”>73</percentFunded><povertyLevel type=”string”>Highest Poverty</povertyLevel><proposalURL type=”string”>http://www.donorschoose.org/project/empowering-girls-in-poverty-through-voll/1473901/?utm_source=api&amp;utm_medium=feed&amp;utm_content=bodylink&amp;utm_campaign=DONORSCHOOSE</proposalURL><resource class=”object”><id type=”string”>3</id><name type=”string”>Supplies</name></resource><schoolName type=”string”>Decatur High School</schoolName><schoolTypes class=”array”><e class=”object”><id type=”number”>3</id><name type=”string”>Special Education</name></e><e class=”object”><id type=”number”>12</id><name type=”string”>Horace Mann (partner)</name></e></schoolTypes><schoolUrl type=”string”>http://www.donorschoose.org/school/decatur-high-school/47927/</schoolUrl><shortDescription type=”string”>I have noticed a disturbing trend in my district; girls are becoming less involved in school activities, and as a result, there are fewer activities being offered for girls. The district complies…</shortDescription><snippets class=”array”/><state type=”string”>AR</state><stateFullName type=”string”>Arkansas</stateFullName><subject

import com.temboo.core.*;
import com.temboo.Library.DonorsChoose.*;

// Create a session using your Temboo account application details
TembooSession session = new TembooSession("yourUserID", "yourSearchName", "personalKey");

void setup() {
// Run the HealthAndSports Choreo function
runHealthAndSportsChoreo();
}

void runHealthAndSportsChoreo() {
// Create the Choreo object using your Temboo session
HealthAndSports healthAndSportsChoreo = new HealthAndSports(session);

// Set inputs

// Run the Choreo and store the results
HealthAndSportsResultSet healthAndSportsResults = healthAndSportsChoreo.run();

// Print results
println(healthAndSportsResults.getResponse());

}