Assignment 1 Anthony Sosso. The App SossoStats View player statistics for EA SPORTS NHL /r/ea_nhl...
-
Upload
hannah-gray -
Category
Documents
-
view
216 -
download
0
description
Transcript of Assignment 1 Anthony Sosso. The App SossoStats View player statistics for EA SPORTS NHL /r/ea_nhl...
Assignment 1
Anthony Sosso
The App
• SossoStats• View player statistics for EA SPORTS NHL
/r/ea_nhl clubs– Herpaderps, Puck Goes First, Reddit Aliens
Components
Mobile App• Vanilla Android• List views, radio buttons• AsyncTask• ProgressDialog• JSON parsing
Server• Python using Flask web
framework• BeautifulSoup for scraping• Jsonpickle for object->json• Queue for threading• Hosted on Heroku
Screenshots
Screenshots
Screenshots
App flow
• Startup • Select club, fetch stats• HTTP GET to server• Server HTTP GET of EA pages• Server Returns JSON of requested club• Renders with list view• Detail view onClick
Helpful Development Techniques
Server• Aptana for rapid python
dev, variable inspection• Simple scripts before
wrapping with Flask• Mocking EA page with
Dropbox public file
Client• Mocking web response with
simple strings• Eclipse for
inspection/debugging
Questions?