/// <summary> /// Creates a client of the Realo API. /// You need to use this to send over the property /// to the API servers. /// </summary> /// <param name="publicKey">Your public authorization key</param> /// <param name="privateKey">Your private authorization key</param> /// <param name="useSandbox">If you need to test, enable this so your rate limit stays the same</param> public RealoClient(string publicKey, string privateKey, bool useSandbox = false) { Sandbox = useSandbox; RealoRestClient client = new RealoRestClient(publicKey, privateKey, URL); Listings = new Listings(client); }
public Listings(RealoRestClient client) { Client = client; }