Minimal wrapper for Redditmetrics
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rmwrapper-0.0.1.tar.gz.
File metadata
- Download URL: rmwrapper-0.0.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f739411e9e1c043a38c6dac6acc52bebba1fc42a99df03ba4be783659bf9d72c
|
|
| MD5 |
7ea56783beccd74f4d1a63d8e90dfb2c
|
|
| BLAKE2b-256 |
963491b882ff8116c6f7931eee4cab4c06765099c4a8c7b0675fd761cb8deab7
|
File details
Details for the file rmwrapper-0.0.1-py3-none-any.whl.
File metadata
- Download URL: rmwrapper-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
928a8ad14d1f46c35d9dc3199f06b5d67352e4c44a9ef7ef88bd6e532e19175d
|
|
| MD5 |
f12a6c657a2495d58a3c77be5daa7af0
|
|
| BLAKE2b-256 |
01bb3a74b7093ae88f07839c7869ff2b8c4c38d2fd78a9ebf20ba450ca056e80
|