Skip to content

vu-rdm-tech/sram_report

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Goals

Usage

Rename config.template.py to config.py and set an SRAM organization API key and an absolute path to the data directory as DATA_DIR.

Add <path to python>/python <path to script>/sram_tasks.py to you crontab. You can schedule the script to run multiple times a day. The script produces output with a weeknumber in the name. If output is already present data collection is skipped, so you will end up with weekly output.

Ouput

  1. data/{year}{week}-sram_organisation.json output of /api/organisations/v1.
  2. data/{year}{week}-sram_members.json membership and open invitation count per user email address.
  3. data/{year}{week}-sram_collaboration_membercount.json membership and open invitation count per CO.
  4. data/{year}{week}-sram_report.xlsx 2 and 3 in excel format.

data/log/sram-tasks_{year}{month}.log, some basic logging.

About

SRAM CO invitation and membership reporting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages