Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Connect to FullContact API From Appery.io Server Code

DZone's Guide to

How to Connect to FullContact API From Appery.io Server Code

To make it simple to use FullContact API, we created a Server Code plug-in that quickly creates a script to invoke the Person API.

· Integration Zone ·
Free Resource

WSO2 is the only open source vendor to be named a leader in The Forrester Wave™: API Management Solutions, Q4 2018 Report. Download the report now or try out our product for free.

FullContact Developer APIs such as Person APICompany APIEmail API, and others can provide social profiles in an app, improve contacts in an address book, enrich CRM information, and create marketing campaigns.

To make it simple to use FullContact API, we created a Server Code plug-in that quickly creates a script to invoke the Person API. You only need to set the FullContact API key. The following animated GIF shows how to insert the FullContact plug-in and its script:

fullcontact_servercode

Once you set the API key, it’s fast to test the script and the API. Switch to the Run tab to test the script. The script comes with a sample email. Feel free to change the input data.

FullContact_ServerCode_run-1024x429.png

Script testing.

You can also set the email as a script parameter. Update the script code to look like this:

var email = request.get("email");

Then, add the parameter on Script parameters tab.

Using the Server Code plug-in for FullContact API, it’s fast and simple to invoke the Person API. Using this plug-in as a starting point, you can update the script to include other API parameters or use other APIs.

IAM is now more than a security project. It’s an enabler for an integration agile enterprise. If you’re currently evaluating an identity solution or exploring IAM, join this webinar.

Topics:
api ,integration ,server code ,tutorial

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}