Update stats.rb

Added the rest of the stats API.