All Projects → mpolden → Pysnap

mpolden / Pysnap

Licence: mit
Python library for the Snapchat API

Programming Languages

python
139335 projects - #7 most used programming language

pysnap

Build Status

Note: This project is NOT maintained. I don't provide any support for it.

A Python library for the Snapchat API

The implementation is partially based on php-snapchat by dstelljes and the full disclosure by GibSec.

Installation

Pysnap 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 pysnap import Snapchat

s = Snapchat()
s.login('username', 'password')
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>] <path>

Options:
  -h --help                 Show usage
  -q --quiet                Suppress output
  -u --username=<username>  Username
  -p --password=<password>  Password (optional, will prompt if omitted)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].