Simple Attempt To Have Chat With API Endpoints Via Chat, Desktop
At this point it is only talking to the Ron Swanson, Quotes API.
You can change endpoints by modifying the apiCall
functions
This tool is made as an experiment and is not intended for production use.
- Chat with API
- Save Responses to SQLite3 Database
- Save Responses to JSON File
- Save Responses to CSV File
- Save Responses to XML File
- Save Response and Convert to Audio
- Show images in chat
- Get image from API
- Golang
brew install go
This will install the latest version of Golang on your machine
go version
This will show you the version of Golang installed on your machine
- SQLite3
go run main.go
or simply
go build .
- Type in the text box
- Press Enter
- The API will be called
- The response will be displayed in the chat box
- The response is stored in SQLite3 Database
You can build the app for your OS by running the following command in the root directory of the project
first install fyne-cross
go get -u fyne.io/fyne/cmd/fyne-cross
fyne-cross [options]
The commands are:
darwin Build and package a fyne application for the darwin OS
linux Build and package a fyne application for the linux OS
windows Build and package a fyne application for the windows OS
android Build and package a fyne application for the android OS
ios Build and package a fyne application for the iOS OS
freebsd Build and package a fyne application for the freebsd OS
version Print the fyne-cross version information
Use "fyne-cross -help" for more information about a command.