Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fullcontact
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
prospector
fullcontact
Commits
4f6d5453
Commit
4f6d5453
authored
May 18, 2015
by
AdriVanHoudt
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'cleanup' into company
parents
376773e7
e3220a3e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
README.md
README.md
+10
-3
person.js
endpoints/person.js
+1
-1
No files found.
README.md
View file @
4f6d5453
...
@@ -119,17 +119,18 @@ fullcontact.location.enrich('denver', function (err, data) {
...
@@ -119,17 +119,18 @@ fullcontact.location.enrich('denver', function (err, data) {
### Person
### Person
The
`Person`
endpoint is confidently namespaced as a
`.person`
property.
Each
The
`Person`
endpoint is confidently namespaced as a
`.person`
property.
person API has an optional
`queue`
argument which you can use to indicate that
Each
person API has an optional
`queue`
argument which you can use to indicate that
this request will should be pre-processed by FullContact and that you want to
this request will should be pre-processed by FullContact and that you want to
fetch the details later. According to the API it should to receive the value
`1`
fetch the details later. According to the API it should to receive the value
`1`
as queue.
as queue.
The following methods are available on this API:
The following methods are available on this API:
#### person.email(address, [queue], fn);
#### person.email(address, [queue],
[webhookUrl], [webhookId],
fn);
Retrieves contact information by e-mail address.
Retrieves contact information by e-mail address.
Supports the use of webhooks by providing an url and id.
```
js
```
js
fullcontact
.
person
.
email
(
'foo@bar.com'
,
function
(
err
,
data
)
{
fullcontact
.
person
.
email
(
'foo@bar.com'
,
function
(
err
,
data
)
{
...
@@ -137,6 +138,12 @@ fullcontact.person.email('foo@bar.com', function (err, data) {
...
@@ -137,6 +138,12 @@ fullcontact.person.email('foo@bar.com', function (err, data) {
});
});
```
```
```
js
fullcontact
.
person
.
email
(
'foo@bar.com'
,
null
,
'https://mycallbackurl.com'
,
'webhooktracker'
,
function
(
err
,
data
)
{
..
});
```
#### person.md5(address, [queue], fn);
#### person.md5(address, [queue], fn);
Retrieves contact information by e-mail address but transforms the email to an
Retrieves contact information by e-mail address but transforms the email to an
...
...
endpoints/person.js
View file @
4f6d5453
...
@@ -18,7 +18,7 @@ function Person(api) {
...
@@ -18,7 +18,7 @@ function Person(api) {
* Retrieve contact information by e-mail.
* Retrieve contact information by e-mail.
*
*
* ```js
* ```js
* fullcontact.person.email('opensource@observe.it', [queue], fn);
* fullcontact.person.email('opensource@observe.it', [queue],
[webhookUrl], [webhookId],
fn);
* ```
* ```
*
*
* @returns {Person}
* @returns {Person}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment