Get video data

Getting single video data

If you want to get data for specific video use the following API call:

POST https://<<brid_api_url>>/apiv3/video/view/{{VIDEO_ID}}.json

Example

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://<<brid_api_url>>/apiv3/video/view/{{VIDEO_ID}}.json",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => array(
    "User-Agent: Api | BridVideo"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("https://api.brid.tv/apiv3/video/view/{{VIDEO_ID}}.json")
  .method("GET", null)
  .addHeader("User-Agent", "Api | BridVideo")
  .build();
Response response = client.newCall(request).execute();
var https = require('follow-redirects').https;
var fs = require('fs');

var options = {
  'method': 'GET',
  'hostname': 'api.brid.tv',
  'path': '/apiv3/video/view/{{VIDEO_ID}}.json',
  'headers': {
    'User-Agent': 'Api | BridVideo'
  },
  'maxRedirects': 20
};

var req = https.request(options, function (res) {
  var chunks = [];

  res.on("data", function (chunk) {
    chunks.push(chunk);
  });

  res.on("end", function (chunk) {
    var body = Buffer.concat(chunks);
    console.log(body.toString());
  });

  res.on("error", function (error) {
    console.error(error);
  });
});

req.end();
require "uri"
require "net/http"

url = URI("https://api.brid.tv/apiv3/video/view/{{VIDEO_ID}}.json")

https = Net::HTTP.new(url.host, url.port);
https.use_ssl = true

request = Net::HTTP::Get.new(url)
request["User-Agent"] = "Api | BridVideo"

response = https.request(request)
puts response.read_body