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
e3220a3e
Commit
e3220a3e
authored
May 18, 2015
by
AdriVanHoudt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the docs to add webhook stuff
parent
5d9452f1
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 @
e3220a3e
...
...
@@ -119,17 +119,18 @@ fullcontact.location.enrich('denver', function (err, data) {
### Person
The
`Person`
endpoint is confidently namespaced as a
`.person`
property.
Each
person API has an optional
`queue`
argument which you can use to indicate that
The
`Person`
endpoint is confidently namespaced as a
`.person`
property.
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
fetch the details later. According to the API it should to receive the value
`1`
as queue.
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.
Supports the use of webhooks by providing an url and id.
```
js
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);
Retrieves contact information by e-mail address but transforms the email to an
...
...
endpoints/person.js
View file @
e3220a3e
...
...
@@ -18,7 +18,7 @@ function Person(api) {
* Retrieve contact information by e-mail.
*
* ```js
* fullcontact.person.email('opensource@observe.it', [queue], fn);
* fullcontact.person.email('opensource@observe.it', [queue],
[webhookUrl], [webhookId],
fn);
* ```
*
* @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