Available on crate feature
helix only.Expand description
Gets information on follow relationships between two Twitch users.
get-users-follows
§Request: GetUsersFollowsRequest
To use this endpoint, construct a GetUsersFollowsRequest
use twitch_api::helix::users::get_users_follows;
let request = get_users_follows::GetUsersFollowsRequest::following("1234");§Response: UsersFollows
Send the request to receive the response with HelixClient::req_get().
use twitch_api::helix::{self, users::get_users_follows};
let request = get_users_follows::GetUsersFollowsRequest::following("1234");
let response: Vec<get_users_follows::FollowRelationship> = client.req_get(request, &token).await?.data.follow_relationships;You can also get the http::Request with request.create_request(&token, &client_id)
and parse the http::Response with GetUsersFollowsRequest::parse_response(None, &request.get_uri(), response)
Structs§
- Follow
Relationship - Describes a follow relationship
- GetUsers
Follows Request Deprecated - Query Parameters for Get Users Follows
- Users
Follows Deprecated - Return Values for Get Users Follows