The API uses caching, so polling faster than once a minute may not only be wasteful, but polling too fast can actually result in errors where one request may hit a new cache server, then a subsequent request hit a stale cache that still has old data.
The most responsive method to get changes is by using EventSub, as this allows you to subscribe to channel.update type for that channel and receive notifications whenever the channel changes category or title. While there still may be some very minor delay due to caching and processing this is as close as you can get to real-time.
To use EventSub with the webhook transport method you would need to use a library that runs a webserver so you can listen for the incoming notifications on Twitch, and it must be over SSL, so you can either run that server yourself in your app and get a domain/cert for HTTPS, or there are many services out there than can handle the domain and cert stuff for you and forward messages to your app.