Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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".
- Host: GitHub
- URL: https://github.com/alibahaari/vocabulary-scrapper
- Owner: AliBahaari
- Created: 2021-10-27T17:42:35.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-30T19:15:54.000Z (over 2 years ago)
- Last Synced: 2024-10-12T09:21:01.059Z (28 days ago)
- Topics: flask, flask-api, flask-restful, flask-server, python, python-3, python-3-6, python-script, python3, python36, python37
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!