Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alibahaari/vocabulary-scrapper

Create sample APIs for the collection you specify from "vocabulary.com".
https://github.com/alibahaari/vocabulary-scrapper

flask flask-api flask-restful flask-server python python-3 python-3-6 python-script python3 python36 python37

Last synced: 28 days ago
JSON representation

Create sample APIs for the collection you specify from "vocabulary.com".

Awesome Lists containing this project

README

        

# Vocabulary Scrapper

This little module, will create sample JSON API due to a collection ID on ***vocabulary.com*** providing different vocabularies for English language learners.

## Usage

First, you need to run Flask:

**Bash:**
```bash
$ export FLASK_APP=main
$ flask run
* Running on http://127.0.0.1:5000/
```
or **CMD**:
```bash
> set FLASK_APP=main
> flask run
* Running on http://127.0.0.1:5000
```
or **Powershell**:
```bash
> $env:FLASK_APP = "main"
> flask run
* Running on http://127.0.0.1:5000/
```

Then, open *localhost:5000* and you'll see a welcome text.

After that, enter the url below:
```bash
localhost:5000/api/[COLLECTION_ID]
```
For the `[COLLECTION_ID]`, enter the collection ID from **vocabulary.com**.

Finally, the sample API created based on the collection you've specified is ready!