All Projects → fisenkodv → dictum

fisenkodv / dictum

Licence: MIT License
🤔 API to get access to the collection of the most inspiring expressions of mankind

Programming Languages

java
68154 projects - #9 most used programming language
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to dictum

VideoPlayerBot
An Telegram Bot By @AsmSafone To Stream Videos in Telegram Voice Chat. This is Also The Source Code of The Bot Which is Being Used In Our Support Group! ❤️
Stars: ✭ 187 (+142.86%)
Mutual labels:  telegram-bot
AusweisBot
Telegram bot to generate self-authorizations for moving around during covid-19 pandemic in France
Stars: ✭ 13 (-83.12%)
Mutual labels:  telegram-bot
polaris.py
A multiplatform Python bot using plugins!
Stars: ✭ 19 (-75.32%)
Mutual labels:  telegram-bot
formatbot1
Make instant view easily and fast, from any article on the internet in the best messenger ever Telegram
Stars: ✭ 127 (+64.94%)
Mutual labels:  telegram-bot
F80
A Professional Telegram-Bot Based On valtman.name/telegram-cli
Stars: ✭ 36 (-53.25%)
Mutual labels:  telegram-bot
FallenMusic
A Super Fast and Powerful Telegram bot for streaming music on telegram videochats, Powered by PyTgCalls and Pyrogram
Stars: ✭ 30 (-61.04%)
Mutual labels:  telegram-bot
coinmarketcap-new-listings-sniper-bot
Sniper bot to buy new tokens listed on Coinmarketcap.
Stars: ✭ 55 (-28.57%)
Mutual labels:  telegram-bot
pastebin-bot
Advanced functional Pastebin Telegram Bot made using better-pastebin and TelegrafJS. This bot will help you to create pastes (Texts) on Pastebin which is a text cloud.
Stars: ✭ 16 (-79.22%)
Mutual labels:  telegram-bot
EPUB-to-PDF
Telegram bot EPUB to PDF converter
Stars: ✭ 25 (-67.53%)
Mutual labels:  telegram-bot
everyone-bot
Telegram bot to get everyone's attention in a group chat. Like @everyone in other messaging applications.
Stars: ✭ 52 (-32.47%)
Mutual labels:  telegram-bot
SmartyScheduleBot
Telegram timetable bot, for Zhytomyr Ivan Franko State University students. It uses Politek-soft Dekanat system for getting data. With 2000+ active users. Бот расписания для Телеграм.
Stars: ✭ 22 (-71.43%)
Mutual labels:  telegram-bot
pe4kin
Erlang wrapper for Telegram bot API https://core.telegram.org/bots
Stars: ✭ 47 (-38.96%)
Mutual labels:  telegram-bot
yii2-telegram
Support chat for site based on Telegram bot
Stars: ✭ 49 (-36.36%)
Mutual labels:  telegram-bot
spigot-tg-bridge
Connect Telegram chats and Minecraft servers seamlessly
Stars: ✭ 27 (-64.94%)
Mutual labels:  telegram-bot
Bot-Telegram-BeMEAN
💣 Bot para o Telegram do grupo do Be MEAN
Stars: ✭ 76 (-1.3%)
Mutual labels:  telegram-bot
RedditDownloaderBot
A reddit downloader telegram bot
Stars: ✭ 32 (-58.44%)
Mutual labels:  telegram-bot
telegram-support-bot
A Telegram ticketing/supporting system.
Stars: ✭ 180 (+133.77%)
Mutual labels:  telegram-bot
digitalocean-helper-bot
用 telegram bot 管理 Digital Ocean 账号
Stars: ✭ 24 (-68.83%)
Mutual labels:  telegram-bot
tinjecttelegram delphi
LMCODE
Stars: ✭ 37 (-51.95%)
Mutual labels:  telegram-bot
telegram-xkcd-password-generator
Readable Passwords Generator For Telegram (Bot API)
Stars: ✭ 26 (-66.23%)
Mutual labels:  telegram-bot

Dictum

API to get access to the collection of the most inspiring expressions of mankind

Table of Contents


Dictum API

Authors

Search authors

GET https://api.fisenko.net/v1/authors/[language]?query=[query]&offset=[offset]&limit=[limit]
Parameters
Parameter Type Description
language string required language, e.g. en, ru.
query string optional a search query.
offset int optional an offset. By default is 0.
limit int optional a maximum number of items in the response. By default is 50. Could not be greater than 50
Example

request

GET https://api.fisenko.net/v1/authors/en?query="Steve Jobs"&limit=50&offset=0

returns

[
  {
    "id": "6153b7d49e8e5ae3eb230a5b",
    "name": "Steve Jobs"
  }
]

Get an author by ID

GET https://api.fisenko.net/v1/authors/[language]/[id]

Parameters

Parameter Type Description
language string required language, e.g. en, ru.
id string required an author ID.

Example

request

