Server query to YouTube API “is there any YouTube video containing this specific word?” - if so, what is the link, upload date etc - api

Do you think we could use the YouTube Data API to get to know which products have any YouTube review/video. Then paired with our system via, for instance, Video Name?

Your question isn't very clear. However, you want to try this.
https://developers.google.com/youtube/v3/docs/search/list#try-it
You can set type to snippet and q to the words you want to search for.

Related

Get cryptocurrency twitter, website, and markets from coinmarketcap.com api

I am trying to get the twitter name, website, and markets for any cryptocurrency listed on coinmarketcap.
For example:
https://coinmarketcap.com/currencies/bitcoin shows all of the data that I need but how would I parse the data listed on that page to get the twitter name and website associated with bitcoin?
Don't try to parse the data on that page if you are trying to use it in an application. If you are doing it for a one time data collection then maybe that is OK. There is absolutely no guarantee that the format will remain consistent or that the information will even be there tomorrow.
You should try to find an API that gives you the information that you are looking for. An API is a contract that is expected to be honored and therefore is reliable. A quick look at CoinMarketCap's API doesn't appear to have the info you are looking for but maybe another one exists that does.
If you were to parse the HTML you could write a regex for the specific thing you are looking for. For example if you want to get the website you could write a regex that would pick up the pattern:
Website
the capture group ([^"]+) is the website in this example. You could do something like that for every element you want to get.

How to use Gaana API to play songs?

I was trying to get information about gaana.com API in order to play songs from it.
Can any one help me how to play songs using gaana.com API after getting the data of the particular "track"(song)?
Is it possible playing song with all the API's provided by Gaana?
These are some of the music API which are available, and solves most of the purpose. https://musicmachinery.com/music-apis/
Having Categories like
>>Music Metadata
>>Discovery / Playlisting
>>Audio Content
>>Audio Identification
>>Audio Analysis
>>Lyrics
>>Events
>>Music Analytics

instagram api search hashtags isn't reliable - so can I do this?

I'm looking to somehow tell users to upload a picture and do something, either tag or # our company so we are notified in real time, i just need to fetch the url of the photo that was uploaded and tagged or # or ANYTHING.
the hashtag search doesn't seem to work correctly, i've tried multiple hashtags and they wont retrieve them in any type of real time or at all.
the real-time subscription only notifies me that there is a new photo tagged that i subscribed to, so i have api search for a list of new media with that tag, which goes back to point 1, its not accurate or reliable.
so do i have any options at all on instagram?
If not do I have any options on facebook? any real time keyword search to grab the url of the photo they uploaded with a unique tag.
Check out https://github.com/chapmanu/hummingbird, it might be what you're looking for.
My experience with the Instagram Real-Time API is, that it is rather reliable.
When you get a real-time ping and then call the endpoint for your hashtag, the results are ordered newest first.
You can then paginate until you hit the last known result.
Maybe this tutorial helps: http://www.mtrinitaria.com/mykhel/tutorial-instagram-real-time-photo-update-api-with-php/

Instagram: sort photos with a specific tag with most likes

I'm running a contest on the web where the image with the most likes wins. It's tiresom having to go through 900 images manually so what I want to do is, sort all images with the tag lets say #computer after the amount of likes, with the most liked pics on top. I have searched the net like crazy for some program or site that does this (ExtraGram, gramhoot, statigram, webstagram) but none offer to sort by amount of likes and it drives me INSANE! It's a really relevant request.
I've tried istafeed.js but it doesn't include all images, actually it leaves out the ones with the moest likes which defies the purpose.
There's nothing I know of in the Instagram API that sends back media sorted by likes in advance. I don't think there's a tool to do this either, but writing one is relatively simple IMO and I've done it before for a contest specifically.
The simplest thing to do is to do the following:
Use the Instagram API (via a library or pure REST) to query by tag. For instance, if you only care about the most recently tagged media or you want to process by date, you can use the [/tag/tag-name/media/recent][1] enpoint.
Page through each result page by processing the next_max_id/next_max_tag_id.
Collect the results locally into a database. You will receive the "like" count for each media item. You will have to update the data if you want to track the likes over time.
Sort the results using your database or if it's a small result set, you could skip #3 and just sort in memory.
If you need to refresh the results, you need to subscribe to the Tag via the API. You can give Instagram a URL to then push updates, and then you'll have to retrieve 1 or media items and update them in your database accordingly.
You will of course need to register your application with Instagram to get an API key if you want to do this. Then you can either send them your client_id or use OAuth.
The best way to achieve this is to pull the photos in and then sort them programmatically based on the likes numeric value. I've designed a plugin that does this automatically for you for anyone interested.
Instagram Journal

YouTube Playlist API no longer functioning?

According to YouTube's docs:
https://developers.google.com/youtube/2.0/developers_guide_protocol_playlists
I can go to the following URL to retrieve a list of videos in a youtube playlist:
https://gdata.youtube.com/feeds/api/playlists/8BCDD04DE8F771B2?v=2
Works well right? Well no... I've been unable to find a single playlist that actually works besides the one supplied by youtube. I have a playlist here: http://www.youtube.com/playlist?list=PLABD2A8CE079F70FA. It would be logical that if I simply take the ID of the playlist and plug it into the gdata URL, it should return valid data, correct? Nope... doesn't work:
https://gdata.youtube.com/feeds/api/playlists/PLABD2A8CE079F70FA
It appears that the API doesn't work with any playlist that starts with their new "PLA" format. What do I need to do, to get the youtube API working with the new playlist system?
Well I figured it out. The playlist API is designed with the OLD Youtube Playlist IDs in mind, the ones without the "PL" at the start. So if you want to retrieve information about the videos in a playlist, you need to drop the PL from the Playlist ID and then it will work fine...
Example:
https://gdata.youtube.com/feeds/api/playlists/ABD2A8CE079F70FA
VS:
https://gdata.youtube.com/feeds/api/playlists/PLABD2A8CE079F70FA
You can add query parameters to the url. With the max-results query you can fetch a maximum of 50 results. If you want more than 50 requests, you need to call this multiple times with start-index query.
https://gdata.youtube.com/feeds/api/playlists/PLABD2A8CE079F70FA?v=2&max-results=50 will give maximum of 50 results. Fetch the next 50 results by adding the query start-index=51&max-results=50. Currently this is the only way you can achieve it.
Check this your playlist,It works fine
http://gdata.youtube.com/feeds/api/users/Jaxelrod/playlists/DC725B3F130398B2?v=2