Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Error I get:
- ///////////////////////////////
- // No valid name/username/phone/email/address/user_id/url
- ///////////////////////////////
- ///////////////////////////////
- //// My Code:
- ///////////////////////////////
- $email = "test@test.com";
- $first_name = "John";
- $last_name = "Test";
- $configuration = new PiplApi_SearchRequestConfiguration();
- $configuration->api_key = $api_key;
- $configuration->use_https = true;
- $request = new PiplApi_SearchAPIRequest(
- array(
- 'email' => $email,
- 'first_name' => $first_name,
- 'last_name' => $last_name
- ), $configuration);
- $response = $request->send();
- return $response;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement