Skip to content

tniewiar/pysnap

This branch is 2 commits behind mpolden/pysnap:master.

Folders and files

NameName
Last commit message
Last commit date
Mar 12, 2015
Feb 8, 2016
Feb 8, 2016
Jan 30, 2014
Jan 20, 2015
Feb 1, 2014
Aug 31, 2013
Oct 19, 2013
Jan 20, 2015
Jan 20, 2015
Jan 20, 2015
Feb 3, 2016
Feb 8, 2016
Feb 8, 2016

Repository files navigation

pysnap

Build Status

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)

About

Python library for the Snapchat API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Makefile 0.4%