Is it somehow possible to get the channel ID by a channel name (www.youtube.com/somechannelname)? In my case I only have the channel name, but have to retrieve data from the channel (but for this I need the ID).
See: How can I get a channel ID from YouTube?
To obtain the channel id you can view the source code of the channel
page and find either
data-channel-external-id="UCjXfkj5iapKHJrhYfAF9ZGg" or
"externalId":"UCjXfkj5iapKHJrhYfAF9ZGg".
UCjXfkj5iapKHJrhYfAF9ZGg will be the channel ID you are looking for.
Related
I'm trying to gather all users with a given manager's id.
It seems that MS graph has a bug here.
My query:
https://graph.microsoft.com/v1.0/users?$filter=manager/id eq '0f3b8a2f-8bec-4694-8021-dbfc55eed287'
I expect this query to return all the users that belong to the manager with the given id.
However, this query returns the manager and not the users. But I clearly filter the id of the manager related property and not the user's id.
There's an API specifically for this, List directReports.
You can get the users assigned to the manager with id 0f3b8a2f-8bec-4694-8021-dbfc55eed287 like:
GET /users/0f3b8a2f-8bec-4694-8021-dbfc55eed287/directReports
Another way would be
GET /users/0f3b8a2f-8bec-4694-8021-dbfa55eed297?$expand=directReports
I'm using the Microsoft Graph API to retrieve information about Microsoft Teams.
Now i want to retrieve information about the call using the method in the documentation below:
https://learn.microsoft.com/en-us/graph/api/call-get?view=graph-rest-1.0&tabs=http
Here is written that i have to use the following url:
GET /communications/calls/{id}
The thing is that i don't know what is the id i need to use because in the documentation is not specified.
I try to use the group id, channel id and personal id of Teams but none of them works. Somebody knows how to use this method?
Thanks
See Properties of call resource type, id is the call id. Read-only.
When you create a call, you will get an id in the response. see the response sample.
When you need to get the call, just put this id value into GET https://graph.microsoft.com/v1.0/communications/calls/{id}.
How to retrieve videos from a playlist from a particular category? Is that even possible to do?
I did try this call :
https://www.googleapis.com/youtube/v3/videos?part=snippet%2CcontentDetails%2Cstatistics&maxResults=50&myRating=like&chart=mostPopular&videoCategoryId=10
But no luck
You may use the Search: list method which returns a collection of search results that match the query parameters specified in the API request.
By default, a search result set identifies matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource.
With a channel reporting job, we can get the end_screen_element_ids for a given video. These IDs look like GUIDs.
The question is : How do we query the Youtube API to get what video/channel/... these end_screen_element_ids points to ?
Thanks!
You may use the reportTypes.list method. This returns a list of report types that the channel or content owner can retrieve. Each item in the list contains an id property, which identifies the report's ID, and you need this value to schedule a reporting job.
I have playlist A and playlist B.
Can I request for items from A and B in one request? I need to get mix of this playlists
This is an other example where checking the documentation will help
PlayLists.list
id string The id parameter specifies a comma-separated list of the
YouTube playlist ID(s) for the resource(s) that are being retrieved.
In a playlist resource, the id property specifies the playlist's
YouTube playlist ID.
you can send more then one play list id you just need to separate them with a comma. Use the try me at the bottom of the page to test it.