API to get access to the collection of the most inspiring expressions of mankind
GET https://api.fisenko.net/quotes?l=[EN|RU]
Parameter | Type | Description |
---|---|---|
l |
string |
optional language. By default is EN . |
request
GET https://api.fisenko.net/quotes
or
GET https://api.fisenko.net/quotes?l=en
returns
{
"uuid": "l86O4m2Wez",
"text": "Nothing is softer or more flexible than water, yet nothing can resist it.",
"author": "Lao Tzu"
}
GET https://api.fisenko.net/quotes/[uuid]
Parameter | Type | Description |
---|---|---|
uuid |
string |
required unique quote's id. |
request
GET https://api.fisenko.net/quotes/l86O4m2Wez
returns
{
"uuid": "l86O4m2Wez",
"text": "Nothing is softer or more flexible than water, yet nothing can resist it.",
"author": "Lao Tzu"
}
GET https://api.fisenko.net/quotes/author/[uuid]?l=[EN|RU]&p=[page]&c=[count]
Parameter | Type | Description |
---|---|---|
l |
string |
optional language. By default is EN . |
uuid |
string |
required unique author's id. |
p |
int |
optional page number. By default is 0 |
c |
int |
optional items per page. By default is 10 . Could not be greater than 50 |
request
GET https://api.fisenko.net/quotes/author/4PO19Pf6DR
returns
[
{
"uuid": "l86O4m2Wez",
"text": "Nothing is softer or more flexible than water, yet nothing can resist it.",
"author": "Lao Tzu"
},
{
"uuid": "BqI18fmaGH",
"text": "If you would take, you must first give, this is the beginning of intelligence.",
"author": "Lao Tzu"
}
]
GET https://api.fisenko.net/statistics
request
GET https://api.fisenko.net/statistics
returns
{
"authors": {
"total": 29573,
"byLanguage": {
"EN": 28203,
"RU": 1370
}
},
"quotes": {
"total": 731144,
"byLanguage": {
"EN": 724315,
"RU": 6829
}
}
}
GET https://api.fisenko.net/health
request
GET https://api.fisenko.net/health
returns
{
"status": "Healthy",
"errors": []
}
MIT