firstposts


Namefirstposts JSON
Version 0.1 PyPI version JSON
download
home_pagehttps://github.com/gusberinger/firstposts
SummaryFind Subreddit Firstposts
upload_time
maintainer
docs_urlNone
authorGus Beringer
requires_python
licenseMIT
keywords reddit
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # Reddit Firstposts

This script uses reddit's cloud search features to find the first posts on a specific subreddit. The script just automates the process outlined [here.](https://www.reddit.com/r/NoStupidQuestions/comments/2icl6i/is_there_any_way_to_find_the_very_first_post_on/cl0xwr2/) Doing that manually takes a lot of time and is very error prone.

## Installation
#### Install required packages.

    pip install -r requirments.txt

#### Copy the configuration files.

    cp config.yml.example config.yml


#### Setup Reddit API

Go to your reddit [preferences](https://www.reddit.com/prefs/apps) and create an app. Then add the client id, the secret id, and the user\_agent to the config.yml file.

## Usage
The script will automatically open the generated url in the default browser.

    python firstposts.py subreddit days
            

Raw data

            {
    "_id": null,
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "cheesecake_code_kwalitee_id": null,
    "keywords": "reddit",
    "author": "Gus Beringer",
    "home_page": "https://github.com/gusberinger/firstposts",
    "github_user": "gusberinger",
    "download_url": "",
    "platform": "UNKNOWN",
    "version": "0.1",
    "cheesecake_documentation_id": null,
    "description": "# Reddit Firstposts\n\nThis script uses reddit's cloud search features to find the first posts on a specific subreddit. The script just automates the process outlined [here.](https://www.reddit.com/r/NoStupidQuestions/comments/2icl6i/is_there_any_way_to_find_the_very_first_post_on/cl0xwr2/) Doing that manually takes a lot of time and is very error prone.\n\n## Installation\n#### Install required packages.\n\n    pip install -r requirments.txt\n\n#### Copy the configuration files.\n\n    cp config.yml.example config.yml\n\n\n#### Setup Reddit API\n\nGo to your reddit [preferences](https://www.reddit.com/prefs/apps) and create an app. Then add the client id, the secret id, and the user\\_agent to the config.yml file.\n\n## Usage\nThe script will automatically open the generated url in the default browser.\n\n    python firstposts.py subreddit days",
    "lcname": "firstposts",
    "name": "firstposts",
    "github": true,
    "bugtrack_url": null,
    "license": "MIT",
    "travis_ci": false,
    "github_project": "firstposts",
    "summary": "Find Subreddit Firstposts",
    "split_keywords": [
        "reddit"
    ],
    "author_email": "gusberinger@gmail.com",
    "urls": [],
    "cheesecake_installability_id": null,
    "coveralls": true
}
        
Elapsed time: 0.07153s