Module Expr Str Import alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad 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 Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr NameLoad body If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body TryExcept body Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Pass Assign NameStore Call AttributeLoad NameLoad attr orelse If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Return NameLoad If BoolOpAnd Call NameLoad NameLoad NameLoad CompareIn Str NameLoad body Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad orelse If Call NameLoad NameLoad NameLoad body Return ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad orelse Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpMod NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad kwarg body Expr Str Assign NameStore AttributeLoad NameLoad attr If CompareIs AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad Str orelse If BoolOpAnd NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr TryExcept body If AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr orelse If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad AttributeLoad NameLoad attr attr name NameStore body Raise Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad While CompareEq NameLoad NameLoad body TryExcept body If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Yield NameLoad handlers ExceptHandler type NameLoad name NameStore body If NameLoad body Expr Yield NameLoad orelse Raise decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad AttributeLoad NameLoad attr attr body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr orelse Return BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Dict Assign NameStore IfExp NameLoad NameLoad Call NameLoad Assign AttributeStore NameLoad attr IfExp CompareIs NameLoad NameLoad AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body With Call NameLoad Call NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad Call NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index Str NameLoad Expr Call NameLoad NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore IfExp CompareIs NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A 
  Dynamically generated API for Twitter.

  Methods are described in api.yaml
  The call structure should roughly match https://dev.twitter.com/docs/api

 N/A json yaml string models os sys datetime functools partial contextlib closing _connection Connection twitter_exception TwitterException access_tokens config_connection urlparse urlparse copy copy _utils * N/A OpenSSL _ApiMethodSpec N/A object N/A __init__ N/A N/A self method url base_url streaming doc model contains default_param example_params container_id default post N/A None None None None None N/A dict None None None None False N/A N/A N/A self method method N/A N/A self url url N/A N/A self base_url base_url N/A N/A self streaming streaming N/A N/A self doc doc N/A N/A self model model N/A N/A self default_param default_param N/A N/A self container_id container_id N/A N/A self post post N/A N/A N/A self initialize_model N/A N/A self contains N/A list N/A N/A name structure N/A N/A contains iteritems N/A N/A N/A N/A self add_child name structure N/A initialize_model N/A N/A self N/A N/A N/A N/A isinstance N/A self model str N/A N/A N/A N/A self model None N/A N/A N/A self model None N/A N/A N/A self model N/A getattr models N/A self model N/A add_child N/A N/A self method structure N/A N/A N/A parent_structure N/A doc model N/A self doc N/A self model N/A N/A structure N/A method method N/A N/A N/A parent_structure update structure N/A N/A N/A N/A self contains append N/A _ApiMethodSpec parent_structure N/A N/A ApiMethod N/A object N/A N/A A method representing a part of the Twitter API.

    Some methods are callable, just use methodname().

    Methods can also be nested arbitrarily. For more information see 
      Api  
      api.yaml
      https://dev.twitter.com/docs/api
   __init__ N/A N/A self connection api spec container N/A None N/A N/A N/A self _api api N/A N/A self _connection connection N/A N/A self _spec spec N/A N/A self __doc__ N/A spec doc N/A N/A self _container container N/A spec N/A spec contains N/A N/A N/A setattr self N/A spec method N/A ApiMethod connection api spec container N/A _process_result N/A N/A self result N/A N/A N/A N/A N/A self _api limit_remaining None N/A N/A N/A self _api limit None N/A N/A N/A self _api limit_reset None N/A N/A N/A N/A self _spec streaming N/A N/A N/A N/A N/A N/A self _api limit_remaining N/A int N/A N/A result headers N/A X-Rate-Limit-Remaining N/A N/A N/A self _api limit N/A int N/A N/A result headers N/A X-Rate-Limit-Limit N/A N/A N/A self _api limit_reset N/A N/A N/A datetime datetime utcfromtimestamp N/A float N/A N/A result headers N/A X-Rate-Limit-Reset N/A N/A N/A KeyError N/A N/A N/A result N/A N/A result json N/A N/A N/A N/A result strip N/A N/A result N/A N/A json loads result N/A N/A None N/A N/A N/A isinstance result dict N/A previous_cursor result N/A N/A N/A N/A models ResultsPage result N/A self _api N/A N/A N/A N/A self _spec model None N/A N/A result N/A N/A N/A isinstance result list N/A N/A N/A N/A N/A N/A self _spec model r N/A self _api N/A r result N/A N/A N/A N/A N/A self _spec model result N/A self _api N/A _prepare_url N/A N/A self params N/A N/A N/A url N/A N/A self url N/A p N/A copy params N/A N/A self _container N/A N/A N/A N/A p update N/A N/A self _container __dict__ N/A url N/A url p N/A N/A N/A N/A self _api _prefix_url url N/A N/A self _spec base_url N/A url N/A N/A self N/A N/A N/A N/A N/A self _spec url N/A _model N/A N/A self N/A N/A N/A N/A N/A self _spec model N/A __call__ N/A N/A self default N/A None params N/A N/A 
      Make the specified call to the Twitter API.

      Raises requests.exceptions.RequestException if a request was failed. Usually you should retry.

      Raises a twitterwrapper.TwitterException if Twitter doesn't want to talk to us.
     N/A spec N/A self _spec N/A N/A N/A spec url None N/A N/A N/A TypeError API method is not callable N/A N/A N/A default N/A spec default_param N/A N/A N/A params N/A N/A spec default_param default N/A N/A N/A self _container N/A spec container_id N/A N/A N/A params N/A N/A spec container_id N/A N/A self _container id N/A N/A N/A N/A spec streaming N/A N/A N/A N/A self _stream N/A N/A self _prepare_url params params N/A spec post N/A N/A N/A spec post N/A N/A result N/A N/A N/A self _connection post N/A N/A self _prepare_url params data params N/A N/A result N/A N/A N/A self _connection get N/A N/A self _prepare_url params params params N/A N/A N/A TwitterException raise_for_response result N/A N/A N/A self _process_result result N/A N/A N/A N/A N/A OpenSSL SSL SysCallError N/A e N/A N/A N/A N/A N/A requests exceptions SSLError e N/A _stream N/A N/A self url params post N/A N/A N/A continue_streaming True N/A timeout N/A N/A params pop timeout None N/A yield_exceptions N/A N/A params pop ignore_exceptions False N/A N/A continue_streaming True N/A N/A N/A N/A post N/A N/A request N/A N/A N/A self _connection post N/A N/A self _prepare_url params data params stream True timeout timeout N/A N/A request N/A N/A N/A self _connection post N/A N/A self _prepare_url params params params stream True timeout timeout N/A N/A N/A TwitterException raise_for_response request N/A line N/A N/A request iter_lines N/A N/A result N/A N/A self _process_result line N/A N/A result None N/A N/A N/A result N/A N/A N/A Exception N/A e N/A N/A yield_exceptions N/A N/A N/A e N/A N/A N/A __repr__ N/A N/A self N/A N/A N/A N/A N/A self _spec url N/A N/A N/A <ApiMethod:%s URL:%s> N/A N/A N/A self _spec method N/A N/A self _spec url N/A N/A N/A <ApiMethod:%s (NOT CALLABLE)> N/A N/A self _spec method N/A N/A Api N/A object N/A N/A An instance of the Twitter API bound to a specific connection.

    The structure of the API calls available closely matches that provided by Twitter at:
      https://dev.twitter.com/docs/api

    For example, with an Api object called "api", to access 'statuses/home_timeline' call:

      api.statuses.home_timeline()

    Some parts of the API are callable, but also have callable sub-methods, such as:

      statuses.retweeted_by(id) and
      statuses.retweeted_by.ids(id)

    Methods with ID parameters in the URL, such as "statuses/show/:id", can be accessed via 
      the path as normal, with the ID as a parameter, such as:
      statuses.show(id)

    Objects returned will usually be ApiModel objects, representing the relevant data structures.

    Some objects which are returned from the API will be "blessed" and can access the API themselves.
      In this case, the relevant ID will be automatically supplied:

      l = api.lists.all()[0]
      l.statuses # Call to list.statuses with id l.id

    For a full specification of the parts of the API implemented here, please see api.yaml
   N/A BASE_URL https://api.twitter.com/1.1 __init__ N/A N/A self connection specification base_url N/A None None None N/A N/A N/A self _model_apis N/A N/A connection N/A connection connection N/A config_connection N/A N/A self _base_url N/A N/A base_url None N/A Api BASE_URL base_url N/A N/A specification None N/A N/A N/A closing N/A open_data api.yaml f N/A N/A specification N/A N/A yaml load f N/A N/A self _connection connection N/A N/A self limit_remaining None N/A N/A self limit_reset None N/A N/A attribute value N/A N/A specification iteritems N/A N/A N/A hasattr models attribute N/A N/A target_class N/A getattr models attribute N/A N/A N/A self _model_apis N/A target_class N/A dict N/A N/A inner_attribute inner_value N/A N/A value iteritems N/A N/A N/A inner_value N/A method inner_attribute N/A N/A N/A N/A self _model_apis N/A target_class N/A inner_attribute N/A _ApiMethodSpec inner_value N/A N/A N/A value N/A method attribute N/A N/A setattr self attribute N/A ApiMethod N/A self _connection self N/A _ApiMethodSpec value N/A _bless N/A N/A self target N/A N/A N/A Will 'bless' an object with any API calls matching its class N/A N/A N/A target __class__ N/A self _model_apis N/A N/A N/A method method_spec N/A N/A N/A N/A self _model_apis N/A N/A target __class__ iteritems N/A N/A api_object N/A ApiMethod N/A self _connection self method_spec target N/A N/A setattr target method api_object N/A target N/A _prefix_url N/A N/A self url base_url N/A None N/A N/A base_url N/A N/A base_url None N/A self _base_url base_url N/A N/A %s/%s.json N/A base_url url N/A N/A