You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`<followers count>` and `<following count>` is a numeric or a string or `None`
223
223
224
-
eg. `l.user('loklak_app')`
225
-
eg. `l.user('loklak_app',1000)` - 1000 followers of `loklak_app`
226
-
eg. `l.user('loklak_app',1000,1000)` - 1000 followers and following of `loklak_app`
227
-
eg. `l.user('loklak_app',None,1000)` - 1000 following of `loklak_app`
224
+
e.g.
225
+
1.`l.user('loklak_app')`
226
+
2.`l.user('loklak_app', 1000)` - 1000 followers of `loklak_app`
227
+
3.`l.user('loklak_app', 1000, 1000)` - 1000 followers and following of `loklak_app`
228
+
4.`l.user('loklak_app', None, 1000)` - 1000 following of `loklak_app`
228
229
229
230
##### Accounts API
230
231
LOCALHOST ONLY, Loklak server running on port `localhost:9000`
@@ -234,15 +235,15 @@ To query the user account details of the data within the loklak server, use
234
235
235
236
To update the user details within the server, package a `json` object with the following parameters and other parameters which needs to be pushed to the server and use the `action=update` where `action` is the 2nd parameter of the `account()` api
236
237
237
-
`l.account('name','update','{ json object }')`
238
+
`l.account('name','update','{ json object }')`
238
239
239
240
##### Search API
240
241
241
242
Public search API for the scraped tweets from Twitter.
242
243
243
-
Query structure: `search('querycontent','since date','until date', 'from a specific user', '# of tweets')`
244
+
Query structure: `search('querycontent','since date','until date', 'from a specific user', '# of tweets')`
244
245
245
-
eg. l.search('doctor who')
246
+
e.g. `l.search('doctor who')`
246
247
247
248
A search result in json looks as follows.
248
249
```json
@@ -297,7 +298,7 @@ A search result in json looks as follows.
0 commit comments