old_contents: from InstagramAPI import Checkpoint
  
  username = ''  # // Your username
  settingsPath = None
  debug = False
  
  c = Checkpoint(username, settingsPath, debug)
  
  print("####################")
  print("#                  #")
  print("#    CHECKPOINT    #")
  print("#                  #")
  print("####################")
  
  if username == '':
      print("\n\nYou have to set your username\n")
      exit()
  
  token = c.doCheckpoint()
  
  code = raw_input("\n\nCode you have received via mail: ").strip()
  
  c.checkpointThird(code, token)
  
  print("\n\nDone")
  
new_contents: from InstagramAPI import Checkpoint
  
  debug = True
  
  
  print("####################")
  print("#                  #")
  print("#    CHECKPOINT    #")
  print("#                  #")
  print("####################")
  
  username = raw_input("\n\nYour username: ").strip()
  
  if username == '':
      print("\n\nYou have to set your username\n")
      exit()
  
  settingsPath = raw_input("\n\nYour settings path folder ([ENTER] if dedault): ").strip()
  print settingsPath
  if settingsPath == '':
      settingsPath = None
  
  c = Checkpoint(username, settingsPath, debug)
  
  token = c.doCheckpoint()
  
  code = raw_input("\n\nCode you have received via mail: ").strip()
  
  c.checkpointThird(code, token)
  
  print("\n\nDone")
  
subject: Update CLI example mgp25/Instagram-API@d7eda0d105b2fb6ff15e757323fa146628361275