AbBOT-python icon indicating copy to clipboard operation
AbBOT-python copied to clipboard

Support retrieving from data from the API

Open coolgeek6667 opened this issue 4 years ago • 2 comments

There should be a command line option to pass IP:Port of an AbBOT-api instance to use for generating form data. If anything is specified, it would call the /getFormBatch endpoint to retrieve the data instead of using the standard tip body or the DeepAI endpoint that needs an api token. Support for a token separated list would be beneficial to provide multiple API endpoint options, e.g., --api 127.0.0.1:5000,192.168.1.18:5000,cloud-hosted-api.dev:5050

coolgeek6667 avatar Sep 04 '21 20:09 coolgeek6667

This would be good. Are the extra API endpoints just fallbacks?

andria-dev avatar Sep 05 '21 02:09 andria-dev

Yes, the extra API endpoints would just be fallbacks in case one goes down.

coolgeek6667 avatar Sep 05 '21 12:09 coolgeek6667