The users API returns display_name and login. The moderators API return user_name. Moderator events returns broadcaster_name.
Is there a dictionary somewhere to help me understand the differences in terms? Mainly login and user_name seems to be the most confusing. Are these just the same things with different labels? Or do they infer some sort of context?
Login - the username the user users to login with
Displayname - most commonly the capitlisation of the name.
My login is
My displayname is
For of helix will put the displayname where login should be see
07:45PM - 06 Dec 19 UTC
Streams API returns the `user_name` as the users `displ
Anywhere that another name is used for the key, will refer to a relationship.
So the moderator events returns the displaynames of the moderator and the broadcaster. and not the login (due to github 3 mentioned above)
So get users, will return login and display_name
Literally every other endpoint will only return the display name of the entity
Or returns the display names of the two entities involved.
So you call the
banned, you get the name of the banned person and the channel it occured on
followers, you get the name of the display names of the two people involved in the interaction the caster and the viewer
Riot Games then you’d get those two names.
BarryCarlyon is banned in
Riot Games then you’d get those two names
BarryCarlyon) would be the user_name, and
Riot Games would be the broadcaster_name. in that example
Hope that helps
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.