rettiwt-api 1.3.0 → 1.3.1
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/dist/services/helper/Headers.js +14 -14
- package/dist/services/helper/Headers.js.map +1 -1
- package/docs/classes/AccountService.html +17 -17
- package/docs/classes/AuthCookie.html +7 -7
- package/docs/classes/AuthService.html +7 -7
- package/docs/classes/CacheService.html +7 -7
- package/docs/classes/Cursor.html +3 -3
- package/docs/classes/CursoredData.html +4 -4
- package/docs/classes/FetcherService.html +9 -9
- package/docs/classes/Tweet.html +14 -14
- package/docs/classes/TweetEntities.html +6 -6
- package/docs/classes/TweetListArgs.html +4 -4
- package/docs/classes/TweetService.html +11 -11
- package/docs/classes/User.html +16 -16
- package/docs/classes/UserListArgs.html +4 -4
- package/docs/classes/UserService.html +12 -12
- package/docs/enums/HttpMethods.html +3 -3
- package/docs/functions/Rettiwt.html +1 -1
- package/docs/interfaces/IAuthCookie.html +5 -5
- package/docs/interfaces/ICursor.html +2 -2
- package/docs/interfaces/ICursoredData.html +3 -3
- package/docs/interfaces/IDataContext.html +4 -4
- package/docs/interfaces/IListArgs.html +3 -3
- package/docs/interfaces/ITweet.html +13 -13
- package/docs/interfaces/ITweetEntities.html +5 -5
- package/docs/interfaces/IUser.html +15 -15
- package/package.json +1 -1
- package/src/services/helper/Headers.ts +14 -14
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<ul class="tsd-hierarchy">
|
|
28
28
|
<li><a href="../classes/Tweet.html" class="tsd-signature-type" data-tsd-kind="Class">Tweet</a></li></ul></section><aside class="tsd-sources">
|
|
29
29
|
<ul>
|
|
30
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
30
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L25">src/types/Tweet.ts:25</a></li></ul></aside>
|
|
31
31
|
<section class="tsd-panel-group tsd-index-group">
|
|
32
32
|
<section class="tsd-panel tsd-index-panel">
|
|
33
33
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -56,84 +56,84 @@
|
|
|
56
56
|
<div class="tsd-comment tsd-typography"><p>The date and time of creation of the tweet, in UTC string format.</p>
|
|
57
57
|
</div><aside class="tsd-sources">
|
|
58
58
|
<ul>
|
|
59
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
59
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L33">src/types/Tweet.ts:33</a></li></ul></aside></section>
|
|
60
60
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="entities" class="tsd-anchor"></a>
|
|
61
61
|
<h3 class="tsd-anchor-link"><span>entities</span><a href="#entities" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
62
62
|
<div class="tsd-signature">entities<span class="tsd-signature-symbol">:</span> <a href="ITweetEntities.html" class="tsd-signature-type" data-tsd-kind="Interface">ITweetEntities</a></div>
|
|
63
63
|
<div class="tsd-comment tsd-typography"><p>Additional tweet entities like urls, mentions, etc.</p>
|
|
64
64
|
</div><aside class="tsd-sources">
|
|
65
65
|
<ul>
|
|
66
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
66
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L36">src/types/Tweet.ts:36</a></li></ul></aside></section>
|
|
67
67
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="fullText" class="tsd-anchor"></a>
|
|
68
68
|
<h3 class="tsd-anchor-link"><span>full<wbr/>Text</span><a href="#fullText" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
69
69
|
<div class="tsd-signature">full<wbr/>Text<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
70
70
|
<div class="tsd-comment tsd-typography"><p>The full text content of the tweet.</p>
|
|
71
71
|
</div><aside class="tsd-sources">
|
|
72
72
|
<ul>
|
|
73
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
73
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L42">src/types/Tweet.ts:42</a></li></ul></aside></section>
|
|
74
74
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="id" class="tsd-anchor"></a>
|
|
75
75
|
<h3 class="tsd-anchor-link"><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
76
76
|
<div class="tsd-signature">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
77
77
|
<div class="tsd-comment tsd-typography"><p>The rest id of the tweet.</p>
|
|
78
78
|
</div><aside class="tsd-sources">
|
|
79
79
|
<ul>
|
|
80
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
80
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L27">src/types/Tweet.ts:27</a></li></ul></aside></section>
|
|
81
81
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="lang" class="tsd-anchor"></a>
|
|
82
82
|
<h3 class="tsd-anchor-link"><span>lang</span><a href="#lang" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
83
83
|
<div class="tsd-signature">lang<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
84
84
|
<div class="tsd-comment tsd-typography"><p>The language in which the tweet is written.</p>
|
|
85
85
|
</div><aside class="tsd-sources">
|
|
86
86
|
<ul>
|
|
87
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
87
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L48">src/types/Tweet.ts:48</a></li></ul></aside></section>
|
|
88
88
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="likeCount" class="tsd-anchor"></a>
|
|
89
89
|
<h3 class="tsd-anchor-link"><span>like<wbr/>Count</span><a href="#likeCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
90
90
|
<div class="tsd-signature">like<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
91
91
|
<div class="tsd-comment tsd-typography"><p>The number of likes of the tweet.</p>
|
|
92
92
|
</div><aside class="tsd-sources">
|
|
93
93
|
<ul>
|
|
94
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
94
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L60">src/types/Tweet.ts:60</a></li></ul></aside></section>
|
|
95
95
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="quoteCount" class="tsd-anchor"></a>
|
|
96
96
|
<h3 class="tsd-anchor-link"><span>quote<wbr/>Count</span><a href="#quoteCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
97
97
|
<div class="tsd-signature">quote<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
98
98
|
<div class="tsd-comment tsd-typography"><p>The number of quotes of the tweet.</p>
|
|
99
99
|
</div><aside class="tsd-sources">
|
|
100
100
|
<ul>
|
|
101
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
101
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L51">src/types/Tweet.ts:51</a></li></ul></aside></section>
|
|
102
102
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="quoted" class="tsd-anchor"></a>
|
|
103
103
|
<h3 class="tsd-anchor-link"><span>quoted</span><a href="#quoted" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
104
104
|
<div class="tsd-signature">quoted<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
105
105
|
<div class="tsd-comment tsd-typography"><p>The rest id of the tweet which is quoted in the tweet.</p>
|
|
106
106
|
</div><aside class="tsd-sources">
|
|
107
107
|
<ul>
|
|
108
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
108
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L39">src/types/Tweet.ts:39</a></li></ul></aside></section>
|
|
109
109
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="replyCount" class="tsd-anchor"></a>
|
|
110
110
|
<h3 class="tsd-anchor-link"><span>reply<wbr/>Count</span><a href="#replyCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
111
111
|
<div class="tsd-signature">reply<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
112
112
|
<div class="tsd-comment tsd-typography"><p>The number of replies to the tweet.</p>
|
|
113
113
|
</div><aside class="tsd-sources">
|
|
114
114
|
<ul>
|
|
115
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
115
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L54">src/types/Tweet.ts:54</a></li></ul></aside></section>
|
|
116
116
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="replyTo" class="tsd-anchor"></a>
|
|
117
117
|
<h3 class="tsd-anchor-link"><span>reply<wbr/>To</span><a href="#replyTo" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
118
118
|
<div class="tsd-signature">reply<wbr/>To<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
119
119
|
<div class="tsd-comment tsd-typography"><p>The rest id of the user to which the tweet is a reply.</p>
|
|
120
120
|
</div><aside class="tsd-sources">
|
|
121
121
|
<ul>
|
|
122
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
122
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L45">src/types/Tweet.ts:45</a></li></ul></aside></section>
|
|
123
123
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="retweetCount" class="tsd-anchor"></a>
|
|
124
124
|
<h3 class="tsd-anchor-link"><span>retweet<wbr/>Count</span><a href="#retweetCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
125
125
|
<div class="tsd-signature">retweet<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
126
126
|
<div class="tsd-comment tsd-typography"><p>The number of retweets of the tweet.</p>
|
|
127
127
|
</div><aside class="tsd-sources">
|
|
128
128
|
<ul>
|
|
129
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
129
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L57">src/types/Tweet.ts:57</a></li></ul></aside></section>
|
|
130
130
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="tweetBy" class="tsd-anchor"></a>
|
|
131
131
|
<h3 class="tsd-anchor-link"><span>tweet<wbr/>By</span><a href="#tweetBy" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
132
132
|
<div class="tsd-signature">tweet<wbr/>By<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
133
133
|
<div class="tsd-comment tsd-typography"><p>The rest id of the user who made the tweet.</p>
|
|
134
134
|
</div><aside class="tsd-sources">
|
|
135
135
|
<ul>
|
|
136
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
136
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L30">src/types/Tweet.ts:30</a></li></ul></aside></section></section></div>
|
|
137
137
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
138
138
|
<div class="tsd-navigation settings">
|
|
139
139
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<ul class="tsd-hierarchy">
|
|
28
28
|
<li><a href="../classes/TweetEntities.html" class="tsd-signature-type" data-tsd-kind="Class">TweetEntities</a></li></ul></section><aside class="tsd-sources">
|
|
29
29
|
<ul>
|
|
30
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
30
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L6">src/types/Tweet.ts:6</a></li></ul></aside>
|
|
31
31
|
<section class="tsd-panel-group tsd-index-group">
|
|
32
32
|
<section class="tsd-panel tsd-index-panel">
|
|
33
33
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -48,28 +48,28 @@
|
|
|
48
48
|
<div class="tsd-comment tsd-typography"><p>The list of hashtags mentioned in the tweet.</p>
|
|
49
49
|
</div><aside class="tsd-sources">
|
|
50
50
|
<ul>
|
|
51
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
51
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L8">src/types/Tweet.ts:8</a></li></ul></aside></section>
|
|
52
52
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="media" class="tsd-anchor"></a>
|
|
53
53
|
<h3 class="tsd-anchor-link"><span>media</span><a href="#media" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
54
54
|
<div class="tsd-signature">media<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
55
55
|
<div class="tsd-comment tsd-typography"><p>The list of urls to various media mentioned in the tweet.</p>
|
|
56
56
|
</div><aside class="tsd-sources">
|
|
57
57
|
<ul>
|
|
58
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
58
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L17">src/types/Tweet.ts:17</a></li></ul></aside></section>
|
|
59
59
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="mentionedUsers" class="tsd-anchor"></a>
|
|
60
60
|
<h3 class="tsd-anchor-link"><span>mentioned<wbr/>Users</span><a href="#mentionedUsers" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
61
61
|
<div class="tsd-signature">mentioned<wbr/>Users<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
62
62
|
<div class="tsd-comment tsd-typography"><p>The list of IDs of users mentioned in the tweet.</p>
|
|
63
63
|
</div><aside class="tsd-sources">
|
|
64
64
|
<ul>
|
|
65
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
65
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L14">src/types/Tweet.ts:14</a></li></ul></aside></section>
|
|
66
66
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="urls" class="tsd-anchor"></a>
|
|
67
67
|
<h3 class="tsd-anchor-link"><span>urls</span><a href="#urls" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
68
68
|
<div class="tsd-signature">urls<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div>
|
|
69
69
|
<div class="tsd-comment tsd-typography"><p>The list of urls mentioned in the tweet.</p>
|
|
70
70
|
</div><aside class="tsd-sources">
|
|
71
71
|
<ul>
|
|
72
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
72
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/Tweet.ts#L11">src/types/Tweet.ts:11</a></li></ul></aside></section></section></div>
|
|
73
73
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
74
74
|
<div class="tsd-navigation settings">
|
|
75
75
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<ul class="tsd-hierarchy">
|
|
28
28
|
<li><a href="../classes/User.html" class="tsd-signature-type" data-tsd-kind="Class">User</a></li></ul></section><aside class="tsd-sources">
|
|
29
29
|
<ul>
|
|
30
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
30
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L6">src/types/User.ts:6</a></li></ul></aside>
|
|
31
31
|
<section class="tsd-panel-group tsd-index-group">
|
|
32
32
|
<section class="tsd-panel tsd-index-panel">
|
|
33
33
|
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
@@ -58,98 +58,98 @@
|
|
|
58
58
|
<div class="tsd-comment tsd-typography"><p>The creation date of user's account.</p>
|
|
59
59
|
</div><aside class="tsd-sources">
|
|
60
60
|
<ul>
|
|
61
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
61
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L17">src/types/User.ts:17</a></li></ul></aside></section>
|
|
62
62
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="description" class="tsd-anchor"></a>
|
|
63
63
|
<h3 class="tsd-anchor-link"><span>description</span><a href="#description" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
64
64
|
<div class="tsd-signature">description<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
65
65
|
<div class="tsd-comment tsd-typography"><p>The user's description.</p>
|
|
66
66
|
</div><aside class="tsd-sources">
|
|
67
67
|
<ul>
|
|
68
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
68
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L20">src/types/User.ts:20</a></li></ul></aside></section>
|
|
69
69
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="favouritesCount" class="tsd-anchor"></a>
|
|
70
70
|
<h3 class="tsd-anchor-link"><span>favourites<wbr/>Count</span><a href="#favouritesCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
71
71
|
<div class="tsd-signature">favourites<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
72
72
|
<div class="tsd-comment tsd-typography"><p>The number of tweets liked by the user.</p>
|
|
73
73
|
</div><aside class="tsd-sources">
|
|
74
74
|
<ul>
|
|
75
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
75
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L26">src/types/User.ts:26</a></li></ul></aside></section>
|
|
76
76
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="followersCount" class="tsd-anchor"></a>
|
|
77
77
|
<h3 class="tsd-anchor-link"><span>followers<wbr/>Count</span><a href="#followersCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
78
78
|
<div class="tsd-signature">followers<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
79
79
|
<div class="tsd-comment tsd-typography"><p>The number of followers of the user.</p>
|
|
80
80
|
</div><aside class="tsd-sources">
|
|
81
81
|
<ul>
|
|
82
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
82
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L29">src/types/User.ts:29</a></li></ul></aside></section>
|
|
83
83
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="followingsCount" class="tsd-anchor"></a>
|
|
84
84
|
<h3 class="tsd-anchor-link"><span>followings<wbr/>Count</span><a href="#followingsCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
85
85
|
<div class="tsd-signature">followings<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
86
86
|
<div class="tsd-comment tsd-typography"><p>The number of following of the user.</p>
|
|
87
87
|
</div><aside class="tsd-sources">
|
|
88
88
|
<ul>
|
|
89
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
89
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L32">src/types/User.ts:32</a></li></ul></aside></section>
|
|
90
90
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="fullName" class="tsd-anchor"></a>
|
|
91
91
|
<h3 class="tsd-anchor-link"><span>full<wbr/>Name</span><a href="#fullName" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
92
92
|
<div class="tsd-signature">full<wbr/>Name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
93
93
|
<div class="tsd-comment tsd-typography"><p>The full name of the user.</p>
|
|
94
94
|
</div><aside class="tsd-sources">
|
|
95
95
|
<ul>
|
|
96
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
96
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L14">src/types/User.ts:14</a></li></ul></aside></section>
|
|
97
97
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="id" class="tsd-anchor"></a>
|
|
98
98
|
<h3 class="tsd-anchor-link"><span>id</span><a href="#id" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
99
99
|
<div class="tsd-signature">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
100
100
|
<div class="tsd-comment tsd-typography"><p>The rest id of the user.</p>
|
|
101
101
|
</div><aside class="tsd-sources">
|
|
102
102
|
<ul>
|
|
103
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
103
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L8">src/types/User.ts:8</a></li></ul></aside></section>
|
|
104
104
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="isVerified" class="tsd-anchor"></a>
|
|
105
105
|
<h3 class="tsd-anchor-link"><span>is<wbr/>Verified</span><a href="#isVerified" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
106
106
|
<div class="tsd-signature">is<wbr/>Verified<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
107
107
|
<div class="tsd-comment tsd-typography"><p>Whether the account is verified or not.</p>
|
|
108
108
|
</div><aside class="tsd-sources">
|
|
109
109
|
<ul>
|
|
110
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
110
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L23">src/types/User.ts:23</a></li></ul></aside></section>
|
|
111
111
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="location" class="tsd-anchor"></a>
|
|
112
112
|
<h3 class="tsd-anchor-link"><span>location</span><a href="#location" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
113
113
|
<div class="tsd-signature">location<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
114
114
|
<div class="tsd-comment tsd-typography"><p>The location of user as provided by user.</p>
|
|
115
115
|
</div><aside class="tsd-sources">
|
|
116
116
|
<ul>
|
|
117
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
117
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L38">src/types/User.ts:38</a></li></ul></aside></section>
|
|
118
118
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="pinnedTweet" class="tsd-anchor"></a>
|
|
119
119
|
<h3 class="tsd-anchor-link"><span>pinned<wbr/>Tweet</span><a href="#pinnedTweet" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
120
120
|
<div class="tsd-signature">pinned<wbr/>Tweet<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
121
121
|
<div class="tsd-comment tsd-typography"><p>The rest id of the tweet pinned in the user's profile.</p>
|
|
122
122
|
</div><aside class="tsd-sources">
|
|
123
123
|
<ul>
|
|
124
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
124
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L41">src/types/User.ts:41</a></li></ul></aside></section>
|
|
125
125
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="profileBanner" class="tsd-anchor"></a>
|
|
126
126
|
<h3 class="tsd-anchor-link"><span>profile<wbr/>Banner</span><a href="#profileBanner" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
127
127
|
<div class="tsd-signature">profile<wbr/>Banner<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
128
128
|
<div class="tsd-comment tsd-typography"><p>The url of the profile banner image.</p>
|
|
129
129
|
</div><aside class="tsd-sources">
|
|
130
130
|
<ul>
|
|
131
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
131
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L44">src/types/User.ts:44</a></li></ul></aside></section>
|
|
132
132
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="profileImage" class="tsd-anchor"></a>
|
|
133
133
|
<h3 class="tsd-anchor-link"><span>profile<wbr/>Image</span><a href="#profileImage" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
134
134
|
<div class="tsd-signature">profile<wbr/>Image<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
135
135
|
<div class="tsd-comment tsd-typography"><p>The url of the profile image.</p>
|
|
136
136
|
</div><aside class="tsd-sources">
|
|
137
137
|
<ul>
|
|
138
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
138
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L47">src/types/User.ts:47</a></li></ul></aside></section>
|
|
139
139
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="statusesCount" class="tsd-anchor"></a>
|
|
140
140
|
<h3 class="tsd-anchor-link"><span>statuses<wbr/>Count</span><a href="#statusesCount" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
141
141
|
<div class="tsd-signature">statuses<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
|
142
142
|
<div class="tsd-comment tsd-typography"><p>The number of tweets made by the user.</p>
|
|
143
143
|
</div><aside class="tsd-sources">
|
|
144
144
|
<ul>
|
|
145
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
145
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L35">src/types/User.ts:35</a></li></ul></aside></section>
|
|
146
146
|
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface"><a id="userName" class="tsd-anchor"></a>
|
|
147
147
|
<h3 class="tsd-anchor-link"><span>user<wbr/>Name</span><a href="#userName" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
148
148
|
<div class="tsd-signature">user<wbr/>Name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
149
149
|
<div class="tsd-comment tsd-typography"><p>The username/screenname of the user.</p>
|
|
150
150
|
</div><aside class="tsd-sources">
|
|
151
151
|
<ul>
|
|
152
|
-
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/
|
|
152
|
+
<li>Defined in <a href="https://github.com/Rishikant181/Rettiwt-API/blob/b4ace2a/src/types/User.ts#L11">src/types/User.ts:11</a></li></ul></aside></section></section></div>
|
|
153
153
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
154
154
|
<div class="tsd-navigation settings">
|
|
155
155
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
package/package.json
CHANGED
|
@@ -43,18 +43,18 @@ export function guestHeader(guestCred: IGuestCredentials): any {
|
|
|
43
43
|
* @returns The header for making HTTP request for logging in
|
|
44
44
|
*/
|
|
45
45
|
export function loginHeader(guestCred: IGuestCredentials, cookie: string): any {
|
|
46
|
-
return
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
46
|
+
return [
|
|
47
|
+
`sec-ch-ua: "Not_A Brand";v="99", "Microsoft Edge";v="109", "Chromium";v="109"`,
|
|
48
|
+
`x-twitter-client-language: en`,
|
|
49
|
+
`sec-ch-ua-mobile: ?0`,
|
|
50
|
+
`authorization: ${guestCred.authToken}`,
|
|
51
|
+
`User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78`,
|
|
52
|
+
`content-type: application/json`,
|
|
53
|
+
`x-guest-token: ${guestCred.guestToken}`,
|
|
54
|
+
`x-twitter-active-user: yes`,
|
|
55
|
+
`sec-ch-ua-platform: "Windows"`,
|
|
56
|
+
`Accept: */*`,
|
|
57
|
+
`host: api.twitter.com`,
|
|
58
|
+
`Cookie: ${cookie}`
|
|
59
|
+
];
|
|
60
60
|
}
|