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`
222
222
223
-
eg. `l.user('loklak_app')`
224
-
eg. `l.user('loklak_app',1000)` - 1000 followers of `loklak_app`
225
-
eg. `l.user('loklak_app',1000,1000)` - 1000 followers and following of `loklak_app`
226
-
eg. `l.user('loklak_app',None,1000)` - 1000 following of `loklak_app`
223
+
e.g.
224
+
1.`l.user('loklak_app')`
225
+
2.`l.user('loklak_app', 1000)` - 1000 followers of `loklak_app`
226
+
3.`l.user('loklak_app', 1000, 1000)` - 1000 followers and following of `loklak_app`
227
+
4.`l.user('loklak_app', None, 1000)` - 1000 following of `loklak_app`
227
228
228
229
##### Accounts API
229
230
LOCALHOST ONLY, Loklak server running on port `localhost:9000`
@@ -233,15 +234,15 @@ To query the user account details of the data within the loklak server, use
233
234
234
235
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
235
236
236
-
`l.account('name','update','{ json object }')`
237
+
`l.account('name','update','{ json object }')`
237
238
238
239
##### Search API
239
240
240
241
Public search API for the scraped tweets from Twitter.
241
242
242
-
Query structure: `search('querycontent','since date','until date', 'from a specific user', '# of tweets')`
243
+
Query structure: `search('querycontent','since date','until date', 'from a specific user', '# of tweets')`
243
244
244
-
eg. l.search('doctor who')
245
+
e.g. `l.search('doctor who')`
245
246
246
247
A search result in json looks as follows.
247
248
```json
@@ -296,7 +297,7 @@ A search result in json looks as follows.
0 commit comments