File tree Expand file tree Collapse file tree 4 files changed +957
-1218
lines changed Expand file tree Collapse file tree 4 files changed +957
-1218
lines changed Original file line number Diff line number Diff line change 1
1
node_modules
2
2
dist
3
3
junk
4
+ * log
Original file line number Diff line number Diff line change 1
- # F1 API
2
- ![ f1] ( https://assets.stickpng.com/images/61fc01fe3cf0e70004222071.png )
1
+ # Formula1 API
2
+ ![ f1] ( https://logodownload.org/wp-content/uploads/2016/11/formula-1-logo-7.png )
3
+
4
+
3
5
The scraper scrapes this given https://www.formula1.com/
4
6
7
+ ## Installation
8
+ ``` bash
9
+ npm i f1-api-node
10
+ ```
5
11
## Functions
6
12
7
13
- ** getConstructorStandings**
@@ -33,11 +39,11 @@ If you want to have a look at the output from the given functions check [this](h
33
39
34
40
## Example snippet
35
41
36
- Example on how to use one the given functions.
42
+ Example on how to use one of the given functions.
37
43
The following function will print the current lineup of F1 drivers.
38
44
39
45
``` javascript
40
- const f1Api = require (' f1-api' )
46
+ const f1Api = require (' f1-api-node ' )
41
47
42
48
const myFunction = async () => {
43
49
const driverLineup = await f1Api .getDriverData ()
You can’t perform that action at this time.
0 commit comments