Totalshares is a ruby gem that provides classes and a command line tool to fetch the number of shares on various social networks of a specific webpage or an entire website.