static L<S> googleAutoComplete(S query) { S url = "http://suggestqueries.google.com/complete/search?client=firefox&q=" + urlencode(query); L data = cast jsonDecode(loadPage(url)); ret (L) data.get(1); }
Began life as a copy of #1003017
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1011935 |
| Snippet name: | googleAutoComplete - call Google auto complete |
| Eternal ID of this version: | #1011935/1 |
| Text MD5: | f18c7b0d432a69bbf2ca8b0b747eacfd |
| Author: | stefan |
| Category: | javax / networking |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-11-10 05:17:12 |
| Source code size: | 212 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 655 / 702 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |