Skip to content

kachakil/latch-sdk-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LATCH C SDK

#### PREREQUISITES ####

USING THE SDK IN C

  • Include "latch.h" file.
#include "latch.h"
  • Set the "Application ID" and "Secret" previously obtained.
init("APP_ID_HERE", "APP_SECRET_HERE");
  • Optional settings:
setProxy("PROXY_ADDRESS_HERE")
  • Call to Latch Server. Pairing will return an account id that you should store for future api calls
response = pair("PAIRING_CODE_HERE")
response = status("ACCOUNT_ID_HERE")
response = unpair("ACCOUNT_ID_HERE")
  • Compile the code with: -lcurl -lcrypto -lssl -ldl

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages