API endpoints require driver_id which is based on surname. Ease of use is improved by allowing commands to parse driver codes or number instead and replace them with the correct surname id.
Need a way to automate getting details of every driver supported by the API.
Solutions:
Download Ergast DB image and substitue driver codes/no with ID via queries at runtime
Automate pulling every driver from API and store details in JSON or persistent Redis key
API endpoints require
driver_id
which is based on surname. Ease of use is improved by allowing commands to parse driver codes or number instead and replace them with the correct surname id.Need a way to automate getting details of every driver supported by the API.
Solutions: