Skip to content

Instantly share code, notes, and snippets.

@aldakur aldakur/laburURL.py
Last active Mar 24, 2017

Embed
What would you like to do?
Script to use labur.eus services in console [Python]
import requests
res = requests.get('https://labur.eus/api/v2/action/shorten?key=YOUR_API_KEYd&url=URL_YOU_WANT_TO_SHORTEN&is_secret=false')
shortened_url = res.text
print shortened_url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.