socket analytics

Get analytics data at the organization and repository level

  Look up analytics data

  Usage
    $ socket analytics --scope=<scope> --time=<time filter>

  API Token Requirements
    - Quota: 1 unit
    - Permissions: report:write

  Default parameters are set to show the organization-level analytics over the
  last 7 days.

  Options
    --file            Filepath to save output. Only valid with --json/--markdown.
                      Defaults to output to stdout.
    --help            Print this help
    --json            Output result as json
    --markdown        Output result as markdown
    --repo            Name of the repository. Only valid when scope=repo
    --scope           Scope of the analytics data - either 'org' or 'repo', default: org
    --time            Time filter - either 7, 30 or 90, default: 7

  Examples
    $ socket analytics --scope=org --time=7
    $ socket analytics --scope=org --time=30
    $ socket analytics --scope=repo --repo=test-repo --time=30