Request stream info on streames with asian letters

Hello guys,

Since i started learning Python a week ago, i went ahead and started practicing on an api since is the best way from my POV to learn stuff.
First issue that i’m facing and find no answer to it is when you try to request basic info on an streamer that used asian characters in their name (ex: 丁特), the api returns:

{‘error’: ‘Bad Request’, ‘status’: 400, ‘message’: ‘The parameter “name” was malformed: the value must match the regular expression /[1][a-zA-Z0-9_]*$/’}

I’m sure i missed that one thread where the explain the workaround but could you please repeat it for me?

The request was made under the format: + streamer_name + '?client_id=

and in the header was sent:

{‘CLIENT-ID’: ‘’}

Thank you.

  1. a-zA-Z0-9 ↩︎

You cannot use the display-names to look up users directly. You will need to search first:丁特


Thank you for that. I will try

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.