
import os
import sys
import bitly_api 

os.system("clear")

print ("                  ===================================")
print ("                  |        Rkt Url Shortener        |")
print ("                  ===================================")
print ("                  |Author : <NAME>(rkt)   |")
print ("                  |Github : https://github.com/r3k4t|")
print ("                  ===================================")
print

url=raw_input('Enter a link(Ex:https://www.google.com):')

BITLY_ACCESS_TOKEN ='<KEY>'

b = bitly_api.Connection(access_token = BITLY_ACCESS_TOKEN) 

resp =b.shorten(url) 

print(resp) 



import os
import sys
import bitly_api 

os.system("clear")

print ("                  ===================================")
print ("                  |        Rkt Url Shortener        |")
print ("                  ===================================")
print ("                  |Author : <NAME>(rkt)   |")
print ("                  |Github : https://github.com/r3k4t|")
print ("                  ===================================")
print

url=raw_input('Enter a link(Ex:https://www.google.com):')

BITLY_ACCESS_TOKEN ='<KEY>'

b = bitly_api.Connection(access_token = BITLY_ACCESS_TOKEN) 

resp =b.shorten(url) 

print(resp) 

