A simple Python wrapper Redditmetrics.com
Installation
pip install rmwrapper
Description
A very minimal wrapper for Redditmetrics. Redditmetrics is a website that contains historical and recent data from all around Reddit, be it subreddit-specific or general. This package aims to make it more comfortable to use that data with a simplistic interface, since Redditmetrics itself doesn't provide an API.
Example usage
from rmwrapper import RedditMetricsWrapper
# Subreddit-specific methods take the subreddit names as arguments.
RedditMetricsWrapper.subreddit_get_current_subscribers("lain")
# Non-subreddit-specific methods don't take any arguments.
RedditMetricsWrapper.get_fastest_growing_today()
List of all available functions
Subreddit-specific:
subreddit_get_subscriber_growth_data(subreddit) # Returns the entire available timeline for a specific subreddit and how many subscribers it gained per day.
subreddit_get_subscriber_growth_data(subreddit) # Returns the entire available timeline for a specific subreddit and how many subscribers it had each day.
subreddit_get_rank_data(subreddit) # Returns the entire available timeline for a specific subreddit and what the subreddit rank for it was.
subreddit_get_current_subscribers(subreddit) # Returns the current subscriber count for a specific subreddit.
subreddit_get_current_rank(subreddit) # Returns the current rank for a specific subreddit.
General:
get_fastest_growing_today() # Returns 300 fastest growing subreddits today.
get_fastest_growing_week() # Returns 300 fastest growing subreddits this week.
get_fastest_growing_month() # Returns 300 fastest growing subreddits this month.
get_non_default_reddits_today() # Returns top 300 non-default subreddits today.
get_non_default_reddits_week() # Returns top 300 non-default subreddits this week.
get_non_default_reddits_month() # Returns top 300 non-default subreddits this month.
get_top_new_reddits_today() # Returns top 300 new subreddits today.
get_non_default_reddits_week() # Returns top 300 new subreddits this week.
get_non_default_reddits_month() # Returns top 300 new subreddits this month.
get_new_reddits_trending_month() # Returns top 300 trending subreddits this month.
get_new_reddits_trending_3_months() # Returns top 300 trending subreddits in the last 3 months.
get_new_reddits_trending_6_months() # Returns top 300 trending subreddits in the last 6 months.
get_top_n_reddits(n) # Returns top n amount of subreddits sorted by subscriber count.
Release files for rmwrapper 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rmwrapper-0.0.1.tar.gz | 3.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rmwrapper-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / rmwrapper-0.0.1.tar.gz
| Download URL | rmwrapper-0.0.1.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f739411e9e1c043a38c6dac6acc52bebba1fc42a99df03ba4be783659bf9d72c
|
|
BLAKE2b-256 checksum How to use checksums |
963491b882ff8116c6f7931eee4cab4c06765099c4a8c7b0675fd761cb8deab7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
|
Release files / rmwrapper-0.0.1-py3-none-any.whl
| Download URL | rmwrapper-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
928a8ad14d1f46c35d9dc3199f06b5d67352e4c44a9ef7ef88bd6e532e19175d
|
|
BLAKE2b-256 checksum How to use checksums |
01bb3a74b7093ae88f07839c7869ff2b8c4c38d2fd78a9ebf20ba450ca056e80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
|