Skip to content
Python Web Sidper for GRE Writing Pool, because why not?
Python Batchfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
grewritingpool
scripts
.gitignore
LICENSE
README.md
__main__.py
setup.py

README.md

Helper for GRE Writing Pool

Because why not?

Install

pip install grewritingpool

or install from source: python3 setup.py install

Usage

As a API

get_list(writing_type='default')

Return a json list of articles. Input can be all, issue or argument, default to all.

Returned json format:

[
    {
        'type': <writing type>,
        'first': <first part of the question>,
        'second': <first part of the question, might not exist>,
        'instruc': <instruction>
    },
    ...
]

get_random(writing_type='default')

Return a random json string from the json list of articles. Input can be all, issue or argument, default to all.

Returned json format:

{
    'type': <writing type>,
    'first': <first part of the question>,
    'second': <first part of the question, might not exist>,
    'instruc': <instruction>
}

As a executable

grewriting [all|issue|argument]

License

MIT because I am lazy.

You can’t perform that action at this time.