A simple "number to word" service composed by a backend API service (python Flask powered) and a frontend PWA (Progressive Web Application).
Host static assets wherever you want and edit appropriately the website
URL (https://number2word.appspot.com
) in source code.
In api
subdirectory:
pip install -r requirements.txt -t lib
gcloud app deploy
Request (HTTP):
GET /n2w/api/v1.0/get/NUMBER/LANGUAGE
- NUMBER (mandatory) integer number (eg.
42
) - LANGUAGE (optional) two letter language code (eg.
it
) - Default:en
Response (JSON):
{
'number': 42,
'text': quarantadue,
'lang': it,
'created': 2017-11-07T01:00:00Z,
}