Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix code snippet in "Quick start" section of README #28

Open
indeliblecanopus opened this issue Nov 15, 2024 · 0 comments
Open

Fix code snippet in "Quick start" section of README #28

indeliblecanopus opened this issue Nov 15, 2024 · 0 comments

Comments

@indeliblecanopus
Copy link

Hi,
just a variable name fix for quick start snippet included in your README

from hrflow import Hrflow
client = Hrflow(api_secret="YOUR_API_KEY", api_user="YOU_USER_EMAIL")

# read file from directory (in binary mode)
with open("path_to_file.pdf", "rb") as file_resume_cv:
    # Parse it using this method without reference:
    response = client.profile.parsing.add_file(
        source_key="INSERT_THE_TARGET_SOURCE_KEY",
        profile_file=file_resume_cv,
        sync_parsing=1,  # This is to invoke real time parsing
        # Attach an application tag to the profile to be parsed
        tags=[{"name": "application_reference", "value": "TS_X12345"}],
    )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant