Python library for the HackerRank for Work API.
pip install hackerrankThis is tested on Python 3.13+.
Generate an API token from the HackerRank for Work tokens page and
pass it as api_key:
"""Example usage."""
import sys
from hackerrank.client import HackerRank
client = HackerRank(api_key="your-api-key")
for test in client.tests.list().data:
sys.stdout.write(test.name)
interview = client.interviews.create(title="My Interview")
sys.stdout.write(interview.url or "")See the full documentation.