Skip to content

Commit 26e6da9

Browse files
fix: update date method docs
1 parent 9dad803 commit 26e6da9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm install trm-api
1515

1616
## Usage
1717

18-
The `TrmApi` class provides three methods: `latest()`, `between(options)`, and `history(options?)`.
18+
The `TrmApi` class provides four methods: `latest()`, `between(options)`, `history(options?)`, and `date(date)`.
1919

2020
### CommonJS
2121

@@ -141,9 +141,7 @@ trmapi
141141

142142
#### `date(date)`
143143

144-
A wrapper that extracts the first result from `between({ startAd: date, endAt: date})`.
145-
146-
Returns the TRM for an specific date given in `YYYY-MM-DD` format:
144+
Returns the TRM for an specific date given in `YYYY-MM-DD` format.
147145

148146
```js
149147
trmapi

0 commit comments

Comments
 (0)