UNPKG

hh-node

Version:
18 lines (14 loc) 370 B
# HeadHunter API for NodeJs ## How it works ```typescript const hh = new HeadHunter({ publicId: 'public-id-from-hh', privateKey: 'private-key-from-hh' }).getClient(); const dto: SearchVacancyDto = { text: 'Frontend-разработчик', salary: 140000 }; const data = hh.vacancies(dto); const vacancies = await data.getData(); ```