Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Snapchat API client in Python

Project Description

pysnap
======

[![Build Status](https://travis-ci.org/martinp/pysnap.png)](https://travis-ci.org/martinp/pysnap)

A Python library for the Snapchat API

The implementation is partially based on php-snapchat by dstelljes and the
[full disclosure by GibSec](http://gibsonsec.org/snapchat/fulldisclosure/).

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](http://www.virtualenv.org/).

Example API usage
-----------------

```python

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)

Release History

This version
History Node

0.1.1

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
pysnap-0.1.1.tar.gz
(7.2 kB) Copy SHA256 Hash SHA256
Source Feb 2, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting