Institutions, especially fully-online programs, have to meet a high standard of efficacy to ensure their students are learning what they need to be successful. LearningStudio offers a variety of tools to aid administrators in demonstrating program success; the most basic level of data collection is the time spent in the course.
The LearningStudio User Interface tracks the time that students spend throughout the course - on all content items and learning tools. This API allows your app to add information to that collection. If your app replicates features of the User Interface, you are strongly encouraged to leverage these APIs. This includes rendering content, providing an alternate threaded discussions experience, and exams.
Additionally, if you are developing a third party application where students make demonstrable achievements, you can report these activities in the Activity Tracking API. This is similar in concept to the Tin Can API or IMS Global's Caliper Analytics initiative.
Note: These APIs only write data to LearningStudio. Analytics cannot be retrieved via API. The Activity Tracking API does issue pub/sub events, however, and institutions can retrieve the data from all these APIs using their Enterprise Reporting product suite.