Module Expr Str Import alias ImportFrom alias Import alias Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Str Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot Call AttributeLoad NameLoad attr Str body Return NameLoad Return Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str decorator_list NameLoad decorator_list ClassDef bases body ClassDef bases body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num decorator_list ClassDef bases body Expr Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Raise Call NameLoad Str Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr Str Num Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad decorator_list
N/A N/A 
snaps.py provides Python objects that represent Snaps of various forms --
received, sent, and so on. Methods in these classes encapsulate actions
that are useful to perform on snaps.
 N/A time Crypto.Cipher AES N/A constants N/A __author__ Alex Clemmer, Chad Brubaker N/A __copyright__ Copyright 2013, Alex Clemmer and Chad Brubaker N/A __credits__ N/A Alex Clemmer Chad Brubaker N/A __license__ MIT N/A __version__ 0.1 N/A __maintainer__ Alex Clemmer N/A __email__ clemmer.alexander@gmail.com N/A __status__ Prototype Caption N/A N/A __init__ N/A N/A self text location orientation N/A N/A N/A N/A self text text N/A N/A self location location N/A N/A self orientation orientation N/A from_json N/A N/A snap N/A N/A N/A N/A N/A N/A snap has_key cap_text N/A N/A None N/A N/A Caption N/A snap N/A cap_text N/A snap N/A cap_pos N/A snap N/A cap_ori N/A staticmethod N/A Snap N/A N/A Type N/A N/A N/A 
        The media type of Snap
         N/A IMAGE 0 N/A VIDEO 1 N/A VIDEO_NO_AUDIO 2 N/A FRIEND_REQ 3 N/A FRIEND_REQ_IMAGE 4 N/A FRIEND_REQ_VIDEO 5 N/A FRIEND_REQ_VIDEO_NO_AUDIO 6 N/A State N/A N/A N/A 
        The state of the Snap.

        Snaps that are viewed are (claimed to be) deleted from the server
         N/A SENT 0 N/A DELIVERED 1 N/A VIEWED 2 N/A SCREENSHOT 3 N/A viewable N/A N/A self N/A N/A N/A N/A N/A N/A self state N/A N/A Snap State DELIVERED N/A N/A self type N/A N/A Snap Type FRIEND_REQ N/A property download N/A N/A self when skip_decrypt N/A None False N/A N/A 
        Download a snap from the server.
         N/A N/A N/A self viewable N/A N/A N/A Exception Snap not viewable, cannot download N/A N/A N/A N/A self connection blob N/A self id N/A __repr__ N/A N/A self N/A N/A N/A N/A %s(%r) N/A N/A self __class__ N/A self __dict__ N/A N/A SentSnap N/A Snap N/A __init__ N/A N/A self connection id client_id recipient type state timestamp send_timestamp view_time screenshots caption N/A 0 0 None N/A N/A N/A self connection connection N/A N/A self id id N/A N/A self client_id client_id N/A N/A self recipient recipient N/A N/A self user recipient N/A N/A self type type N/A N/A self state state N/A N/A self timestamp timestamp N/A N/A self send_timestamp timestamp N/A N/A self screenshots screenshots N/A N/A self caption caption N/A from_json N/A N/A conn snap N/A N/A N/A N/A SentSnap conn N/A snap N/A id N/A snap N/A c_id N/A snap N/A rp N/A snap N/A m N/A snap N/A st N/A snap N/A ts N/A snap N/A sts N/A N/A snap get t 0 N/A N/A snap get ss 0 N/A N/A Caption from_json snap N/A staticmethod viewable N/A N/A self N/A N/A N/A False N/A property N/A ReceivedSnap N/A Snap N/A __init__ N/A N/A self connection id sender type state timestamp send_timestamp view_time screenshots caption N/A 0 0 None N/A N/A N/A self connection connection N/A N/A self id id N/A N/A self sender sender N/A N/A self user sender N/A N/A self type type N/A N/A self state state N/A N/A self timestamp timestamp N/A N/A self send_timestamp timestamp N/A N/A self screenshots screenshots N/A N/A self caption caption N/A from_json N/A N/A conn snap N/A N/A N/A N/A ReceivedSnap conn N/A snap N/A id N/A snap N/A sn N/A snap N/A m N/A snap N/A st N/A snap N/A ts N/A snap N/A sts N/A N/A snap get t 0 N/A N/A snap get ss 0 N/A N/A Caption from_json snap N/A staticmethod N/A