In the Flickr API docs, you need to find the MD5 sum of a string to generate the [api_sig] value.
[api_sig]
How does one go about generating an MD5 sum from a str
You can Try with
#python3 import hashlib rawdata = "put your data here" sha = hashlib.sha256(str(rawdata).encode("utf-8")).hexdigest() #For Sha256 hash print(sha) mdpass = hashlib.md5(str(sha).encode("utf-8")).hexdigest() #For MD5 hash print(mdpass)