rettiwt-api 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@ The following examples may help you to get started using the library:
|
|
|
34
34
|
|
|
35
35
|
```
|
|
36
36
|
// Creating a new Rettiwt instance using the API_KEY
|
|
37
|
-
const rettiwt = Rettiwt(API_KEY);
|
|
37
|
+
const rettiwt = new Rettiwt(API_KEY);
|
|
38
38
|
|
|
39
39
|
// Fetching the details of the user whose username is <username>
|
|
40
40
|
rettiwt.user.details('<username>')
|
|
@@ -50,7 +50,7 @@ rettiwt.user.details('<username>')
|
|
|
50
50
|
|
|
51
51
|
```
|
|
52
52
|
// Creating a new Rettiwt instance using the API_KEY
|
|
53
|
-
const rettiwt = Rettiwt(API_KEY);
|
|
53
|
+
const rettiwt = new Rettiwt(API_KEY);
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
56
|
* Fetching the list of tweets that:
|