Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 783c309ce9
Fetching contributors…

Cannot retrieve contributors at this time

executable file 24 lines (18 sloc) 0.423 kb
import time
import hashlib
# Get your Rovi API Key from http://developer.rovicorp.com
APIKEY = 'your_rovi_api_key'
SECRET = 'your_rovi_shared_secret'
def apikey():
return APIKEY
def secret():
return SECRET
def sign():
my_time = int(time.time())
sig = hashlib.md5()
sig.update(APIKEY)
sig.update(SECRET)
sig.update(str(my_time))
return sig.hexdigest()
if __name__ == '__main__':
print sign()
Jump to Line
Something went wrong with that request. Please try again.