In Office365 site we can have option "Popularity trends" which will give a excel with usage details.
We can get those usage details in code with help of associated DB. (Search the document "sharepoint-2013-usage-reports-where-are-the-details" in sharepoint.stakeexchange.com site)
Is there any other possible ways are available to get these details in C#?
Is there any API available to get usage details from ofice365 site?