Enrichment API improvement

Context

One of the features of our Linkedin Scraper (Chrome Extension) is the possibility to enrich - find the email - of profile scraped from Linkedin. This functionality is provided by our Enrichment API.
This functionality is currently working, but it's not reliable enough:
  • the API relies on a daisy chain of API calls to fetch the emails; this is a dispendious process and low performance;
  • the API itself needs improvement, we need more tests;
extension overview

Targets

We need to:
  • store responses into a database to improve the performance of the API;
  • write and run most test possible.

Prerequisites

To approach this task it's strongly suggested to create a Linkedin Sales Navigator profile (1 month free trial), install our chrome extension and give it a try.
A new branch of the Enrichment API repository should be created, and commits should be done often.
notion image

Tasklist

*mandatory, [estimated days]
  1. *store responses to internal database before serving them; search into internal database before daisy chain; this task includes database setup [5d]
  1. *creating tests for the API [5d]
  1. fix try/catch error bubbling [stretch goal]