This API implemention will return an Error object when the FullContact response
is returned without a `status: 200` so it could be that your operation is queued
for processing. That's why all returned error's have a `status` property which
is returned without a `status: 200` or `status: 202` so it could be that your operation is queued for processing. That's why all returned error's have a `status` property which
the returned status code (unless it's a parse error or a generic error). So just
because you got an error, it doesn't mean that your request has failed.
...
...
@@ -91,9 +91,9 @@ Turn your semi-structured data in fully structured location data. This
arguments.
1.`casing` How is the provided location cased?
-`uppercase` for UPPERCASED NAMES (JOHN SMITH)
-`lowercase` for lowercased names (john smith)
-`titlecase` for Title Cased names (John Smith)
-`uppercase` for UPPERCASED NAMES (DENVER, COLORADO)
-`lowercase` for lowercased names (denver, colorado)
-`titlecase` for Title Cased names (Denver, Colorado)
2.`includeZeroPopulation` will display 0 population census locations. The
provided value should be a boolean.
...
...
@@ -106,6 +106,13 @@ fullcontact.location.normalize('denver', function (err, data) {
The CI testing happens with a free api key that has limits to the calls it can do to FullContact. If you see the tests fail make sure it is because of failing tests not exeeding rate limit.
The tests are written against the live FullContact API. They can be ran using: