Method: POST
URL: https://www.wellcomemat.com/api/analytics/popular.php

Notes:

  1. This endpoint returns popular video data. You can specify the number of popular videos to return with the num parameter.

  2. You may only use one or none of shared, hash, and filter.

Parameters

KeyTypeDescription
keytext{{key}}
secrettext{{secret}}
start_datetextRequired [YYYY-MM-DD hh:mm:ss]
end_datetextRequired [YYYY-MM-DD hh:mm:ss]
sharedtextIf request Rolled-up Reporting [“true”,“false”]
hashtextFocuses view query on the given Media Hash
filtertextCustom filter can be created (“vv.media_id = 214122”)
debugtext[“true”,“false”]
numtextNumber of returned results [Integer]

Response

type AnalyticsPopularResponse = {
  success: 0 | 1;
  data: {
    hash: string;
    title: string;
    count: number;
  };
  google_chart: string; // (with escaped characters)
  error: string;
  warnings: string;
};