Skip to content

SDKs

Official libraries for Node.js, Python, Go and the browser.

Every SDK wraps the same REST API and webhook conventions, so switching languages never means relearning the platform. All SDKs are open source and versioned with the API.

Server SDKs

install.sh

npm install @gtalk2voip/sdk        # Node.js 18+
pip install gtalk2voip             # Python 3.10+
go get github.com/gtalk2voip/go    # Go 1.22+

quickstart.py

from gtalk2voip import Client

client = Client()  # reads GTALK2VOIP_API_KEY

call = client.calls.create(
    to="+14155550134",
    from_="+14155550100",
    transcribe=True,
)
print(call.id, call.status)

Browser SDK

@gtalk2voip/webrtc handles registration, media and reconnection for browser calling. See WebRTC Setup for the token flow it requires.

Conventions shared by all SDKs

  • Idempotency keys on create operations, retried safely on network errors.
  • Typed webhook parsers with built-in signature verification.
  • Pagination as iterators: for call in client.calls.list() just works.
  • Errors carry the API's error type, message and a doc_url.