We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24745fd commit 2b6507eCopy full SHA for 2b6507e
services/bitly.py
@@ -59,3 +59,7 @@ def expand(self, tinyurl):
59
raise ShortyError(jdata['errorMessage'])
60
return str(jdata['results'].values()[0]['longUrl'])
61
62
+ def qrcode(self, tinyurl):
63
+ qrdata = request(tinyurl + '.qrcode').read()
64
+ return qrdata
65
+
services/google.py
@@ -14,3 +14,7 @@ def shrink(self, bigurl):
14
else:
15
return jdata['short_url']
16
17
18
+ qrdata = request(tinyurl + '.qr').read()
19
20
0 commit comments