Difference between revisions of "Module:Data/endpoints"
(Data endpoints map (method name => module name).) |
(Add getMedium. Add some comments.) |
||
Line 1: | Line 1: | ||
-- <pre> | -- <pre> | ||
return { | return { | ||
+ | -- Static data: | ||
getRegion = 'static/region', | getRegion = 'static/region', | ||
getLanguage = 'static/language', | getLanguage = 'static/language', | ||
+ | getMedium = 'static/medium', | ||
+ | |||
getRarity = 'static/rarity', | getRarity = 'static/rarity', | ||
+ | -- SMW data: | ||
getCardType = 'smw/cardType', | getCardType = 'smw/cardType', | ||
getName = 'smw/name', | getName = 'smw/name', |
Revision as of 02:03, 26 December 2019
-- <pre>
return {
-- Static data:
getRegion = 'static/region',
getLanguage = 'static/language',
getMedium = 'static/medium',
getRarity = 'static/rarity',
-- SMW data:
getCardType = 'smw/cardType',
getName = 'smw/name',
getReleaseDate = 'smw/releaseDate',
}
-- </pre>