import modio

client = modio.Client(access_token="oauth2 token goes here")
newfile = modio.NewModFile(
    version="0.3.4",
    changelog="New version which now contains <b> twice as many toilets </b>",
    active=True,
    metadata="new_file,test_file,crazy",
)

newfile.add_file("path/to/file/new_release.zip")

mod = client.get_game(234).get_mod(567)
modfile = mod.add_file(newfile)

print(modfile)
# <modio.ModFile name=new_release.zip version=0.3.4 mod=567>