GET https://api.fisenko.net/v1/authors/en/6153b7d49e8e5ae3eb230a5b

returns

{
  "id": "6153b7d49e8e5ae3eb230a5b",
  "name": "Steve Jobs"
}

Search an author's quotes

GET https://api.fisenko.net/v1/authors/[language]/[id]/quotes?query=[query]&offset=[offset]&limit=[limit]

Parameters

Parameter Type Description
language string required language, e.g. en, ru.
id string required an author ID.
query string optional a search query.
offset int optional an offset. By default is 0.
limit int optional a maximum number of items in the response. By default is 50. Could not be greater than 50

Example

request

GET https://api.fisenko.net/v1/authors/en/6153b7d49e8e5ae3eb230a5b/quotes?query=&limit=1&offset=0

returns

[
  {
    "id": "6153bbb29e8e5ae3eb2399d0",
    "text": "Be a yardstick of quality. Some people arent used to an environment where excellence is expected.",
    "author": {
      "id": "6153b7d49e8e5ae3eb230a5b",
      "name": "Steve Jobs"
    }
  }
]

Quotes

Get Random Quote

GET https://api.fisenko.net/v1/quotes/[language]/random

Parameters

Parameter Type Description
language string required language, e.g. en, ru.

Example

request

GET https://api.fisenko.net/v1/quotes/en/random

returns

[
  {
    "id": "6153bbe19e8e5ae3eb2c85aa",
    "text": "Stay hungry, stay foolish.",
    "author": {
      "id": "6153b7d49e8e5ae3eb230a5b",
      "name": "Steve Jobs"
    }
  }
]

Search quotes

GET https://api.fisenko.net/v1/quotes/[language]?query=[query]&offset=[offset]&limit=[limit]

Parameters

Parameter Type Description
language string required language, e.g. en, ru.
query string optional a search query.
offset int optional an offset. By default is 0.
limit int optional a maximum number of items in the response. By default is 50. Could not be greater than 50

Example

request

GET https://api.fisenko.net/v1/quotes/en?query="Stay hungry"&limit=5&offset=0

returns

[
  {
    "id": "6153bbe59e8e5ae3eb2d2cc1",
    "text": "Artists are supposed to stay hungry.",
    "author": {
      "id": "6153b7d69e8e5ae3eb234901",
      "name": "Michael Connelly"
    }
  },
  {
    "id": "6153bbe19e8e5ae3eb2c85aa",
    "text": "Stay hungry, stay foolish.",
    "author": {
      "id": "6153b7d49e8e5ae3eb230a5b",
      "name": "Steve Jobs"
    }
  }
]

Get a quote by ID

GET https://api.fisenko.net/v1/quotes/[language]/[id]

Parameters

Parameter Type Description
language string required language, e.g. en, ru.
id string required a quote ID.

Example

request

GET https://api.fisenko.net/v1/quotes/en/6153bbe19e8e5ae3eb2c85aa

returns

{
  "id": "6153bbe19e8e5ae3eb2c85aa",
  "text": "Stay hungry, stay foolish.",
  "author": {
    "id": "6153b7d49e8e5ae3eb230a5b",
    "name": "Steve Jobs"
  }
}

Create a quote

POST https://api.fisenko.net/v1/quotes/[language]

Parameters

Parameter Type Description
language string required language, e.g. en, ru.

Payload

Parameter Type Description
authorId string required Id of the author's quote.
text string required a quote text.

Example

request

POST https://api.fisenko.net/v1/quotes/en
BODY
{
    "authorId": "6153b7d49e8e5ae3eb230a5b",
    "text": "Stay hungry, stay foolish."
}

returns

{
  "id": "6153bbe19e8e5ae3eb2c85aa",
  "text": "Stay hungry, stay foolish.",
  "author": {
    "id": "6153b7d49e8e5ae3eb230a5b",
    "name": "Steve Jobs"
  }
}

Like a quote

PUT https://api.fisenko.net/v1/quotes/[language]/[id]/like

Parameters

Parameter Type Description
language string required language, e.g. en, ru.
id string required a quote ID.

Example

request

PUT https://api.fisenko.net/v1/quotes/en/6153bbb59e8e5ae3eb2450a3

returns HTTP 200 if the request was successfully executed


Languages

Get languages

GET https://api.fisenko.net/v1/languages

Example

request

GET https://api.fisenko.net/v1/languages

returns

[
  {
    "code": "RU",
    "language": "Русский"
  },
  {
    "code": "en",
    "language": "English"
  }
]

Statistics

Get statistics

GET https://api.fisenko.net/v1/statistics/[language]

Parameters

Parameter Type Description
language string required language, e.g. en, ru.

Example

request

GET https://api.fisenko.net/v1/statistics/en

returns

{
  "authors": 30752,
  "quotes": 911533
}

Links

License

MIT

Supporters

JetBrains is supporting this open source project with:

Intellij IDEA

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].