Method: Unsplash::Stats.total

Defined in:
lib/unsplash/stats.rb

.totalHash

Get a list of statistics regardling Unsplash as a whole.

Returns:

  • (Hash)

    The numbers.



9
10
11
# File 'lib/unsplash/stats.rb', line 9

def total
  JSON.parse(connection.get("/stats/total").body)
end