2.2.0 • Published 2 years ago

@torch-ai/crunchbase v2.2.0

Weekly downloads
20
License
MIT
Repository
github
Last release
2 years ago

Crunchbase services

This package provides a standardized layer for accessing crunchbase services along with TypeScript typings.

Current version: v4.0

Usage

Installation

Install the service in your own project

npm install @torch-ai/crunchbase

Initialization

At the top of your application, or in an imported configuration file:

// Import the service definition and environment constants
import Crunchbase from "@torch-ai/crunchbase";

// Create an instance of the service
const crunchbase = new Crunchbase(process.env.API_KEY, {});
export default crunchbase;

Calls

try {
  const { entities } = await service.autocomplete.search("Tesla", [
    "organizations",
  ]);
} catch (error) {}

License and agreements

This package is provided through an MIT license. Usage of this package is freely available without restriction.

Crunchbase itself has its own terms of service, account registration, and attribution requirements.

Contributing

Installation

Clone the package from the repository.

npm install

Testing

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

Publishing

Open an issue requesting a version to publish.

2.2.0

2 years ago

2.1.0

2 years ago

2.0.6

2 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.4

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago