Skip to content

Latest commit

 

History

History
76 lines (49 loc) · 3.43 KB

File metadata and controls

76 lines (49 loc) · 3.43 KB
description HrFlow.ai Javascript installation guide.

Javascript SDK

Our Javascript library is an open source, production-ready and a Javascript wrapper API. It is an easy way to access Hrflow API features from a node js server or from the browser.

This library is open-source, so you can check it out on Github.

Install

install hrflow client using npm:

npm install hrflow --save

Initialize the client

To authenticate against the API, get your API SECRET KEY from your HrFlow dashboard!

To begin you adventure with HrFlow, you will need to initialize the client. In order to do this you will need your API SECRET KEY. You can retrieve it from HrFlow Dashboard

import Hrflow from 'hrflow'

const client = new Hrflow({API_Key: "your api key"});

Methods

Profile

List of Methods
Upload Profile You can upload either json or binary (file) Profile
Get Profile's searching Profile search engine
Get Profile's scoring Retrieve Profile's scoring
Get Profile's indexing Retrieve Profile's indexing JSON
Get Profile's parsing Retrieve Profile's parsing
Get Profile's embedding Retrieve Profile's embedding
Get Profile's revealing Retrieve Profile's revealing
Get Profile's reasoning Retrieve Profile's reasoning

Job

List of methods
Upload Job Uploading a job by specifying some information.
Get Job's indexing Retrieve Job's indexing JSON
Get job's parsing Retrieve Job's parsing
Get job's embedding Retrieve Job's embedding for advanced analysis
Job searching Job search engine
Job Scoring Retrieve scoring for list of jobs
Job Reasoning Retrieve Job's reasoning

Source

List of methods
List all sources Method used for finding list of sources by the given condition
Get a source Retrieve source's information for a given source_id

Webhook

List of methods
Check webhook Send a webhook notification test