How to use gdata classes to search youtube videos - ios4

hi all
i am making an app which uses gdata apis . i have included gdata apis in my app but know i dont know how to use the gdata framework to search all the videos with a search query . i want the i output in the form which has a thumbnail in the tableview and a title and description of video.
I'm really frustrated and search a lot on google but no right solution is there.
Please help me guys
Thanks

finally I didn't give up, and found the answer of how to use gdata framework.
http://www.iphonedevx.com/?p=126

Related

Get list of all comments made by a given user with Youtube Data API?

Is it possible to get a list of all comments made by a given user's account with Youtube Data API, or even another API?
If this isn't a direct feature, would there be a convoluted way of doing this by seeing all the videos watched by a user and parsing the comments out of those specific videos?
The goal of my project is to create a 'Spotify Wrapped' style website but for youtube (showing a user their most liked comments, the channels they watch the most, etc) but I'm having trouble finding the correct search criteria in the Youtube Data API documentation.
I am using HMTL, CSS, and JavaScript currently, and any help would be greatly appreciated!
Thanks,
Tom.

Discord.js - Making a Wikipedia fandom search command

i want to make a Wikipedia fandom command for my bot which searches articles from a specific Wikipedia fandom page but don't know how can I get any information about how I can do that? searching on YouTube or Google didn't help and didn't get any results
I've seen a couple places on their forums saying they have an outdated API of which I could not find any docs on, so with some more digging into that you might be able to use that with axios or any other HTTP request module. Or you have the option of looking at how they structure their data on webpages and write a small webscraper script depending on exactly what information you want to extract.
An alternative would be to supply the user with a link to the page using an Embed, either way hope this helps.
Edit:
Someone in the comments says there is an API so check that out first

How to play song from Spotify using Python

All questions about this topic are outdated and left unanswered. There is no answer and I am trying to create a music app that uses Spotify to search songs and then play the first related song. How do I can achieve this? Is there any module about that topic?
I found a script that uses Selenium to achieve the solution but it doesn't help me so much.
If this is not achievable, is there such a method for YouTube? Like search the song name and get the first related song (or video).
I hope you can give me an answer. Have a good day.
try using
https://pypi.org/project/pyspotify/
refer the documentation for more information
https://pyspotify.readthedocs.io/en/latest/
Hope this helps u
Thank you
have you had i look at spotipy to access Spotify Web Api##
Spotify's Web API only supports 30 second clips,You can do playback of the full track using the mobile SDKs
https://spotipy.readthedocs.io/en/2.13.0/
Actually there is such a method for YouTube. There is a module named "pywhatkit".
It is actually a WhatsApp server but you can use it to play music on YouTube. First install it using pip install pywhatkit then :
import pywhatkit
songOrArtist = input()
pywhatkit.playonyt(songOrArtist)
This will open the desired song, you can also give name of any artist and it can play the song.

Where to find references for Sencha Touch

I wanted to learn Sencha touch. the problem is i don't know Ext JS programming. I have intermediate background with jquery, html, php ad sql. I also have started using jquery mobile and phonegap, but I found that jquery mobile has loads of bugs so I decided to give sencha touch a try. I have checked their well documented API docs but I find it difficult to understand the flow and the syntax.
I also found the book Sencha In Action by manning publications but it looks like this is not out for public use yet.
Can anyone with good knowledge about sencha direct me the better way to start? Do I have to learn Ext JS first? I found loads of books about Ext JS in amazon. A beginner's approach would be helpful.
Many thanks all.
I personally recommend you to follow this tutorial step by step. It helped me a lot. Thanks to Jorge for his wonderful example.Here is the link.
http://miamicoder.com/2011/writing-a-sencha-touch-application-part-1/
Some people will say you should check out the Ext JS books to establish a foundation with the framework first as the two are very similar. However, I would recommend that while that may be fine for most folk, you would now be learning two frameworks. They are siblings, not twins.
Have a look at the Sencha Touch Cookbook that was just published, follow the tutorials and cruise the threads, both here and the Sencha Forum.
Also note that Sencha Touch 2 Beta 1 was just released yesterday and it is way closer to Ext JS4 than ST1 and if you start with ST2, you might be better off going this route.
http://www.packtpub.com/sencha-touch-for-creating-cross-platform-html5-apps-cookbook/book
http://www.sencha.com/blog/sencha-touch-2-raising-the-bar/

google image search: search similar images

I want to write a mobile app which takes a picture and searches google images for similar pictures and then displays the results.
However, with google image search I can only search for text strings, and with the search API it seems there's no possibility to search for similar pictures; this feature seems to be available only through the web interface.
Any idea how I can solve this problem?
thanks,
Christoph
There is a way you can do this now, but its not officially supported, and there are probably some restrictions on the number of queries you can perform. Update
http://images.google.com/searchbyimage?hl=en&biw=1060&bih=766&gbv=2&site=search&image_url={{URL To your image}}&sa=X&ei=H6RaTtb5JcTeiALlmPi2CQ&ved=0CDsQ9Q8
There is also a google image search API, which is being officially deprecated, but it will work for now.
http://code.google.com/apis/imagesearch/
The Google Vision API.
https://cloud.google.com/vision/
This is very simple and easy and powerful.
I had done something like that recently for a mobile app, this is the code for it, it uses google search by image feature, and returns the "best guess" or the whole page
you could use that and modify it to do what you want, but once you get the best guess of the image you could search for any image with that title, etc
https://github.com/hbattat/search-by-image
I don't think it's possible. If you click the link to find similar images from the images result page you get a link with the original query included:
google.com/images?q=ORIGINAL_QUERY&imgtype=i_similar&sa=...
If you remove that GET param manually, the search does not work, it only shows the images search form.
I dont think it is possible to find similar images with google if you do not know what's on it.
I was looking for an answer to this some time ago, and found tineye. You have to pay for it, though. Currently (Jan 2012) USD300 for 5K searches, USD1.5K for 30K searches...
SerpAPI enables to search through Google Images and returns a clean JSON.
URL example:
https://serpapi.com/search.json?q=Apple&tbm=isch&ijn=0
Documentation:
https://serpapi.com/images-results
This service is integrated with most of the programming languages: python, php, java, golang, nodejs...
Google limit the number of search per day. but this service provides unlimited searches...

Resources