vlead / vlabs-analytics-service

This repository will hold the code and documents related to the lab usage tracking server.
Other
0 stars 3 forks source link

Setup cron job in openedx server VM ruinng Virtual Labs to dump user analytics from edx database to analytics database #21

Open ksripathi opened 6 years ago

ksripathi commented 6 years ago

Requirement is to build the REST API to get the active, inactive and registered users in vlabs-openedx platform. After research on openedx API documentation its concluded that there is no existing API in to obtain these details.

python script https://github.com/vlead/vlabs-analytics-service/blob/analytics-apis/src/deployment/index.org#script-to-get-openedx-user-analytics is written to fetch the required data from edx database which dumps the analytics into analytcs database

ksripathi commented 6 years ago

This python script is to be executed in openedx platform running machine for every 24 hours (i,e 1 day) thereby we can get openedx user analytics data in date wise