SHARE
TWEET

pipl_test_code_and_error

TheDeanVanGreunen May 31st, 2020 1,072 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. // Error I get:
  3. ///////////////////////////////
  4. // No valid name/username/phone/email/address/user_id/url
  5. ///////////////////////////////
  6.  
  7. ///////////////////////////////
  8. //// My Code:
  9. ///////////////////////////////
  10. $email = "test@test.com";
  11. $first_name = "John";
  12. $last_name = "Test";
  13.  
  14. $configuration = new PiplApi_SearchRequestConfiguration();
  15. $configuration->api_key = $api_key;
  16. $configuration->use_https = true;
  17. $request = new PiplApi_SearchAPIRequest(
  18.     array(
  19.         'email' => $email,
  20.         'first_name' => $first_name,
  21.         'last_name' => $last_name
  22.     ), $configuration);
  23. $response = $request->send();
  24. return $response;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top