Questions tagged [youtube.net-api]

The YouTube Data API v3 provides various functionality to implement YouTube in an application by using the Google APIs Client Library for .NET.

The YouTube Data API v3 provides various functionality to implement YouTube in an application by using the Google APIs Client Library for .NET.

This API can be used to get results on search queries, as well as to pull and manage (insert, update, and delete) YouTube internal resources like videos, channels or playlists.

71 questions
19
votes
9 answers

How do I get a random YouTube video with the YouTube API?

I need a way of getting a completely random YouTube video. No restriction. How can I do with with the YouTube API? ** edit * OK as requested here is what i tried so far: 1 - went through the api and examples at youtube dev site.…
b0x0rz
  • 3,953
  • 8
  • 52
  • 82
6
votes
1 answer

List YouTube videos using C# and Google.Apis.YouTube.v3

I'm trying to perform some YouTube video interaction using the latest version of Google.Apis.YouTube.v3 (as of Jan 15, 2014). I have done a NuGet on the following: Google.Apis.YouTube.v3 Google.Apis.Authentication Google.Apis.Drive.v2 (not…
user3197160
  • 251
  • 1
  • 2
  • 6
5
votes
1 answer

Youtube C# .NET API : Uploading video and getting events when finished

This is the code to upload a video to Youtube using the C# .NET API from a Windows Forms desktop application: YouTubeRequestSettings settings = new YouTubeRequestSettings("whatwill come here ?", "my api key", "my…
Akku
  • 4,373
  • 4
  • 48
  • 67
5
votes
2 answers

Youtube API v3 for ASP.NET Working Example

I am looking at the documentation for hours now. May be someone here can help me out. I am planning to add our project a functionality which will provide users to upload their videos to YouTube directly without the need to logon to Youtube.com and…
ilter
  • 4,030
  • 3
  • 34
  • 51
5
votes
6 answers

Need help to get more than 100 results using YouTube search API

Is there some way I can retrieve more than 100 results using YouTube API? I can retrive upto 100 results using this query string: https://gdata.youtube.com/feeds/api/videos?q=football&orderby=relevance&start-index=1&max-results=10&v=2 But when I try…
user1810724
  • 83
  • 1
  • 1
  • 4
4
votes
2 answers

400 Bad Request Error uploading videos to YouTube using C# YouTube API

I can't seem to get my ASP.net application to succesfully publish to my YouTube account but not matter what I do I get a 400 Bad Request error . I used the YouTube documentation to create my code and obtaining a dev key. Also, I am not receiving…
pat8719
  • 1,700
  • 1
  • 26
  • 47
4
votes
0 answers

YouTube Data API (.NET) Code Samples Do Not Work

I am trying to set up and run the YouTube Data API (.NET) code samples (my_uploads class, in particular) in the Visual Studio 2010, however, I am constantly facing errors. Apparently, the code itself already contains such mistakes like misspelled…
Arthur
  • 223
  • 2
  • 16
4
votes
1 answer

How do I get video info for Youtube Vevo Videos?

I was trying to play YouTube Videos outside YT player, When I was trying to download info using "http://www.youtube.com/get_video_info?video_id=" for Vevo Channel videos it gives the following…
3
votes
3 answers

Uploading Large files to YouTube API (.NET)

I am trying to upload Videos to YouTube API... It's working fine if my video file is < 4 MB.. Below is my code.. i think the issue is related to Request Length?! Update: the error i am getting is "Cannot close stream until all bytes are…
Taha
  • 87
  • 1
  • 7
3
votes
3 answers

YouTube C# API V3, how do you resume an interrupted upload?

I can't work out how to resume an interrupted upload in V3 of the C# YouTube API. My existing code uses V1 and works fine but I'm switching to V3. If I call UploadAsync() without changing anything, it starts from the beginning. Using Fiddler, I can…
3
votes
10 answers

Remove branding and title link from embeded youtube video

Can anyone please suggest a way to remove link back to youtube and branding (watermark or logo) from embedded youtube video. The below tag remove branding: