Jump to content

2 posts in this topic

Recommended Posts

Posted (edited)

What's API ?
Application Programming Interface. A language and message format used by an application program to communicate with the operating system or some other control program such as a database management system (DBMS) or communications protocol. APIs are implemented by writing function calls in the program, which provide the linkage to the required subroutine for execution. Read More Here
 
YouTube Data API
The YouTube Data API allows client applications to retrieve and update YouTube content in the form of Google Data API feeds. Your client application can use the YouTube Data API to fetch video feeds, comments, responses, and playlists, as well as query for videos that match particular criteria. You can also use the API to make authenticated requests to modify this information and to upload new video content to the site. Read More Here
 
Preparations
We first need to install the Google Data Libraries. Head up to http://code.google.com/p/google-gdata/downloads/list then download and install the latest version ( Google_Data_API_Setup_2.0.1.0.msi ). Once done go to http://code.google.com/apis/youtube/dashboard/ ( you need a Gmail for this ) and get yourself an API key.
 
Getting Started
Open a New VB.net Project and add Google.GData.Client.dll, Google.GData.Extensions.dll, Google.GData.YouTube.dll to the references they are located where you installed the Libraries( mine were in C:\Program Files\Google\Google Data API SDK\Samples )
 
 
Step 1
 
Import the libraries to your project :



Imports Google.GData.Client
Imports Google.GData.Extensions
Imports Google.GData.YouTube
Imports Google.GData.YouTube.YouTubeService
Imports Google.GData.Extensions.MediaRss
Imports Google.YouTube
Imports System.Management
Imports System.Net
Imports System.IO

 

Step 2
 
We should authenticate our account by adding our credentials settings, the key you made before.
 

Dim Settings As YouTubeRequestSettings
Dim Request As YouTubeRequest
Settings = New YouTubeRequestSettings("Application Name", "Your Api Key", "Any Youtube Username", "Any's Password")
Request = New YouTubeRequest(settings)

So basically every time you want to execute something ( like,comment,subscribtion..) you'll have to define the user credentials (Username and Password )
 
 

Step 3
 
After we declared ourselves to the API it's time to define the YT (YouTube) video we will be using.
 

Dim VideoUri As Uri
Dim TheVideo As Video
VideoUri = New Uri("http://gdata.youtube.com/feeds/api/videos/" + "Video ID")
TheVideo = request.Retrieve(Of Video)(VideoUri)

Define Uri : Provides an object representation of a uniform resource identifier (URI) and easy access to the parts of the URI. Read more About Uri
Video ID : Let's take http://www.youtube.com/watch?v=cPi85qp-V1A as example. The Video ID is cPi85qp-V1A
 
 

Step 4
 
Step 3 was the final step in the authentication, the funny parts can now get started.
 
To Like (Rate) a Video:
 

TheVideo.Rating = 5;
request.Insert(TheVideo.RatingsUri, TheVideo);

To Dislike a Video:
 

TheVideo.Rating = 1;
request.Insert(TheVideo.RatingsUri, TheVideo);

To Retrieve video comments:
 

Dim comments = request.GetComments(TheVideo)
Dim c As Comment
  For Each c In comments.Entries
    MsgBox(c.Content)
  Next

To Add video comment:
 

Dim c As Comment = New Comment()
c.Content = "Comment Content"
request.AddComment(TheVideo, c)

To Subscribe to a Video channel:
 

Dim s As Subscription = New Subscription
s.Type = SubscriptionEntry.SubscriptionType.channel
s.UserName = TheVideo.Uploader
request.Delete(s)

To Add a Video as Favorite:
 

Dim videoEntryUrl As String = "http://gdata.youtube.com/feeds/api/videos/" + "Video ID"
Dim service As YouTubeService = request.Service
Dim videoEntry As YouTubeEntry = service.Get(videoEntryUrl)
Dim feedUrl As String = "http://gdata.youtube.com/feeds/api/users/default/favorites"
service.Insert(New Uri(feedUrl), videoEntry)

To Remove a Video as Favorite:
 

Dim videoEntryUrl As String = "http://gdata.youtube.com/feeds/api/videos/" + "Video ID"
Dim service As YouTubeService = request.Service
Dim videoEntry As YouTubeEntry = service.Get(videoEntryUrl)
Dim feedUrl As String = "http://gdata.youtube.com/feeds/api/users/default/favorites"
request.Delete(videoEntry)

