#coding: utf-8 import urllib import BeautifulSoup # http://api.tinami.com/ EMAIL = "input your email address" PASSWORD = "input your password" API_KEY = "input your api key" class PyTin: def __init__(self): self.api_key = API_KEY self.email = "" self.password = "" self.auth_key = "" self.creator_id = None self.user_no = None def setAPIKey(self, key): self.api_key = key def setEmail(self, email): s