Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
j4asper authored Aug 1, 2022
1 parent 27d9701 commit 86b7848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ from dmr import DMR
license_plate = "cw87553"

# Get DMR object with data
vehicle = DMR().get_by_plate(license_plate)
vehicle = DMR(license_plate).get_by_plate()

print("The vehicle make is:", vehicle.make)
```
Expand All @@ -46,7 +46,7 @@ from dmr import DMR
license_plate = "cw87553"

# Get DMR object with data
vehicle = await DMR().get_by_plate_async(license_plate)
vehicle = await DMR(license_plate).get_by_plate_async()

print("The vehicle make is:", vehicle.make)
```
Expand Down

0 comments on commit 86b7848

Please sign in to comment.