Is there any way to get my YouTube channel's top fans data? I heard there is a YouTube api but didnt find info about fans.
This is your channel's youtube fan page : https://www.youtube.com/audience?sf=engagement_score
I guess what you want to achieve can be performed by using Youtube Analytics and Reporting APIs. Specifically, Channel reports. However, there is no functionality to return "Top Fans" per-se. However, you can use this API and develop a function that compares subscribers of your channels against how many videos they have liked, shared, favorited, added to playlists or any other logic that you want to implement. However, that will have to be done and defined by you on your end.
Hope this helps.
Related
I'm looking for a solution to observe what the app is currently playing. At minimum I would need to know what URI is being used to play Media and what is current playback position.
We are giving developers API with media content (MP3/HLS files) and to give them the best experience we are asking them to send various events to our API. Based on those events we can prepare better content for their users. We would like to ease the process of tracking events by implementing library that will be responsible for tracking those events. To do it we need to observe/query what their app is currently playing and what is a playback position. That's why I'm looking for a solution that will let me do this without caring too much what kind of player app is using (MediaPlayer, ExoPlayer or any other solution).
Is there any tool that will let me check those informations?
I have an idea of the app which will listen for metadata of the currently playing video in another app (Netflix for example) and analyze this metadata. For example, when user starts playing a movie in his Netflix app I want to request some IMDB-based information about this movie in my own running app. In order to do this I need some metadata, the title of the movie at least or anything else. If in addition to the static metadata it's possible to listen for any other lifetime data like the current position/duration, playing/paused states it would be great.
The questions are as follows:
Do you think it's possible at any Android (mobile/TV) platform?
If it's possible technically, doesn't it violate any rules?
I'd appreciate any links or guidance.
Unless other apps expose that, you can't do that on non modified Android.
I want to implement an application that listens for events from the official Youtube Application, I've been digging into a lot of question here in Stackoverflow but I couldn't find a good answer.
I want to listen when a video start and pause/stop, I've seen in the logcat some relevant information. The only thing that is missing is the video ID. But maybe there is another better way to get this information.
And I know It is possible because that's exactly what Musixmatch does:
Thank you
Please refer to Android MediaController (https://developer.android.com/reference/androidx/media2/session/MediaController) which -
Allows an app to interact with an active MediaSession or a MediaSessionService which would provide MediaSession. Media buttons and other commands can be sent to the session.
Hey !
I have an Android app where the user can search on a specific subject, let's take the word "Cats" for example. When the user submits the search I want to find an image similar or on the subjects the searched for. A search engine for images more or less. I want something "easy" to deal with, so I thought about integrating the Google Search API into my app. Let the user search Google, and take the first image that comes up.
However, I haven't found any example and I just need a push in the right direction. If you could give me an example API for my needs, that'd be great.
Apparently the Google Search API never was fully deprecated it's still up and running. It provides JSON data and is easily parsed with Android.
If anyone else needs an image API here's a test search: https://ajax.googleapis.com/ajax/services/search/images?v=1.0&q=searchquery&rsz=8&start=1&imgsz=small|medium
And the JSON reference: https://developers.google.com/image-search/v1/jsondevguide
Im wondering if is possible to do this. Anywhere on my view I want to see a list of videos (from my youtube channel or just a playlist created by me), this way the user can click in any of them and using the youtube player API would be visualizated in the bottom of the screen for example.
Is this possible to do and if so, how complicated could be? (im really a beginner in android, not in programming). Ive read about Youtube DATA APi but it seems is used with the youtube app so its not what I want to do.
Thanks a lot.
Editing 21/05/2014
Adding information just in case someone in the future is interested in doing this (after one year, but better later than never). I uploaded an exemplary app that shows how to do this. It can be found in the following GitHub repository: https://github.com/Rafagf/HealthTube
Have you taken a look at the examples in the documentation? That's the best place to get started. I don't think anyone is going to be able to provide you with more complete code than what's available there.