1.0.13 • Published 4 years ago

formula1-extract-driver-pairs v1.0.13

Weekly downloads
9
License
MIT
Repository
github
Last release
4 years ago

Deprecated Extract DRIVER PAIRS

This Library has been moved to formula-one-six-degrees-metadata

Website https://pratikpc.github.io/six-degree-f1/

Extracts Driver Pairs, Generates them and Stores them for you to utilise from this URL

import {
   Drivers,
   TeamAndDriver,
   TeamMates,
   DriverIdAndNameLink,
   Distance,
   Path,
   TeamIdAndNameLink,
   TeamNamesAndDrivers
} from 'formula1-extract-driver-pairs';

Generate

const SEASONF = 1950;
const SEASONE = 2020;
const TEAM_DRIVER_HEADER = '._2xhp6';
const TEAM_DRIVER_TABLE_HEADER = 'Vv8Fg';
const ENTRY_LIST = 'h2._2Asch:contains("Entry List")';

Modify this variable in lib/Run.ts based on the HTML from FIA's website and then run npm run build and npm run generate

1.0.13

4 years ago

1.0.11

4 years ago

1.0.12

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.10

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago