Skip to content
forked from rxw/snapy

A python library to use the new snapchat API

License

Notifications You must be signed in to change notification settings

beeramtheman/snapy

 
 

Repository files navigation

Snapy

Awesome

A fork of pysnap by martinp updated to use the new Snapchat API.

Installation

Snapy is a standard Python package (setuptools) which can be installed by running:

python setup.py install

If you prefer not to install it globally, you can install it inside a virtualenv.

Example API usage

from pprint import pprint
from snapy import Snapchat

s = Snapchat()
s.login('username', 'password', 'gmail', 'gpasswd')
snaps = s.get_snaps()

pprint(snaps)

Basic clients

There are two basic clients included in the package, get_stories.py for downloading stories and get_snaps.py for downloading snaps.

$ get_snaps.py -h
Basic Snapchat client

Usage:
  get_snaps.py [-q] -u <username> [-p <password>]  --gmail=<gmail>
                --gpasswd=<gpasswd> <path>

Options:
  -h --help                 Show usage
  -q --quiet                Suppress output
  -u --username=<username>  Username
  -p --password=<password>  Password (optional, will prompt if omitted)
     --gmail=<gmail>        Gmail
     --gpasswd=<gpasswd>    Gmail password

Announcements

  • As of 2015-08-31, your Snapchat credentials are sent to https://api.casper.io as a work around for an API change.

About

A python library to use the new snapchat API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Makefile 0.3%