|
|
Line 1: |
Line 1: |
− | This page contains various examples of ASK queries supplied with similar API examples:
| + | <comments /> |
− | | |
− | == Fetch 10 balinese words sorted by first char ==
| |
− | | |
− | {{#ask: [[Category:Balinese Words]]
| |
− | |format=ul
| |
− | |limit=10
| |
− | |sort=Word title char
| |
− | |order=asc
| |
− | |searchlabel=
| |
− | }}
| |
− | | |
− | <pre> | |
− | API: https://dictionary.basabali.org/w/api.php?action=ask&format=json&query=[[Category:Balinese%20Words]]|limit=10|sort=Word%20title%20char|order=asc
| |
− | </pre>
| |
− | | |
− | == Fetch 10 balinese words with specific first character (B) ==
| |
− | | |
− | {{#ask: [[Category:Balinese Words]] [[Word title char::B]]
| |
− | |format=ul
| |
− | |limit=10
| |
− | |sort=Word title char
| |
− | |order=asc
| |
− | |searchlabel=
| |
− | }}
| |
− | | |
− | <pre>
| |
− | API: https://dictionary.basabali.org/w/api.php?action=ask&format=json&query=[[Category:Balinese Words]] [[Word title char::A]]|limit=10|sort=Word%20title%20char|order=asc
| |
− | </pre>
| |
− | | |
− | == Fetch 10 balinese words with specific first characters (A or B) ==
| |
− | | |
− | {{#ask: [[Category:Balinese Words]] [[Word title char::A||B]]
| |
− | |format=ul
| |
− | |limit=10
| |
− | |sort=Word title char
| |
− | |order=asc
| |
− | |searchlabel=
| |
− | }}
| |
− | | |
− | <pre>
| |
− | API: https://dictionary.basabali.org/w/api.php?action=ask&format=json&query=[[Category:Balinese Words]] [[Word title char::A||B]]|limit=10|sort=Word%20title%20char|order=asc
| |
− | </pre>
| |
− | | |
− | == Fetch specific properties of 10 balinese words ==
| |
− | | |
− | {{#ask: [[Category:Balinese Words]]
| |
− | |?Word title char
| |
− | |?Has examples
| |
− | |?English equivalent
| |
− | |format=table
| |
− | |limit=10
| |
− | |searchlabel=
| |
− | }}
| |
− | | |
− | <pre>
| |
− | API: https://dictionary.basabali.org/w/api.php?action=ask&format=json&query=[[Category:Balinese Words]]|?Word title char|?Has examples|?English equivalent|limit=10
| |
− | </pre>
| |
− | | |
− | == Fetch balinese words with videos ==
| |
− | | |
− | {{#ask: [[Category:Balinese Words]] [[Video count::>>0]]
| |
− | |format=ul
| |
− | |limit=10
| |
− | |searchlabel=
| |
− | }}
| |
− | | |
− | <pre>
| |
− | API: https://dictionary.basabali.org/w/api.php?action=ask&format=json&query=[[Category:Balinese Words]] [[Video count::>>0]]limit=10
| |
− | </pre>
| |
Enable comment auto-refresher
Alexey123
Permalink |
Alexey123
Alexey123
Permalink |
Demo1234567890
Demo1234567890
Permalink |
Alexey123
Permalink |