Below is a list of attributes available for filtering addresses.
Example - Get all addresses for one type
In the example below, we will request to get all addresses that are of type main
.
curl -X GET https://api.complycube.com/v1/addresses?clientId={:clientId}&type=main \
-H 'Authorization: <YOUR_API_KEY>'
from complycube import ComplyCubeClient
cc_api = ComplyCubeClient(api_key='<YOUR_API_KEY>')
filtered = cc_api.addresses.list('CLIENT_ID',city='London')
use ComplyCube\ComplyCubeClient;
$ccapi = new ComplyCubeClient('<YOUR_API_KEY>');
$filtered = $ccapi->address()->list($clientId , ['city' => 'London']);
using ComplyCube.Net;
using ComplyCube.Net.Resources.Addresses;
var addressApi = new AddressApi(new ComplyCubeClient("<YOUR_API_KEY>"));
var filter = new AddressRequest { city = "London" };
var address = await addressApi.ListAsync("CLIENT_ID", filter);
Last updated