Wrapping a third-party API so no one can see the API-Key and mess around?

So I’m developing a channel for my favorite Anime streaming website, their REST API is secured via an API key I got, the problem with this is, that everyone could easily see that key in the source code of my channel which proposes a risk of getting my key disabled because people could mess around with it…

What would be the best way to secure the API key so nobody else can use it?

You can’t.

Even if you hashed it, encrypted it or siml, then during connection to the site, people could grab it with like wireshark.

I strongly suggest instead, that you put the API key into your channel prefs, allowing others using your work, to register their own api key

/T