Difference between revisions of "Module:Data/endpoints"

From Yugipedia
Jump to: navigation, search
(Add getMedium. Add some comments.)
m (Add more endpoints.)
Line 4: Line 4:
 
getRegion = 'static/region',
 
getRegion = 'static/region',
 
getLanguage = 'static/language',
 
getLanguage = 'static/language',
getMedium = 'static/medium',
+
getMedium = 'static/medium', -- TODO: Rename. "medium" could be CG, anime, manga, VG, etc..
  
 
getRarity = 'static/rarity',
 
getRarity = 'static/rarity',
 +
 +
getEdition = 'static/edition',
  
 
-- SMW data:
 
-- SMW data:
getCardType = 'smw/cardType',
+
getFullCardType = 'smw/cardType', -- TODO: move module?
 
getName = 'smw/name',
 
getName = 'smw/name',
 
getReleaseDate = 'smw/releaseDate',
 
getReleaseDate = 'smw/releaseDate',
 
}
 
}
 
-- </pre>
 
-- </pre>

Revision as of 01:50, 28 December 2019

-- <pre>
return {
	-- Static data:
	getRegion = 'static/region',
	getLanguage = 'static/language',
	getMedium = 'static/medium', -- TODO: Rename. "medium" could be CG, anime, manga, VG, etc..

	getRarity = 'static/rarity',

	getEdition = 'static/edition',

	-- SMW data:
	getFullCardType = 'smw/cardType', -- TODO: move module?
	getName = 'smw/name',
	getReleaseDate = 'smw/releaseDate',
}
-- </pre>