User:Jnestorius/Template:IOC medals
Appearance
"Results and Medalists". Olympic.org. International Olympic Committee.
zzz Todo
[edit]- See Template:IOC medals {{IOC medals|games=|NOC=|sport=|accessdate=}}
- https://www.olympic.org/olympic-results search page
- requires Sport plus either Games or Event
- has no Country parameter
- Sports
- Sports values not included:
- equestrian [as distinct from equestrian-dressage equestrian-eventing equestrian-jumping equestrian-vaulting]
- marathon-swimming [as distinct from swimming]
- military-patrol [as distinct from biathlon]
- wrestling [as distinct from wrestling-freestyle wrestling-greco-roman]
- Sports values not included:
- Countries
- now uses names instead of NOC TLAs as per https://www.olympic.org/national-olympic-committees e.g. https://www.olympic.org/germany
- {{Country alias}} or Module:Country alias gets most
- but not longwindeds e.g. https://www.olympic.org/brunei-darussalam https://www.olympic.org/islamic-republic-of-iran
- Also obsoletes e.g. unified-team-ex-ussr-in-1992
- {{Country alias}} or Module:Country alias gets most
- no HTML results page, only JSON from AJAX to sessionid URLs e.g. https://www.olympic.org/ajaxscript/loadmoretablelist/country/games/{3885D025-DD56-46DF-A0B2-DA8CDED8E56C}/5/5
- For 2018 e.g. https://www.olympic.org/pyeongchang-2018/results/en/general/noc-entries-ghana.htm but not general e.g. 404 for https://www.olympic.org/garmisch-partenkirchen-1936/results/en/general/noc-entries-france.htm
- now uses names instead of NOC TLAs as per https://www.olympic.org/national-olympic-committees e.g. https://www.olympic.org/germany
- Summary: could work sort-of;
- URL format: do any of the following have an anchor for the medals/results section?
- NOC → https://www.olympic.org/NOC_decoded
- games+sport → https://www.olympic.org/games_encoded/sport_encoded
- games alone → https://www.olympic.org/games_encoded/
- sport alone → https://www.olympic.org/sport_encoded/
- URL format: do any of the following have an anchor for the medals/results section?