@@ -78,7 +78,7 @@ Using the object created above `l.hello()` returns a json response of the status
78
78
79
79
When the server is online, the json should read
80
80
``` json
81
- {u 'status': u 'ok' }
81
+ {'status': 'ok' }
82
82
```
83
83
84
84
##### Peers - API To find out the loklak peers
@@ -169,56 +169,56 @@ eg. `l.search('sudheesh001', '2015-01-10', '2015-01-21')`
169
169
170
170
Which results in a json as follows
171
171
``` json
172
- {u 'search_metadata': {u 'client': u '14.139.85.200',
173
- u 'count': u '3',
174
- u 'count_backend': 0,
175
- u 'count_cache': 3,
176
- u 'count_twitter_all': 0,
177
- u 'count_twitter_new': 0,
178
- u 'hits': 3,
179
- u 'itemsPerPage': u '100',
180
- u 'period': 103487501,
181
- u 'query': u 'sudheesh001 since:2015-01-10 until:2015-01-21',
182
- u 'servicereduction': u 'false',
183
- u 'time': 2001 },
184
- u 'statuses': [{u 'audio': [],
185
- u 'audio_count': 0,
186
- u 'classifier_language': u 'english',
187
- u 'classifier_language_probability': 0.00043833465,
188
- u 'created_at': u '2015-01-19T04:25:38.000Z',
189
- u 'favourites_count': 0,
190
- u 'hashtags': [],
191
- u 'hashtags_count': 0,
192
- u 'hosts': [],
193
- u 'hosts_count': 0,
194
- u 'id_str': u '557031100065648640',
195
- u 'images': [],
196
- u 'images_count': 0,
197
- u 'link': u 'https://twitter.com/sudheesh001/status/557031100065648640',
198
- u 'links': [],
199
- u 'links_count': 0,
200
- u 'mentions': [u 'imasaikiran', u 'sudheesh001'],
201
- u 'mentions_count': 2,
202
- u 'place_context': u 'ABOUT',
203
- u 'place_id': u '',
204
- u 'place_name': u '',
205
- u 'provider_hash': u '1cadbfd3',
206
- u 'provider_type': u 'REMOTE',
207
- u 'retweet_count': 0,
208
- u 'screen_name': u 'sudheesh001',
209
- u 'source_type': u 'TWITTER',
210
- u 'text': u '@imasaikiran @sudheesh001 done !! \U0001f60a',
211
- u 'user': {u 'appearance_first': u '2015-11-13T02:05:19.861Z',
212
- u 'appearance_latest': u '2015-11-13T02:05:19.861Z',
213
- u 'name': u 'SudheeshSinganamalla',
214
- u 'profile_image_url_https': u 'https://pbs.twimg.com/profile_images/500559201542762498/IvDEqWy1_bigger.jpeg',
215
- u 'screen_name': u 'sudheesh001',
216
- u 'user_id': u '390171807'},
217
- u 'videos': [],
218
- u 'videos_count': 0,
219
- u 'without_l_len': 36,
220
- u 'without_lu_len': 10,
221
- u 'without_luh_len': 10}
172
+ {'search_metadata': {'client': '14.139.85.200',
173
+ 'count': '3',
174
+ 'count_backend': 0,
175
+ 'count_cache': 3,
176
+ 'count_twitter_all': 0,
177
+ 'count_twitter_new': 0,
178
+ 'hits': 3,
179
+ 'itemsPerPage': '100',
180
+ 'period': 103487501,
181
+ 'query': 'sudheesh001 since:2015-01-10 until:2015-01-21',
182
+ 'servicereduction': 'false',
183
+ 'time': 2001 },
184
+ 'statuses': [{'audio': [],
185
+ 'audio_count': 0,
186
+ 'classifier_language': 'english',
187
+ 'classifier_language_probability': 0.00043833465,
188
+ 'created_at': '2015-01-19T04:25:38.000Z',
189
+ 'favourites_count': 0,
190
+ 'hashtags': [],
191
+ 'hashtags_count': 0,
192
+ 'hosts': [],
193
+ 'hosts_count': 0,
194
+ 'id_str': '557031100065648640',
195
+ 'images': [],
196
+ 'images_count': 0,
197
+ 'link': 'https://twitter.com/sudheesh001/status/557031100065648640',
198
+ 'links': [],
199
+ 'links_count': 0,
200
+ 'mentions': ['imasaikiran', 'sudheesh001'],
201
+ 'mentions_count': 2,
202
+ 'place_context': 'ABOUT',
203
+ 'place_id': '',
204
+ 'place_name': '',
205
+ 'provider_hash': '1cadbfd3',
206
+ 'provider_type': 'REMOTE',
207
+ 'retweet_count': 0,
208
+ 'screen_name': 'sudheesh001',
209
+ 'source_type': 'TWITTER',
210
+ 'text': '@imasaikiran @sudheesh001 done !! \U0001f60a',
211
+ 'user': {'appearance_first': '2015-11-13T02:05:19.861Z',
212
+ 'appearance_latest': '2015-11-13T02:05:19.861Z',
213
+ 'name': 'SudheeshSinganamalla',
214
+ 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/500559201542762498/IvDEqWy1_bigger.jpeg',
215
+ 'screen_name': 'sudheesh001',
216
+ 'user_id': '390171807'},
217
+ 'videos': [],
218
+ 'videos_count': 0,
219
+ 'without_l_len': 36,
220
+ 'without_lu_len': 10,
221
+ 'without_luh_len': 10}
222
222
]}
223
223
```
224
224
0 commit comments