MCPcopy Create free account

hub / github.com/ScriptSmith/socialreaper / functions

Functions231 in github.com/ScriptSmith/socialreaper

↓ 53 callersMethodget
An interface for get requests that handles errors more gracefully to prevent data loss
socialreaper/apis.py:57
↓ 22 callersMethodmerge_params
(parameters, new)
socialreaper/apis.py:52
↓ 20 callersMethodsearch
(self, query, count=100, order="new", page='', result_type="link", time_period="all", **params
socialreaper/apis.py:319
↓ 19 callersMethod__init__
(self)
socialreaper/iterators.py:22
↓ 18 callersMethodcheck_dict_keys
(self, lst, keys)
tests/test_iterators.py:13
↓ 16 callersMethoduser
(self, user, count=100, order="new", page='', result_type="overview", time_period='all', **param
socialreaper/apis.py:343
↓ 13 callersMethodsubreddit
(self, subreddit, count=100, category="new", page='', time_period='all', **params)
socialreaper/apis.py:333
↓ 12 callersMethodcheck_list
(self, lst)
tests/test_iterators.py:7
↓ 8 callersMethodthread
(self, thread, subreddit, **kwargs)
socialreaper/iterators.py:594
↓ 7 callersMethod__init__
(self, session=None)
socialreaper/apis.py:12
↓ 7 callersMethodapi_call
(self, edge, parameters, return_results=True)
socialreaper/apis.py:102
↓ 6 callersMethodapi_call
(self, edge, parameters, return_results=True)
socialreaper/apis.py:294
↓ 6 callersMethodpost_comments
:param post_id: :param after: :param order: Can be 'ranked', 'chronological', 'reverse_chronological' :param fi
socialreaper/apis.py:471
↓ 5 callersMethodpage_posts
:param page_id: :param after: :param post_type: Can be 'posts', 'feed', 'tagged', 'promotable_posts' :param inc
socialreaper/apis.py:447
↓ 4 callersMethodapi_call
(self, edge, parameters, return_results=True)
socialreaper/apis.py:397
↓ 3 callersMethodapi_call
(self, edge, parameters, return_results=True)
socialreaper/apis.py:511
↓ 3 callersMethodauth
(self)
socialreaper/apis.py:274
↓ 3 callersFunctionfill_gaps
Fill gaps in a list of dictionaries. Add empty keys to dictionaries in the list that don't contain other entries' keys :param list_d
socialreaper/tools.py:31
↓ 3 callersFunctionflatten
Turn a nested dictionary into a flattened dictionary :param dictionary: The dictionary to flatten :param parent_key: The string to p
socialreaper/tools.py:8
↓ 3 callersMethodwrite
(self)
socialreaper/tools.py:106
↓ 2 callersMethod__next__
(self)
socialreaper/iterators.py:50
↓ 2 callersMethod_classify_comment
(self, comments, more_data=False)
socialreaper/iterators.py:511
↓ 2 callersMethodapi_call
(self, edge, parameters, return_results=True)
socialreaper/apis.py:575
↓ 2 callersMethodapi_call
(self, edge, parameters, return_results=True)
socialreaper/apis.py:656
↓ 2 callersMethodget_data
Obtain the data to iterate over from the API :return:
socialreaper/iterators.py:86
↓ 2 callersMethodsearch
(self, query, **kwargs)
socialreaper/iterators.py:570
↓ 2 callersMethodsearch
(self, query, **kwargs)
socialreaper/iterators.py:702
↓ 2 callersMethodsubreddit
(self, subreddit, **kwargs)
socialreaper/iterators.py:580
↓ 1 callersFunction_counter
(d)
socialreaper/builders/build.py:54
↓ 1 callersMethod_extract_comment
Get the parent comment and replies from a comment :param comment: The parent comment :return: A list of comm
socialreaper/iterators.py:489
↓ 1 callersMethod_get_after
(self)
socialreaper/iterators.py:380
↓ 1 callersMethod_get_after
(self)
socialreaper/iterators.py:629
↓ 1 callersMethod_get_after
(self)
socialreaper/iterators.py:750
↓ 1 callersMethod_get_after
(self)
socialreaper/iterators.py:829
↓ 1 callersMethod_get_max_id
(self)
socialreaper/iterators.py:303
↓ 1 callersMethod_read_response
(self)
socialreaper/iterators.py:306
↓ 1 callersMethod_read_response
(self)
socialreaper/iterators.py:377
↓ 1 callersMethod_read_response
(self)
socialreaper/iterators.py:626
↓ 1 callersMethod_read_response
(self)
socialreaper/iterators.py:747
↓ 1 callersMethod_read_response
(self)
socialreaper/iterators.py:826
↓ 1 callersMethod_sleep
Sleep between requests, but don't force asynchronous code to wait :param seconds: The number of seconds to sleep :return
socialreaper/apis.py:40
↓ 1 callersMethodadd_key
(self, data)
socialreaper/tools.py:78
↓ 1 callersMethodapi_call
(self, edge, parameters, return_results=True)
socialreaper/apis.py:626
↓ 1 callersFunctionbuild_functions
(nodes, parent=None, depth=0)
socialreaper/builders/build.py:69
↓ 1 callersMethodchannel
(self, channel_id, count=50, order="date", page='', result_type="video", **params)
socialreaper/apis.py:169
↓ 1 callersFunctionexpand_nodes
(nodes)
socialreaper/builders/build.py:40
↓ 1 callersFunctionget_fields
(path)
socialreaper/builders/build.py:49
↓ 1 callersFunctionget_nodes
(path)
socialreaper/builders/build.py:11
↓ 1 callersMethoditer_iter
(self, *args, **kwargs)
socialreaper/iterators.py:207
↓ 1 callersMethodlog_error
Print errors. Stop travis-ci from leaking api keys :param e: The error :return: None
socialreaper/apis.py:27
↓ 1 callersMethodmore_children
(self, children, link_id, sort="new", **params)
socialreaper/apis.py:374
↓ 1 callersMethodpost
:param post_id: :param fields: :param params: :return:
socialreaper/apis.py:429
↓ 1 callersMethodread_fields
(self)
socialreaper/tools.py:82
↓ 1 callersMethodread_old
(self)
socialreaper/tools.py:90
↓ 1 callersMethodsearch_thread_comments
(self, query, **kwargs)
socialreaper/iterators.py:576
↓ 1 callersMethodsubreddit_thread_comments
(self, subreddit, **kwargs)
socialreaper/iterators.py:587
↓ 1 callersMethodthread_comments
(self, thread, subreddit, **kwargs)
socialreaper/iterators.py:598
↓ 1 callersMethodthread_replies
(self, video_id, **kwargs)
socialreaper/iterators.py:720
Method__init__
(self, e, variables)
socialreaper/iterators.py:13
Method__init__
(self, outer, key, inner_func, inner_args)
socialreaper/iterators.py:126
Method__init__
(self, access_token)
socialreaper/iterators.py:190
Method__init__
(self, function, node, edge, fields=None, reverse_order=False, **kwargs)
socialreaper/iterators.py:211
Method__init__
(self, function, node, fields=None, reverse_order=False, **kwargs)
socialreaper/iterators.py:255
Method__init__
(self, api_key, api_secret, access_token, access_token_secret)
socialreaper/iterators.py:281
Method__init__
(self, function, query, **kwargs)
socialreaper/iterators.py:293
Method__init__
(self, function, query, **kwargs)
socialreaper/iterators.py:321
Method__init__
(self, function, query, **kwargs)
socialreaper/iterators.py:338
Method__init__
(self, application_id, application_secret)
socialreaper/iterators.py:358
Method__init__
(self, function, **kwargs)
socialreaper/iterators.py:367
Method__init__
(self, function, query, **kwargs)
socialreaper/iterators.py:395
Method__init__
(self, function, subreddit, **kwargs)
socialreaper/iterators.py:413
Method__init__
(self, function, user, **kwargs)
socialreaper/iterators.py:431
Method__init__
(self, function, thread, subreddit, **kwargs)
socialreaper/iterators.py:449
Method__init__
(self, api, subreddit, thread, **kwargs)
socialreaper/iterators.py:471
Method__init__
(self, api_key)
socialreaper/iterators.py:607
Method__init__
(self, function, query, **kwargs)
socialreaper/iterators.py:615
Method__init__
(self, function, thread_replies, video_id, **kwargs)
socialreaper/iterators.py:678
Method__init__
(self, api_key)
socialreaper/iterators.py:731
Method__init__
(self, function, query, **kwargs)
socialreaper/iterators.py:736
Method__init__
(self, access_token)
socialreaper/iterators.py:808
Method__init__
(self, function, query, **kwargs)
socialreaper/iterators.py:813
Method__init__
(self, api_key)
socialreaper/apis.py:94
Method__init__
(self, application_id, application_secret)
socialreaper/apis.py:257
Method__init__
(self, api_key)
socialreaper/apis.py:388
Method__init__
(self, api_key)
socialreaper/apis.py:502
Method__init__
(self, api_key, api_secret, access_token, access_token_secret)
socialreaper/apis.py:560
Method__init__
(self, access_token)
socialreaper/apis.py:617
Method__init__
(self, client_id)
socialreaper/apis.py:647
Method__init__
(self, error)
socialreaper/exceptions.py:7
Method__init__
(self, data, file_name='data.csv', write_headers=True, append=False, key_column=None, flat=T
socialreaper/tools.py:53
Method__init__
(self)
socialreaper/builders/build.py:222
Method__iter__
(self)
socialreaper/iterators.py:47
Method__iter__
(self)
socialreaper/iterators.py:156
Method__next__
(self)
socialreaper/iterators.py:159
Method__str__
(self)
socialreaper/iterators.py:17
Method__str__
(self)
socialreaper/iterators.py:74
Method__str__
(self)
socialreaper/apis.py:24
Method__str__
(self)
socialreaper/exceptions.py:10
Method_get_after
(self)
socialreaper/iterators.py:400
Method_get_after
(self)
socialreaper/iterators.py:418
next →1–100 of 231, ranked by callers