Google Data client libraries are available to help you write client applications
that use the YouTube Data API.

Client libraries are available for Java, .NET, PHP, Python and Objective-C. For
each language, the client library provides tools and an abstraction layer,
letting you construct queries and use response data without having to create
HTTP requests or process HTTP responses by hand. Each client library provides
classes that correspond to the elements and data types that the API uses. Each
client library also provides extensions for specific Google services that have
Data APIs.

This page provides links to the documentation and tutorials, downloads and
sample code available to help developers write client applications using any of
the languages listed above. It also links to other documents and sample code
explaining how to add API functionality to your site using JavaScript. Finally,
this page lists additional resources that are not specific to a particular
language.

## Client Libraries

### Java

The Java client library is provided by Google.

|---|---|
| **Documentation** - [Getting Started Guide](https://developers.google.com/api-client-library/java) - [Reference Guide](https://developers.google.com/api-client-library/java/google-api-java-client/reference/1.20.0) (Javadoc) - [Setup Instructions](https://developers.google.com/api-client-library/java/google-api-java-client/setup) | **Downloads** - [Project main page](https://developers.google.com/api-client-library/java/google-api-java-client/download) |
| **Sample code** - [YouTube Data API code samples](https://developers.google.com/youtube/data/code_samples/java) - [YouTube Analytics API code samples](https://developers.google.com/youtube/analytics/v1/code_samples/java) ||

### .NET

The .NET client library is provided by Google and allows desktop, web and mobile
application development.

|---|---|
| **Documentation** - [Getting Started Guide](https://developers.google.com/api-client-library/dotnet/get_started) - [Reference Guide](https://developers.google.com/api-client-library/dotnet/release_notes) (NDoc) | **Downloads** - [Supported APIs](https://developers.google.com/api-client-library/dotnet/apis) - [Downloads page](https://www.nuget.org/packages?q=Google.Apis.youtube&prerelease=true&sortOrder=relevance) |
| **Sample code** - [YouTube Data API code samples](https://developers.google.com/youtube/data/code_samples/dotnet) ||

### PHP

The PHP client library is provided by Google.

|---|---|
| **Documentation** - [Getting Started Guide](https://developers.google.com/api-client-library/php/start/get_started) - [Install the Library](https://developers.google.com/api-client-library/php/start/installation) |   |
| **Sample code** - [YouTube Data API code samples](https://developers.google.com/youtube/data/code_samples/php) - [YouTube Analytics API code samples](https://developers.google.com/youtube/analytics/v1/code_samples/php) ||

### Python

The Python client library is provided by Google.

|---|---|
| **Documentation** - [Getting Started Guide](https://developers.google.com/api-client-library/python/start/get_started) - [Reference Guide](https://developers.google.com/api-client-library/python/reference/pydoc) (pyDocs) | **Downloads** - [Installation guide and sample downloads](https://developers.google.com/api-client-library/python/start/installation) |
| **Sample code** - [API client library samples](https://developers.google.com/api-client-library/python/samples/samples) - [YouTube Data API code samples](https://developers.google.com/youtube/data/code_samples/python) - [YouTube Analytics API code samples](https://developers.google.com/youtube/analytics/v1/code_samples/python) ||

### Objective-C client library

The Objective-C client library is provided by Google.

|---|
| **Downloads** - [Project main page](https://github.com/google/google-api-objectivec-client-for-rest) (GitHub) |

### JavaScript (JSON)

|---|
| **Documentation** - [API Client library](https://developers.google.com/api-client-library/javascript/start/start-js) |
| **Sample code** - [YouTube Data API code samples](https://developers.google.com/youtube/data/code_samples/javascript) - [YouTube Analytics API code samples](https://developers.google.com/youtube/analytics/v1/code_samples/javascript) |

<br />

[Back to top](https://developers.google.com/youtube/code#top)

<br />