// the find
xfyun/webapi-demo
Use for saving demo of web-api
A grab-bag of demo clients (C++ and Go) for iFlytek's (讯飞) voice/web APIs — speech recognition (IAT), wake-word detection (IVW), translation (ITR), and OCR. It's for developers evaluating iFlytek's proprietary speech API products, not a general-purpose library.
Covers the request-signing boilerplate (HMAC, base64, websocket framing) for several of iFlytek's API products in both C++ and Go, which is the tedious part to get right from docs alone. Ships actual test fixtures (.pcm audio, .jpg images) so you can run an example immediately without sourcing your own input data.
Vendors precompiled binaries directly in git — libcrypto.a, libssl.so.1.0.0, libcurl.a built against OpenSSL 1.0.0 — which is both a supply-chain red flag and guarantees the C++ examples won't build cleanly against a modern toolchain. The README is one line with no setup instructions, no mention of how to get API keys, and no explanation of what each demo (iat/itr/ivw/ocr/igr/ipbr/ost) actually does. No tests, no CI, last pushed in 2022 with no indication it's maintained against the current API.