how to access user recordings in google home - google-assistant-sdk

I want to develop an action for Google Home that can access a user's recording,
I want to know if it's possible in Google Home and if so where can I read and learn about it.
Thank You.

There is no way for an Actions developer to get the user's spoken audio. You only are able to get the transcriptions.

Related

How to know when a user complete viewing a video with youtube api?

I currently working on a project where I send a youtube video id and show it to the user. And I want to know if there are a method to know when the video is completely viewed by the user. In my application's client, I send a response to the server when the view is completed, and I want to prevent receiving falsed data from untrusted user. And that's why I want to know if youtube api make a things like that. I have seen other similar topics, but I haven't found a safe way to secure communication between client and server for this problem.
Thank you.
From this SO post, it was mentioned that you can use onStateChange event to log that a user viewed a video. But the general idea here is about safety which I think is more important, from there I don't think you can do this as per the privacy of a user. You can understand more about YouTube Reporting and Analytics here.

Track social interaction of shared content

Let's say I have an iOS app where users upload videos. They sign in to the app via Facebook (keeping this question simple). Every uploaded video has a Share button. When the user clicks it, the video will be posted on their Facebook timeline as an embedded video.
As the app owner, is it possible to track how many views, likes, comments, average viewing time, geographic location etc. that shared post is generating for this user? I'd like to know which user is popular.
I've done some reading and it looks like Google Analytics (GA) may be what I'm looking for. Link here. Is this the right tool for my needs?
Once the video has been shared (assuming the URL is custom-crafted that has my Google Analytics Id, Campaign Id etc), how does GA track this data? The Like button is part of the Facebook website. The video is embedded in a container. How does GA communicate with Facebook?
I'd like to track the same when a user shares a link on their Twitter and track the retweets, sharing on Google+ etc. Is this really possible?

Stream song via Spotify SDK without Spotify account on the users' side?

Is it possible to build an iOS app that streams from spotify in a way where it won't need the user to login to Spotify? In a way where only our application is registred.
It is just not clear after scanning through the SDK / API section.
Disclaimer: I didn't work with the Spotify SDK
It should be possible. I suppose you can hardcode the login info in the code directly, and have the app login to spotify with the same user account every time (the one hardcoded in the app).
On the other hand, I don't see a good reason why you would want all the users of your app to connect as the same user to Spotify. But that is your decision :).
Also, I think you should also check the Spotify terms and conditions before you do that. Not sure if that's an issue or not.

How to screenscrape my youtube video feed?

How to get the feed of my account? (Or how can I sign in my account when using Nokogiri?)
What would be a good solution to get the video from various video channels?(So I can avoid signing in my account in problem1)
Specifically, how to deal with pagination?
The videos screenscraped may not be all needed. How can I make a pre-save page to cancel out the videos that I don't want? i.e. create a editing interface for screenscraping
YouTube has a developers API from which all this should be available. Have you checked it out? See:
https://developers.google.com/youtube/

Does the Youtube API return list of users that have watched my video?

I'd like to create a Youtube app that rewards users after they have watched a certain number of my Youtube-channel's videos - or that rewards "experience points" based on the amount of time spent watching my channel.
Can I query the Youtube API to see if an authenticated user has watched a specific video associated with the app?
Seems like I can query against "likes" and "dislikes" - but curious if anyone has tracked "watch-time" or just "watched" in general.
My hesitation here is that I don't want access to a user's full history - I'd like a very unobtrusive approach to connecting authenticated users to specific video content.
I'm not seeing an API endpoint for querying or notifying if an associated Youtube video has been seen. Any help you can provide would be very helpful!
Considering user privacy I don't think you can acces this information. If you search through the API, you'll find that Youtube does come with insights, like viewcount and even demographic information.
It might be a solution to embed your videos in your app and then track which users watch that specific video within the app.
Inside your app catch the the onStateChange event to log that a user viewed a video. It will only work for video they view from inside your app.

Resources