<s> from __future__ import print_function <EOL> import time <EOL> from datasift import Client <EOL> import json <EOL> user_name = "<STR_LIT>" <EOL> api_key = "<STR_LIT>" <EOL> datasift = Client ( user_name , api_key , False ) <EOL> print ( "<STR_LIT>" ) <EOL> identity = datasift . account . identity . create ( '<STR_LIT>' ) <EOL> print ( identity ) <EOL> print ( "<STR_LIT>" ) <EOL> datasift . account . identity . update ( identity [ '<STR_LIT:id>' ] , '<STR_LIT>' ) <EOL> print ( "<STR_LIT>" ) <EOL> print ( datasift . account . identity . get ( identity [ '<STR_LIT:id>' ] ) ) <EOL> print ( "<STR_LIT>" ) <EOL> token = datasift . account . identity . token . create ( identity [ '<STR_LIT:id>' ] , '<STR_LIT>' , '<STR_LIT>' ) <EOL> print ( token ) <EOL> print ( "<STR_LIT>" ) <EOL> customer_client = Client ( user_name , identity [ '<STR_LIT>' ] ) <EOL> print ( "<STR_LIT>" ) <EOL> print ( customer_client . pylon . list ( ) ) <EOL> print ( "<STR_LIT>" ) <EOL> datasift . account . identity . limit . create ( identity [ '<STR_LIT:id>' ] , '<STR_LIT>' , <NUM_LIT:1000> ) <EOL> print ( "<STR_LIT>" ) <EOL> print ( datasift . account . identity . limit . get ( identity [ '<STR_LIT:id>' ] , '<STR_LIT>' ) ) <EOL> print ( "<STR_LIT>" ) <EOL> datasift . account . identity . delete ( identity [ '<STR_LIT:id>' ] ) </s>
