Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages