Skip to content

XavierJiezou/python-sm.ms-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

python-sm.ms-api

This is a python implementation of sm.ms api. sm.ms is a site where you can upload the image and get its url.

usage

  1. enter the https://sm.ms/
  2. register and login
  3. 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')
  1. run the smms.py
  2. wait a moment then you can get url of the image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages