Skip to content

Commit

Permalink
changes made to publish the package
Browse files Browse the repository at this point in the history
  • Loading branch information
yashkathe committed Oct 23, 2022
1 parent 9f4b05e commit 5197631
Show file tree
Hide file tree
Showing 4 changed files with 957 additions and 1,218 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
dist
junk
*log
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# F1 API
![f1](https://assets.stickpng.com/images/61fc01fe3cf0e70004222071.png)
# Formula1 API
![f1](https://logodownload.org/wp-content/uploads/2016/11/formula-1-logo-7.png)


The scraper scrapes this given https://www.formula1.com/

## Installation
```bash
npm i f1-api-node
```
## Functions

- **getConstructorStandings**
Expand Down Expand Up @@ -33,11 +39,11 @@ If you want to have a look at the output from the given functions check [this](h

## Example snippet

Example on how to use one the given functions.
Example on how to use one of the given functions.
The following function will print the current lineup of F1 drivers.

```javascript
const f1Api = require('f1-api')
const f1Api = require('f1-api-node')

const myFunction = async () => {
const driverLineup = await f1Api.getDriverData()
Expand Down
Loading

0 comments on commit 5197631

Please sign in to comment.