So this is the issue that I have on WordPress trying to solve. I have a website and I need to create a survey, one of the questions requires people to enter their domain and it will send the domain link to the domdetailer API and response back the analyzed value, then I want to use one of that value to serve as the answer for the question. That question will be scored later with the other questions in the survey to direct the customer to a result page.
This is the sample that domdetailer showed on their website
Examples Example Request
http://domdetailer.com/api/checkDomain.php?domain=domainhuntergatherer.com&app=DomDetailer&apikey=example&majesticChoice=root
Output Example:
{“domain”:”domainhuntergatherer.com”,”mozLinks”:”163″,”mozPA”:”38.7″,”mozDA”:”26.7″,”mozRank”:”4.37″,”mozTrust”:”4.47″,”mozSpam”:”1″,”majesticStatReturned”:”root”,”FB_comments”:”0″,”FB_shares”:”1029″,”stumbles”:0,”pinterest_pins”:”0″,”majesticLinks”:”93365″,”majesticRefDomains”:”248″,”majesticRefEDU”:”22″,”majesticRefGov”:”0″,”majesticRefSubnets”:”209″,”majesticIPs”:”227″,”majesticCF”:”30″,”majesticTTF0Name”:”Society\/People”,”majesticTTF0Value”:”17″,”majesticTTF1Name”:”Regional\/Europe”,”majesticTTF1Value”:”16″,”majesticTTF2Name”:”Reference\/Education”,”majesticTTF2Value”:”13″,”majesticTF”:”18″,”google_plus_one”:””,”linkedin”:””}
So like a textbox that allows the user to enter their domain and autofill the value into another textbox using API. I am using quiz and survey master plugin on WordPress to create the survey.
I didn’t try to integrate any 3rd party API into WordPress before, I did some research though but still don’t understand the way to do it. So, it would be help if anyone can give me the idea how to do it. Many thanks.
https://domdetailer.com/API.php