provider users GET /users/{username}/following/{target_user}
@utdk/github /users/{username}/following/{target_user}
Check if a user follows another user
username path required
The handle for the GitHub user account.
string
target_user path required
string

Try it

Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

users.checkFollowingForUser
GET/users/{username}/following/{target_user}

Parameters

required

The handle for the GitHub user account.

required

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.users.checkFollowingForUser()