To Flag a Video:
 

Dim c As Complaint = New Complaint
c.Type = ComplaintEntry.ComplaintType.pron
c.Content = "This video contain pronographic scenes"
request.Insert(TheVideo.ComplaintUri, c)

You can change the complaintype to Hate,pron,Rights,Spam,Violence,Unknown.
 
 
 
 

Enjoy and don't forget to say thanks

Updated by DiDA

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Beach Buggy Blitz Cheats v2024.04.15 +1
      Modded/Hacked App: Beach Buggy Blitz By Vector Unit Inc
      Bundle ID: com.vectorunit.yellow
      App Store Link: https://apps.apple.com/us/app/beach-buggy-blitz/id558204510?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Infinite Coins (Spend some / Get some)

       

      Non-Jailbroken Hack: https://iosgods.com/topic/83108-beach-buggy-blitz-v20240415-jailed-cheats-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/83043-beach-buggy-blitz-cheats-v20240415-1/
      • 28 replies
    • Soul Idle : Two Sides of Girls Cheats v1.1.30 +3
      Modded/Hacked App: Soul Idle : Two Sides of Girls By Pole Position Games Inc.
      Bundle ID: com.poleposition.iOSGirls
      iTunes Store Link: https://apps.apple.com/us/app/soul-idle-two-sides-of-girls/id6504546717?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Dumb Enemies


      Non-Jailbroken & No Jailbreak required hack(s): 
       

      iOS Hack Download Link: https://iosgods.com/topic/186233-soul-idle-two-sides-of-girls-cheats-v102-3/
      • 67 replies
    • KPop Idol Queens Production v5.25 +2 Cheats
      Modded/Hacked App: Idol Queens Production By kim junghyun
      Bundle ID: sunbeesoft.queensidol.com
      iTunes Store Link: https://apps.apple.com/us/app/idol-queens-production/id1571083536?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - No Stress
      - No Fatigue
      - Free Auto Play


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download Link:

      Hidden Content
      Download Hack







      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above.
      STEP 2: Copy the file over to your iDevice using any of the file managers mentioned above or skip this step if you're downloading from your iDevice.
      STEP 3: Using Filza or iFile, browse to where you saved the downloaded .deb file and tap on it.
      STEP 4: Once you tap on the file, you will need to press on 'Install' or 'Installer' from the options on your screen.
      STEP 5: Let Filza / iFile finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 6: If the hack is a Mod Menu, which is usually the case nowadays, the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 7: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - @Zahir


      Cheat Video/Screenshots:

      N/A
      • 40 replies
    • Cats & Soup Cheats v4.20.1 +2
      Modded/Hacked App: Cats & Soup By HIDEA Co.,Ltd
      Bundle ID: com.hidea.cat
      iTunes Store Link: https://apps.apple.com/us/app/cats-soup/id1581431235?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Infinite Currencies
      - Unlocked All Specials and No Ads

       

      Non-Jailbroken Hack: https://iosgods.com/topic/157486-cats-soup-v2630-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/157484-cats-soup-cheats-v2640-2/
      • 319 replies
    • Hot Wheels Unlimited Modded v2025.3.0 +1
      Modded/Hacked App: Hot Wheels Unlimited By Budge Studios
      Bundle ID: com.budgestudios.HotWheelsUnlimited
      App Store Link: https://apps.apple.com/us/app/hot-wheels-unlimited/id1523486249?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - PREMIUM

       

      Non-Jailbroken Hack: https://iosgods.com/topic/135064-hot-wheels-unlimited-v202512-jailed-mod-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/135061-hot-wheels-unlimited-modded-v202512-1/
      • 70 replies
    • Beach Buggy Racing 2 Cheats v2025.09.30 +2
      Modded/Hacked App: Beach Buggy Racing 2 by Vector Unit Inc
      Bundle ID: com.vectorunit.cobalt
      iTunes Store Link: https://itunes.apple.com/us/app/beach-buggy-racing-2/id1399253988?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite PowerUp Parts
      - Infinite Gems (Spend some/ Get some)
      - Infinite Coins (Use Gems to Convert)



      Hack Download Link: https://iosgods.com/topic/86113-arm64-beach-buggy-racing-2-cheats-v101-3/
      • 446 replies
    • Guild of Heroes: Fantasy RPG v1.183.4 - [ x Player Damage & More ]
      Modded/Hacked App: Guild of Heroes: Fantasy RPG By BIT.GAMES PBL
      Bundle ID: com.goplaytoday.guildofheroes
      iTunes Store Link: https://itunes.apple.com/us/app/guild-of-heroes-fantasy-rpg/id979474617?mt=8&uo=4&at=1010lce4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - x Player Damage - x1 - 10
      - x Player Defense - x1 - 10
      - Enemies Auto Die
      - Premium Activate
      - Freeze Resources
      - Freeze Potions

      All features are unlinked and only for player, you!
      Note:
      Not Responsible For Any Bans


      This hack is an In-Game Mod Menu (iGMM). In order to activate the Mod Menu, tap on the iOSGods button found inside the app. This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.
      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/79822-guild-of-heroes-fantasy-rpg-v1679-5k-gold-sell-value-more/
      • 1,720 replies
    • GardenScapes Cheats v9.1.0 +5
      Modded/Hacked App: Gardenscapes By Playrix Games
      Bundle ID: com.playrix.gardenscapes-m3-ios
      iTunes Store Link: https://itunes.apple.com/us/app/gardenscapes/id1105855019?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Moves
      - Inifnite Boosters (Won't subtract when use)
      - Infinite Lives
      - Infinite Coins (Spend some/ Get some) - Not recommended cause sometimes it will bug your gameplay
      - Infinite Stars (Complete tasks without needing stars) - GAMEBREAKING FOR SURE  



      Hack Download Link: https://iosgods.com/topic/75340-arm64-gardenscapes-cheats-v280-5-vip/


      Credits:
      - @Laxus
      - @RudePerson For Inspiring Me
      • 2,952 replies
    • World Conqueror 4 v2.9.1 +5 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: World Conqueror 4 By 悦 张
      Bundle ID: com.zhangyue.wc4
      iTunes Store Link: https://apps.apple.com/us/app/world-conqueror-4/id1258468290?uo=4


      Hack Features:
      - Unlimited Gold -> Earn or spend some.
      - Unlimited Medals -> Earn or spend some.
      - Unlimited Energy -> Earn or spend some.
      - Unlimited Industry Points -> Earn or spend some.
      - Unlimited Technology Points -> Earn or spend some.


      Jailbreak required hack(s): [Mod Menu Hack] World Conqueror 4 v2.5.0 +5 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 72 replies
    • World Conqueror 4 v2.9.1 +5 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: World Conqueror 4 By 悦 张
      Bundle ID: com.zhangyue.wc4
      iTunes Store Link: https://apps.apple.com/us/app/world-conqueror-4/id1258468290?uo=4


      Hack Features:
      - Unlimited Gold -> Earn or spend some.
      - Unlimited Medals -> Earn or spend some.
      - Unlimited Energy -> Earn or spend some.
      - Unlimited Industry Points -> Earn or spend some.
      - Unlimited Technology Points -> Earn or spend some.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] World Conqueror 4 v2.5.0 +5 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 60 replies
    • Pudgy Party - Battle Royale v0.13.2 +7 Jailed Cheats [ Speed, Gravity + More ]
      Modded/Hacked App: Pudgy Party - Battle Royale By Mythical, Inc.
      Bundle ID: com.mythical.pudgyparty
      App Store Link: https://apps.apple.com/us/app/pudgy-party-battle-royale/id6744258913?uo=4

       
       

      🤩 Hack Features

      - Jump Height Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Gravity Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Speed Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Friction Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Freeze Bots
      - Dumb Bots
      - Free In-App Purchases
      • 17 replies
    • Pudgy Party - Battle Royale v0.13.2 +7 Cheats [ Speed, Gravity + More ]
      Modded/Hacked App: Pudgy Party - Battle Royale By Mythical, Inc.
      Bundle ID: com.mythical.pudgyparty
      App Store Link: https://apps.apple.com/us/app/pudgy-party-battle-royale/id6744258913?uo=4

       


      🤩 Hack Features

      - Jump Height Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Gravity Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Speed Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Friction Multiplier -> Affects bots too. Use with Freeze/Dumb Bots.
      - Freeze Bots
      - Dumb Bots
      - Free In-App Purchases
      • 32 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines