C wrapper for the OpenAI API.
No dependencies apart from libc and libcurl.
- Common endpoints:
-
GET https://api.openai.com/v1/engines
-
GET https://api.openai.com/v1/engines/{engine_id}
-
POST https://api.openai.com/v1/engines/{engine_id}/completions
-
POST https://api.openai.com/v1/engines/{engine_id}/search
-
See existing bindings in the Python documentation for more details.