Client libraries

While you can use Video Intelligence by making direct requests, we provide client libraries for several popular languages. Video Intelligence client libraries are built on Google Cloud Client Libraries. This common infrastructure provides functionality for API-specific library implementations, but it also provides types and methods that you may use directly when using any Cloud API.

Available client libraries

Video Intelligence provides client libraries and guides for the following languages:

Python

This page provides reference documentation and related resources for the Video Intelligence Python client library.

Resource Description
Library reference Video Intelligence Python library reference
Language guide General guide for using Python with GCP
GitHub repository Source code and additional documentation for this library
Quickstart Introduction to using this library
Stack Overflow Questions tagged with Video Intelligence and Python

Installation

To install the client library:

pip install --upgrade google-cloud-videointelligence

Java

This page provides reference documentation and related resources for the Video Intelligence Java client library.

Resource Description
Library reference Video Intelligence Java library reference
Language guide General guide for using Java with GCP
GitHub repository Source code and additional documentation for this library
Quickstart Introduction to using this library
Stack Overflow Questions tagged with Video Intelligence and Java

Installation

To install the client library:

If you are using Maven, add the following to your pom.xml file. For more information about BOMs, see The Google Cloud Platform Libraries BOM.

<dependencyManagement>
  <dependencies>
    <dependency>
      <groupId>com.google.cloud</groupId>
      <artifactId>libraries-bom</artifactId>
      <version>5.4.0</version>
      <type>pom</type>
      <scope>import</scope>
    </dependency>
  </dependencies>
</dependencyManagement>

<dependencies>
  <dependency>
    <groupId>com.google.cloud</groupId>
    <artifactId>google-cloud-video-intelligence</artifactId>
  </dependency>

If you are using Gradle, add the following to your dependencies:

compile 'com.google.cloud:google-cloud-video-intelligence:1.2.1'

If you are using sbt, add the following to your dependencies:

libraryDependencies += "com.google.cloud" % "google-cloud-video-intelligence" % "1.2.1"

If you're using IntelliJ or Eclipse, you can add client libraries to your project using the following IDE plugins:

The plugins provide additional functionality, such as key management for service accounts. Refer to each plugin's documentation for details.

Node.js

This page provides reference documentation and related resources for the Video Intelligence Node.js client library.

Resource Description
Library reference Video Intelligence Node.js library reference
Language guide General guide for using Node.js with GCP
GitHub repository Source code and additional documentation for this library
Quickstart Introduction to using this library
Stack Overflow Questions tagged with Video Intelligence and Node.js

Installation

To install the client library:

For more information, see Setting Up a Node.js Development Environment.

npm install --save @google-cloud/video-intelligence

C#

This page provides reference documentation and related resources for the Video Intelligence C# client library.

Resource Description
Library reference Video Intelligence C# library reference
Language guide General guide for using C# with GCP
GitHub repository Source code and additional documentation for this library
Quickstart Introduction to using this library
Stack Overflow Questions tagged with Video Intelligence and C#

Installation

To install the client library:

For more information, see Setting Up a C# Development Environment.

Install-Package -Pre Google.Cloud.VideoIntelligence.V1

Go

This page provides reference documentation and related resources for the Video Intelligence Go client library.

Resource Description
Library reference Video Intelligence Go library reference
Language guide General guide for using Go with GCP
GitHub repository Source code and additional documentation for this library
Quickstart Introduction to using this library
Stack Overflow Questions tagged with Video Intelligence and Go

Installation

To install the client library:

For more information, see Setting Up a Go Development Environment.

go get -u cloud.google.com/go/videointelligence/apiv1

PHP

This page provides reference documentation and related resources for the Video Intelligence PHP client library.

Resource Description
Library reference Video Intelligence PHP library reference
Language guide General guide for using PHP with GCP
GitHub repository Source code and additional documentation for this library
Quickstart Introduction to using this library
Stack Overflow Questions tagged with Video Intelligence and PHP

Installation

To install the client library:

composer require google/cloud-videointelligence

Ruby

The Ruby client libraries for Video Intelligence are currently released as Beta.

This page provides reference documentation and related resources for the Video Intelligence Ruby client library.

Resource Description
Library reference Video Intelligence Ruby library reference
Language guide General guide for using Ruby with GCP
GitHub repository Source code and additional documentation for this library
Quickstart Introduction to using this library
Stack Overflow Questions tagged with Video Intelligence and Ruby

Installation

To install the client library:

For more information, see Setting Up a Ruby Development Environment.

gem install google-cloud-video_intelligence

Authentication and access control

The Video Intelligence quickstart guides provide basic information on authentication and access control. For more detailed information, see the following: