snapchat api in python

Solutions on MaxInterview for snapchat api in python by the best coders in the world

showing results for - "snapchat api in python"
Émeric
25 Jul 2019
1>>> from snapchat import *
2>>> me = SnapChat("sdushantha")
3>>> me.check_username()
4'sdushantha is already taken!'
5>>> # Since the usename is taken, that means it is a valid username
6>>> me.get_snapcode(bitmoji=False, size=500)
7(..., 'PNG', '500x500')
8>>> # The dotted part (...) is the raw data of the image
9>>> # You use this data to write it into a file or do whatever you like
10