项目作者: MarkAntipin

项目描述 :
Generate random cat image, depends on your username
高级语言: Python
项目地址: git://github.com/MarkAntipin/cat-avatar-generator.git
创建时间: 2019-12-23T21:20:20Z
项目社区:https://github.com/MarkAntipin/cat-avatar-generator

开源协议:

下载


cat-avatar-generator

Introdution

This Rest API allows you to automatically generate an identification icon by user name.
CatAvatarGenerator can generate 10 million unique cats such as these

Alt text Alt text Alt text

For one you will always get the same identification icon.
Every icon caches in redis

Run Application

```shell script
docker-compose build
docker-compose up

  1. or without docker
  2. ```shell script
  3. pip install -r requirements.txt
  4. python3 CatAvatarGenerator/server.py

and make request on

  1. http://0.0.0.0:5000/<user_id>

For one you will always get the same identification icon.
Every icon caches in redis