Get NFL player data from yahoo fs api

how about extracting this to a method instead of assigning it to a variable?