Disqus Model

class acscsv.disqus_acs.DiacsCSV(delim, options_keypath, options_user, options_rules, options_lang, options_struct, options_status)[source]

DiacsCSV determins the parse order and included fields when parsing Disqus Activity Streams JSON records to CSV fields.

procRecordToList(d)[source]

Take a JSON Activity Streams payload as a Python dictionary. Check activity for system information and compliance handling. If necessary, return the system info or compliance message. Otherwise, if the activity is valid, return list of fields as specified by the input flags.

Flags:

delim
options_keypath
options_user
options_rules
options_lang
options_struct
options_status

Previous topic

Twitter Model

Next topic

Tumblr Model

This Page