blob: 24f98f070072dd99ef0c55173fd32a68d8e11d6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/usr/bin/python3
import sys
import logging
import wikifolio.rss
logging.basicConfig(level=logging.INFO)
if len(sys.argv) == 2:
name = sys.argv[1]
zertifikat_id = wikifolio.get_id_from_name(name)
trades = wikifolio.get_trades(zertifikat_id)
print(wikifolio.rss.dump_trades(zertifikat_id, trades))
|