API Client library in C