Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 956 Bytes

README.md

File metadata and controls

55 lines (34 loc) · 956 Bytes

Ai-Gf Python SDK

This package lets you start Ai-Gf calls directly in your Python application.

Installation

You can install the package via pip:

pip install aigf_python

or

pip install git+https://github.com/zardamhussain/aigf_python.git

On Mac, you might need to install brew install portaudio to satisfy pyaudio's dependency requirement.

Usage

First, import the AIGF class from the package:

from aigf_python import AIGF

Then, create a new instance of the AIGF class:

gf = AIGF()

You can start a new call by calling the start method

gf.start()

You can also start a new call with weatherunion calling the start_with_weatherunion method

gf.start_with_weatherunion(api_key='XXXXXXX..', locality_id='XXXX...')

You can stop the session by calling the stop method:

gf.stop()

This will stop the recording and close the connection.