A command line tool that uses the Reddit API to track popularity of a keyword. The tool is currently focused on tracking developer technologies, such as programming languages, frameworks or IDEs.
pub global activate reddit_crawl.
To get data for "dart" for the past 3 months (default), run this:
$ reddit_crawl dart
This will fetch the data and it will create 2 sets of files in the current working directory:
The JSON files include all the data received from Reddit API. The TSV file is useful for copypasting into spreadsheets and includes only a subset of the data and some helper columns.
Run the tool without parameters to get help.
$ reddit_crawl Exactly one argument is requred: a name of a technology. Additional options: -v, --verbose Verbose mode. --months Number of months to crawl in reverse chronological order. (defaults to "3") --mobile Use additional subreddits that specialize in mobile development. --web Use additional subreddits that specialize in web development.
To get all mentions of "vim" on major Reddit programming forums, including mobile- and web-focused ones, from the past 6 years (6 * 12 = 72 months), use:
$ reddit_crawl --months 72 --mobile --web vim
Later, you can just run
reddit_crawl --mobile --web vim to update your
output-vim-all files with the latest submissions.
Add this to your package's pubspec.yaml file:
dependencies: reddit_crawl: "^0.0.2"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:reddit_crawl/config.dart'; import 'package:reddit_crawl/json2csv.dart';
|0.0.2||May 26, 2017|
|0.0.1||May 26, 2017|
We analyzed this package, and provided a score, details, and suggestions below.
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter, web, other
No platform restriction found in libraries.
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction API.
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use
|Dart SDK||>=1.23.0 <2.0.0|