This package provides a standardized layer for accessing pipl services along with data types.
Install the service in your own project
npm install @torch-ai/pipl
At the top of your application, or in an imported configuration file:
// Import the service definition and environment constants
import Pipl from "@torch-ai/pipl";
// Create an instance of the service
const options = {};
const pipl = new Pipl(process.env.API_KEY, options);
export default pipl;
try {
const results = await pipl.search({
raw_name: "Edison"
});
} catch (error) {}
This package is provided through an MIT license. Usage of this package is freely available without restriction.
pipl itself has it's own terms of service, and account registration.
Clone the package and install the dependencies.
npm install
A local file .env
file will need to be created with credentials for the api:
API_KEY=****
You may run tests in a continuous watch mode:
npm run-script test:watch
Open an issue requesting a version to publish.