<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<div>If someone needs code for obtaining data from OSM Wiki about tags<br></div><div>(yes, taginfo is doing this already and for most uses it is enough)<br></div><div>and also needs info from data items then<br></div><div><a href="https://github.com/matkoniecz/osm_wiki_tag_api">https://github.com/matkoniecz/osm_wiki_tag_api</a><br></div><div>may be useful.<br></div><div><br></div><div>It has a Python script that obtains data from OSM Wiki infoboxes<br></div><div>and data items, compares them and finds where edits are needed.<br></div><div><br></div><div>Nothing groundbreaking, but finding proper way to do this<br></div><div>(without writing my own parser and without using recommended<br></div><div>but not working tools for extracting data item info).<br></div><div><br></div><div>More likely useful as inspiration and pointer toward useful libraries<br></div><div>than for direct use, but if someone is interested I can rewrite it<br></div><div>a bit and publish as a pip package.<br></div><div><br></div><div>Note: data items are not fully parsed into human readable form<br></div><div>(parsing tag lists such as "implies", "requires") as<br></div><div>(1) it is quite obnoxious to implement<br></div><div>(2) not really needed for my task<br></div><div>of finding where infobox templates are without parameters<br></div><div>and silently use data items.<br></div><div>(3) for complex fields such as seeAlso, requires etc it is<br></div><div>safe to assume that data item has the same data or of <br></div><div>worse quality, so I wanted to just detect where it is<br></div><div>silently used<br></div> </body>
</html>