Repository navigation
Add the SmartRecruiters reader - #61
danielebarbaro wants to merge 3 commits into
Conversation
The ATS reader can read the posting list of a company on SmartRecruiters, 100 postings for each request. The list has no description, so the description stays empty. The source terms are not checked yet.
A company posts one job one time for each language, with one reference number. The reader keeps the English posting, or the first, and uses the reference number in the job id.
The source terms are read and recorded, with the robots.txt of the API host. The manual check is in QA and the roadmap entry names BambooHR only.
|
Thank you, Daniele, and thank you for raising the robots.txt question first. It decides this PR. The source terms. I am not merging the reader until SmartRecruiters says yes. robots.txt on api.smartrecruiters.com allows While we wait, two things in the code and some small doc fixes:
Everything else looks good to me: the paging, the merge after all pages, the job id from |
Changes
This adds SmartRecruiters to the ATS reader, with entries like
smartrecruiters:aboutyougmbh. I had this as a draft in my fork since the Workable PR, now it is rebased on main.It reads the public posting list, 100 postings per request, max 10 requests per company. Companies often post the same job once per language, so the reader keeps one posting per job (the English one if it exists).
I also updated the roadmap entry, it now mentions BambooHR only.
Review
Before you look at the code, there are a few things I'm not sure you will accept. Better to say them now.
The big one is
robots.txt. The docs say the Posting API needs no authentication because the data is public, butapi.smartrecruiters.com/robots.txtdisallows everything for all user agents. I wrote what I found indocs/DECISIONS.md. If this is a no for you, close the PR, no problem.The list has no description. To get it I would need one more request per posting (181 for About You), so I don't do it. Keywords match only on title and tags.
A wrong slug does not give an error. SmartRecruiters answers 200 with an empty list, so the company gets a green dot like a real company with no jobs. I did not find a way to tell them apart.
The list has no job link either, so I build it:
https://jobs.smartrecruiters.com/<company>/<id>. It works on the jobs I tried.Schema and
JobSourceare unchanged. Pest, PHPStan, Pint, Vitest and the type check pass.Manual checks
I added "Post-v1: A SmartRecruiters company in the settings window" to
docs/QA.md, but I did not run it in the app yet. From the command line with live data: 181 postings, 95 jobs, 0 skipped.