Example on npm package not working?
# support
o
When running
Copy code
import Vapi from '@vapi-ai/web';
const vapi = new Vapi('*****');
I get the following error:
Copy code
TypeError: Vapi is not a constructor
s
Currently, SDKs are in construction please use API Endpoints directly.
o
Got it thanks
is the python SDK also broken?
Where can i find a full working example?
s
Yup. It seems so like many people are facing issue with it.
o
Ok thanks
You need to read the API references and based on it you need to make calls. Well you just need to read few endpoints that’s all.
n
Yes, Python SDK is meant for hardware (like AI Toys) not for calling the API