NewPipe just scrapes the website. It uses no official APIs, and it does not try to fool the Google infrastructure into thinking it was the official YouTube app or something.
Google should, at least in theory, treat users of NewPipe same way it treats browser users with adblock.