+ positivipy

A Markov chain text model of positive thinkers, artists and creators




positivipy API
translate computer generated positivity into 50+ languages via textblob and the Google Translate API.

Example URL to translate to Catalan:
https://positivethoughts.pythonanywhere.com/get_quote?l=ca&t=yes
URL Parameters
l: default "en", language code to translate quote into
t: "yes" or "no", specifies if translation is applied

See Language Codes
Language Code
0 Amharic am
1 Arabic ar
2 Basque eu
3 Bengali bn
4 English en
5 Portuguese (Brazil) pt-BR
6 Bulgarian bg
7 Catalan ca
8 Cherokee chr
9 Croatian hr
10 Czech cs
11 Danish da
12 Dutch nl
13 Estonian et
14 Filipino fil
15 Finnish fi
16 French fr
17 German de
18 Greek el
19 Gujarati gu
20 Hebrew iw
21 Hindi hi
22 Hungarian hu
23 Icelandic is
24 Indonesian id
25 Italian it
26 Japanese ja
27 Kannada kn
28 Korean ko
29 Latvian lv
30 Lithuanian lt
31 Malay ms
32 Malayalam ml
33 Marathi mr
34 Norwegian no
35 Polish pl
36 Portuguese (Portugal) pt-PT
37 Romanian ro
38 Russian ru
39 Serbian sr
40 Chinese (PRC) zh-CN
41 Slovak sk
42 Slovenian sl
43 Spanish es
44 Swahili sw
45 Swedish sv
46 Tamil ta
47 Telugu te
48 Thai th
49 Chinese (Taiwan) zh-TW
50 Turkish tr
51 Urdu ur
52 Ukrainian uk
53 Vietnamese vi
54 Welsh cy

Made WithCSS, Facebook Posts, python, flask, ftfy, fuzzywuzzy, HTML, Language Tool, markovify, mysql, pandas, pythonanywhere, requests and textblob (about)