[wishlist] Shortener configuration

Bug #947446 reported by Rich Johnson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Polly
Triaged
Wishlist
Unassigned

Bug Description

Think the summary sums it up :) Would be nice if I could configure the bit.ly shortener with my API information. Other clients with bit.ly support allow you to enter the following:

 * bit.ly username
 * bit.ly API key

Tags: wishlist
Revision history for this message
Rich Johnson (nixternal) wrote :

def shorten(self, url):
        parameters = {b'login': b'pollyclient',
                      b'apiKey': b'R_5547dabb0f1fc372428fb93b5223f28b',
                      b'format': b'json',
                      b'longUrl': url.encode(ENCODING)}

        return self._request_get(b'http://api.bitly.com/v3/shorten', parameters)

The code is already there, just need UI to update login: & apiKey: Sounds easy enough :)

Revision history for this message
Conscious User (conscioususer) wrote :

Some goo.gl users asked for similar stuff, so I'm editing the title to make it more generic.

summary: - [wishlist] bit.ly api configuration
+ [wishlist] Shortener configuration
Changed in polly:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Tom Slominski (tomslominski) wrote :

YOURLS support would be nice too :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.