Text Parsing

Extract data points from any text.

Field

Value

Content-Type

application/json

X-API-KEY

Your API Key. For the example, we will use ask_abcabcabcabcabc.

X-USER-EMAIL

Your HrFlow.ai account's email. For the example, we will use [email protected].

import requests

url = "https://api.hrflow.ai/v1/text/parsing"

body = {"text": "Elon Musk is a Python enginner"}
headers = {
    "Accept": "application/json",
    "Content-Type": "application/json",
    "X-API-KEY": "ask_abcabcabcabcabc",
    "X-USER-EMAIL": "[email protected]"
}

response = requests.request("POST", url, json=body, headers=headers)
from hrflow import Hrflow

client = Hrflow(api_secret="ask_abcabcabcabcabc", api_user="[email protected]")
response = client.document.parsing.post(text="Elon Musk is a Python enginner")

Did this page help you?