For using twicch on my web i need to know JS or PHP?

for using twicch on my web i need to know JS or PHP? i mean to do a top stream list like lolking

If you don’t need the information on your server (parsing, logging, statistics, etc.), I would recommend using JS to load the data directly on the client.
It will make your app easier to host, since you don’t need additional server-side code. Also it means less network/processing load on your server since each app user will load the data directly from Twitch.

If you want to save the data on your server or use it to lookup data on the server, you can use PHP or any other server-side programming language. It will require access to a more advanced server that can run your server-side code.