• Joshua's avatar
    Refactored the way tweepy does parsing to make it more customizable by developers. · 13a0fcb7
    Joshua authored
    All parsing of the response payload is now handled by a Parser class defined in
    tweepy/parsers.py
    The default parser used is ModelParser which parses a JSON payload into a model instance.
    
    Developers may define and use their own custom parsers by extending the Parser class.
    To use the custom parser:
    
        api = API(parser=MyParser())
    13a0fcb7
streaming.py 6.18 KB