havanagrawal / wikidata-toolkit

Bot for Wikidata to fix consistency and constraint issues on television series :tv:
MIT License
5 stars 8 forks source link

Create a basic Flask application wrapping the "commands" module #14

Open havanagrawal opened 3 years ago

havanagrawal commented 3 years ago

Problem

There are a few functions that are exposed by the commands module (see its __init__.py). They are currently exposed via the cli module on the command line, via Click.

Expose these functions over HTTP by setting up a simple Flask webapp. Create a POST endpoint against each of these functions.

Prerequisites

Details

How to Test

Hints

THeinemann commented 3 years ago

Hey, I'd like to work on this ticket if it's okay with you.