2023-04-30 22:13:02 +00:00
|
|
|
|
|
|
|
import json
|
|
|
|
import logging
|
2023-04-30 22:18:25 +00:00
|
|
|
import contentapi
|
2023-04-30 22:13:02 +00:00
|
|
|
|
|
|
|
# The entire config object with all defaults
|
|
|
|
config = {
|
|
|
|
"api" : "https://oboy.smilebasicsource.com/api"
|
|
|
|
}
|
|
|
|
|
|
|
|
def main():
|
|
|
|
print("Program start")
|
|
|
|
logging.debug("Config: " + json.dumps(config, indent = 2))
|
2023-04-30 22:18:25 +00:00
|
|
|
context = contentapi.ApiContext(config["api"])
|
|
|
|
print("Program end")
|
|
|
|
|
|
|
|
# Because python reasons
|
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|