Difference between revisions of "User:Alexey123"
From BASAbaliWiki
Line 1: | Line 1: | ||
− | + | This page contains various examples of ASK queries supplied with similar API examples: | |
− | + | ||
− | + | == 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 == | ||
+ | |||
+ | {{#ask: [[Category:Balinese Words]] [[Word title char::A]] | ||
+ | |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> |
Revision as of 11:27, 19 September 2019
This page contains various examples of ASK queries supplied with similar API examples:
Fetch 10 balinese words sorted by first char[edit]
API: https://dictionary.basabali.org/w/api.php?action=ask&format=json&query=[[Category:Balinese%20Words]]|limit=10|sort=Word%20title%20char|order=asc
Fetch 10 balinese words with specific first character[edit]
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
Fetch 10 balinese words with specific first characters (A or B)[edit]
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