examples: add get_country_list and add_invoice

This commit is contained in:
Richard Kubíček
2025-02-28 19:11:20 +01:00
parent 1cf1498b25
commit fa3d2ddf32
4 changed files with 129 additions and 44 deletions

View File

@@ -0,0 +1,18 @@
"""
This script retrieves and prints the list of countries using the SuperFaktura API.
"""
from pprint import pprint
from superfaktura.utils.country import country_list
def main():
"""
Main function to retrieve and print the list of countries using the SuperFaktura API.
"""
pprint(country_list())
if __name__ == "__main__":
main()