9
Assignment 1 Anthony Sosso

Assignment 1 Anthony Sosso. The App SossoStats View player statistics for EA SPORTS NHL /r/ea_nhl clubs Herpaderps, Puck Goes First, Reddit Aliens

Embed Size (px)

DESCRIPTION

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

Citation preview

Page 1: Assignment 1 Anthony Sosso. The App SossoStats View player statistics for EA SPORTS NHL /r/ea_nhl clubs  Herpaderps, Puck Goes First, Reddit Aliens

Assignment 1

Anthony Sosso

Page 2: Assignment 1 Anthony Sosso. The App SossoStats View player statistics for EA SPORTS NHL /r/ea_nhl clubs  Herpaderps, Puck Goes First, Reddit Aliens

The App

• SossoStats• View player statistics for EA SPORTS NHL

/r/ea_nhl clubs– Herpaderps, Puck Goes First, Reddit Aliens

Page 3: 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

Page 4: Assignment 1 Anthony Sosso. The App SossoStats View player statistics for EA SPORTS NHL /r/ea_nhl clubs  Herpaderps, Puck Goes First, Reddit Aliens

Screenshots

Page 5: Assignment 1 Anthony Sosso. The App SossoStats View player statistics for EA SPORTS NHL /r/ea_nhl clubs  Herpaderps, Puck Goes First, Reddit Aliens

Screenshots

Page 6: Assignment 1 Anthony Sosso. The App SossoStats View player statistics for EA SPORTS NHL /r/ea_nhl clubs  Herpaderps, Puck Goes First, Reddit Aliens

Screenshots

Page 7: Assignment 1 Anthony Sosso. The App SossoStats View player statistics for EA SPORTS NHL /r/ea_nhl clubs  Herpaderps, Puck Goes First, Reddit Aliens

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

Page 8: Assignment 1 Anthony Sosso. The App SossoStats View player statistics for EA SPORTS NHL /r/ea_nhl clubs  Herpaderps, Puck Goes First, Reddit Aliens

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

Page 9: Assignment 1 Anthony Sosso. The App SossoStats View player statistics for EA SPORTS NHL /r/ea_nhl clubs  Herpaderps, Puck Goes First, Reddit Aliens

Questions?