Under 'Server APIs' in the docs, there are Python ...
# server-api
w
Under 'Server APIs' in the docs, there are Python examples to generate a token and create a room. The API import in the generate token example:
from livekit import api
The API import in the Create room example (and most of the other examples):
from livekit.api import LiveKitAPI
Are these both correct? In other words, should the token generation API be using a different import than all of the other server APIs?
r
Yes, are you having an issue with them?