getbouncer / cardscan-ios

A library for scanning credit and debit cards
MIT License
203 stars 67 forks source link

Adding model config downloading to API #189

Closed jaimejiyepark closed 4 years ago

jaimejiyepark commented 4 years ago

Manually tested with

Api.apiKey = "<api-key>"
    Api.getModelDownloadConfig(endpoint: "/v1/model/ios/bob/1", parameters: [:]) { response, error in
        guard let response = response, error == nil else {
            print("oh no")
            return
         }
     print(response)
}
jaimejiyepark commented 4 years ago

@kingst added modelDownloadConfigTest and made changes in API