Go interface to the infermedica REST API
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
conditions.go
conditions_test.go
diagnosis.go
diagnosis_test.go
explain.go
explain_test.go
infermedica.go
infermedica_test.go
info.go
info_test.go
labtests.go
labtests_test.go
lookup.go
lookup_test.go
parse.go
parse_test.go
readme.md
riskfactors.go
riskfactors_test.go
search.go
search_test.go
suggest.go
suggest_test.go
symptoms.go
symptoms_test.go
triage.go
triage_test.go

readme.md

Infermedica (unofficial)

Go interface to the infermedica REST API

Description

This is a Go interface to the Infermedica REST API: https://developer.infermedica.com/docs/api

Installation

go get github.com/torniker/infermedica

Usage examples

Fetching symptoms

app := infermedica.NewApp("appid", "appkey", "model")
symptoms, err := app.Symptoms()
if err != nil {
    log.Errorf("Could not fetch symptoms: %v", err)
}
log.Infof("All Symptoms: %v", symptoms)