Snap API Examples