This is a python implementation of sm.ms api. sm.ms is a site where you can upload the image and get its url.
- enter the https://sm.ms/
- register and login
- fill your username, password and path of the image in the corresponding position of the code below
if __name__ == "__main__":
root = 'https://sm.ms/api/v2/'
smms = SMMS('username', 'password')
smms.get_api_token()
smms.upload_image('xxx.jpg')
- run the smms.py
- wait a moment then you can get url of the image