const { ComplyCube } =require("@complycube/api");constcomplycube=newComplyCube({ apiKey:"<YOUR_API_KEY>" });// For clientsconstclients=awaitcomplycube.client.list({ page:1, pageSize:20});// For documents. Similarly done for addresses, checks, live photos, etc.constdocuments=awaitcomplycube.document.list("CLIENT_ID", { page:1, pageSize:20});
from complycube import ComplyCubeClientcc_api =ComplyCubeClient(api_key='<YOUR_API_KEY>')# For clientsclients = cc_api.clients.list(page=1,pageSize=20)# For documents. Similarly done for addresses, checks, live photos, etc.documents =await complycube.document.list("CLIENT_ID", page=1,pageSize=20);
useComplyCube\ComplyCubeClient;$ccapi =newComplyCubeClient('<YOUR_API_KEY>');// For clients$clients = $ccapi->clients()->list(['page'=>1,'pageSize'=>20]);// For documents. Similarly done for addresses, checks, live photos, etc.$documents = $ccapi->documents()->list('CLIENT_ID', ['page'=>1,'pageSize'=>20]);