Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ScriptSmith/socialreaper
/ functions
Functions
231 in github.com/ScriptSmith/socialreaper
⨍
Functions
231
◇
Types & classes
49
↓ 53 callers
Method
get
An interface for get requests that handles errors more gracefully to prevent data loss
socialreaper/apis.py:57
↓ 22 callers
Method
merge_params
(parameters, new)
socialreaper/apis.py:52
↓ 20 callers
Method
search
(self, query, count=100, order="new", page='', result_type="link", time_period="all", **params
socialreaper/apis.py:319
↓ 19 callers
Method
__init__
(self)
socialreaper/iterators.py:22
↓ 18 callers
Method
check_dict_keys
(self, lst, keys)
tests/test_iterators.py:13
↓ 16 callers
Method
user
(self, user, count=100, order="new", page='', result_type="overview", time_period='all', **param
socialreaper/apis.py:343
↓ 13 callers
Method
subreddit
(self, subreddit, count=100, category="new", page='', time_period='all', **params)
socialreaper/apis.py:333
↓ 12 callers
Method
check_list
(self, lst)
tests/test_iterators.py:7
↓ 8 callers
Method
thread
(self, thread, subreddit, **kwargs)
socialreaper/iterators.py:594
↓ 7 callers
Method
__init__
(self, session=None)
socialreaper/apis.py:12
↓ 7 callers
Method
api_call
(self, edge, parameters, return_results=True)
socialreaper/apis.py:102
↓ 6 callers
Method
api_call
(self, edge, parameters, return_results=True)
socialreaper/apis.py:294
↓ 6 callers
Method
post_comments
:param post_id: :param after: :param order: Can be 'ranked', 'chronological', 'reverse_chronological' :param fi
socialreaper/apis.py:471
↓ 5 callers
Method
page_posts
:param page_id: :param after: :param post_type: Can be 'posts', 'feed', 'tagged', 'promotable_posts' :param inc
socialreaper/apis.py:447
↓ 4 callers
Method
api_call
(self, edge, parameters, return_results=True)
socialreaper/apis.py:397
↓ 3 callers
Method
api_call
(self, edge, parameters, return_results=True)
socialreaper/apis.py:511
↓ 3 callers
Method
auth
(self)
socialreaper/apis.py:274
↓ 3 callers
Function
fill_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 callers
Function
flatten
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 callers
Method
write
(self)
socialreaper/tools.py:106
↓ 2 callers
Method
__next__
(self)
socialreaper/iterators.py:50
↓ 2 callers
Method
_classify_comment
(self, comments, more_data=False)
socialreaper/iterators.py:511
↓ 2 callers
Method
api_call
(self, edge, parameters, return_results=True)
socialreaper/apis.py:575
↓ 2 callers
Method
api_call
(self, edge, parameters, return_results=True)
socialreaper/apis.py:656
↓ 2 callers
Method
get_data
Obtain the data to iterate over from the API :return:
socialreaper/iterators.py:86
↓ 2 callers
Method
search
(self, query, **kwargs)
socialreaper/iterators.py:570
↓ 2 callers
Method
search
(self, query, **kwargs)
socialreaper/iterators.py:702
↓ 2 callers
Method
subreddit
(self, subreddit, **kwargs)
socialreaper/iterators.py:580
↓ 1 callers
Function
_counter
(d)
socialreaper/builders/build.py:54
↓ 1 callers
Method
_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 callers
Method
_get_after
(self)
socialreaper/iterators.py:380
↓ 1 callers
Method
_get_after
(self)
socialreaper/iterators.py:629
↓ 1 callers
Method
_get_after
(self)
socialreaper/iterators.py:750
↓ 1 callers
Method
_get_after
(self)
socialreaper/iterators.py:829
↓ 1 callers
Method
_get_max_id
(self)
socialreaper/iterators.py:303
↓ 1 callers
Method
_read_response
(self)
socialreaper/iterators.py:306
↓ 1 callers
Method
_read_response
(self)
socialreaper/iterators.py:377
↓ 1 callers
Method
_read_response
(self)
socialreaper/iterators.py:626
↓ 1 callers
Method
_read_response
(self)
socialreaper/iterators.py:747
↓ 1 callers
Method
_read_response
(self)
socialreaper/iterators.py:826
↓ 1 callers
Method
_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 callers
Method
add_key
(self, data)
socialreaper/tools.py:78
↓ 1 callers
Method
api_call
(self, edge, parameters, return_results=True)
socialreaper/apis.py:626
↓ 1 callers
Function
build_functions
(nodes, parent=None, depth=0)
socialreaper/builders/build.py:69
↓ 1 callers
Method
channel
(self, channel_id, count=50, order="date", page='', result_type="video", **params)
socialreaper/apis.py:169
↓ 1 callers
Function
expand_nodes
(nodes)
socialreaper/builders/build.py:40
↓ 1 callers
Function
get_fields
(path)
socialreaper/builders/build.py:49
↓ 1 callers
Function
get_nodes
(path)
socialreaper/builders/build.py:11
↓ 1 callers
Method
iter_iter
(self, *args, **kwargs)
socialreaper/iterators.py:207
↓ 1 callers
Method
log_error
Print errors. Stop travis-ci from leaking api keys :param e: The error :return: None
socialreaper/apis.py:27
↓ 1 callers
Method
more_children
(self, children, link_id, sort="new", **params)
socialreaper/apis.py:374
↓ 1 callers
Method
post
:param post_id: :param fields: :param params: :return:
socialreaper/apis.py:429
↓ 1 callers
Method
read_fields
(self)
socialreaper/tools.py:82
↓ 1 callers
Method
read_old
(self)
socialreaper/tools.py:90
↓ 1 callers
Method
search_thread_comments
(self, query, **kwargs)
socialreaper/iterators.py:576
↓ 1 callers
Method
subreddit_thread_comments
(self, subreddit, **kwargs)
socialreaper/iterators.py:587
↓ 1 callers
Method
thread_comments
(self, thread, subreddit, **kwargs)
socialreaper/iterators.py:598
↓ 1 callers
Method
thread_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