Extended the TinyPNG API python3 example with parameters