How to find if a stream is live using Python?

The documentation

Tells you how/what format to make the call.

It provides no opinion on what curl library you should use in any language. Most people will use the existing library they already use for other API’s/general use.

The page

Suggests three different possible HTTP Libraries