Perle românești
Real slips of the tongue by famous Romanians, word for word, in Romanian. Every one in context, sourced, and dated as closely as the sources allow. Get one at random, or filter by person, year or category.
Traian Băsescu · by 2015 · source
Citat din culegerea „Noi vorbim, nu gândim” de Radu Paraschivescu, prezentată de Digi24, despre cum ar putea fi irigat sudul țării. Articolul nu spune când sau unde a fost rostită fraza.
Real, or it does not go in
These are real people, so every perlă here was said in public, is quoted word for word in the original Romanian, and links to at least one source (an article, a video, a transcript) that has those words. Nothing is invented, tidied up or paraphrased. If we could not source it, it is not here.
Spotted a wrong quote, a wrong date, or something that should not be here? Write to hello@tasta.space and it gets fixed or removed.
Endpoints
| Method | Path | What you get |
|---|---|---|
| GET | /v1/perle/random | One perlă at random. Takes the filters below and format=text. |
| GET | /v1/perle | A page of perle, newest first. Filters, sort, page, per_page. |
| GET | /v1/perle/{id} | One perlă by id. Takes format=text. |
| GET | /v1/perle/today | The perlă of the day, the same for everyone until midnight in Bucharest. |
| GET | /v1/perle/people | Everyone quoted, with a slug and a count. Takes category. |
| GET | /v1/perle/categories | The categories, with counts. |
Parameters
| Name | Example | Does |
|---|---|---|
person | adi-ilie | Only this person. Slugs come from /v1/perle/people. |
category | politica | One of politica, sport, tv, showbiz. |
year | 2018 | Said that year. Skips perle dated only before a year. |
from, to | 2010 | Said between these years, both included. A perlă dated before a year counts for to, never for from. |
q | scoala | Search the quote, the context and the name. Case and diacritics do not matter: si finds și. |
sort | oldest | List only: newest (default), oldest or random. |
page, per_page | 2, 10 | List only. per_page is 1 to 50, default 20. |
format | text | One plain line instead of JSON, on random, today and {id}. |
Calls
$ curl https://api.tasta.space/v1/perle/random
$ curl "https://api.tasta.space/v1/perle?category=sport&sort=oldest"
$ curl "https://api.tasta.space/v1/perle/random?format=text"
$ curl "https://api.tasta.space/v1/perle?q=romania&per_page=5"
A perlă looks like this
{
"data": {
"id": 190,
"quote": "Dac-am declanșa o politică a colectării apei care ne vine din ploi, din tornade, am putea uda pământul din sud prin gravitație.",
"person": {
"name": "Traian Băsescu",
"slug": "traian-basescu"
},
"role": "președintele României",
"category": "politica",
"said_on": "2015",
"year": 2015,
"date_precision": "before",
"context": "Citat din culegerea „Noi vorbim, nu gândim” de Radu Paraschivescu, prezentată de Digi24, despre cum ar putea fi irigat sudul țării. Articolul nu spune când sau unde a fost rostită fraza.",
"sources": [
{
"url": "https://www.digi24.ro/magazin/timp-liber/cultura/digicult-cea-mai-recenta-colectie-de-perle-noi-vorbim-nu-gandim-414722",
"publisher": "Digi24",
"title": "DIGICULT| Cea mai recentă colecție de perle: „Noi vorbim, nu gândim” | Digi24",
"kind": "article"
}
],
"url": "https://api.tasta.space/v1/perle/190"
}
}
How exact the date is
said_on is only as precise as the sources. date_precision says how precise:
| Value | said_on | Means |
|---|---|---|
day | 2019-10-03 | That day. |
month | 2011-03 | Some day that month. |
year | 2006 | Some day that year. |
before | 2012 | That year or earlier. The perlă turns up in a later collection, so the year is that of the earliest source. |
Errors of its own
On top of the hub's errors. Messages are in Romanian, like the data; codes are not.
| Status | Code | When |
|---|---|---|
| 404 | no_match | random found nothing for those filters |
| 404 | not_found | No perlă with that id |
| 422 | invalid_parameter | A category that does not exist, a year that is not a year, and so on |