All in One API can be used for diferent kind of projects where you need some credible data to
showcase your prototype/product without needing to run any server-side code. It can also be an useful tool for
teaching,
learning and testing.
More about this API:
Free forever!
No key needed
All CRUD operations
REST API
Multiple languages
Filtering with diferent params
Languages
One of the main objectives of this API is to be able to recover data in diferent languages. If you
are interested in adding translations for a language that's not currently supported, please hit me up and we can
make it posible.
If you want to GET a response with a particular language don't forget to add the param
"lang" to the
endpoint. If "lang" param is invalid or unespecified the response will be in English by default.
Currently supported languages are:
English
Spanish
Portuguese
Movies
GET all movies
Access the list of 16 movies using the /movies endpoint.
If you want the list in any particular language don't forget to use de "lang" param.
Request:
[GET] https://allinoneapi.vercel.app/movies
Response:
[
{
"id": "57a0082f-369a-4a48-b7e7-8379656abcdc",
"title": "The Godfather",
"description": "Don Vito Corleone, head of a mafia fam...",
"year": 1972,
"director": "Francis Ford Coppola",
"duration": 175,
"img": "https://m.media-amazon.com/images/M/MV5B...",
"genre": ["Crime", "Drama"],
"rate": 9.2
},
// ...
]
Language
The param "lang" will allow you to get the list of all the movies but
translated into any language available. To check available languages see Languages section.
[
{
"id": "57a0082f-369a-4a48-b7e7-8379656abcdc",
"title": "O Poderoso Chefão",
"description": "O patriarca idoso de uma dinastia do crime...",
"year": 1972,
"director": "Francis Ford Coppola",
"duration": 175,
"img": "https://m.media-amazon.com/images/M/MV5BZjgw...",
"genre": ["Policial", "Drama"],
"rate": 9.2
},
// ...
]
Movies
GET filtered movies
Use different params to get a list of movies from /movies endpoint.
All params and values must be written in English even if you are going to request a
translation with "lang".
Language
The param "lang" will allow you to get the list of all the movies but
translated into any language available. To check available languages see Languages
section.
To filter by genre you need to use the param "genre". You can only filter by
multiple genres adding multiple "genre" params.
By default if you filter with multiple genres it will respond with any movie that has any of
the genres. If you want it just to retrieve the movies that have all the genres you should add the
"allgenres" param with value "true".
{
"id": "a2614984-175b-4a22-9fe1-ec7795280109",
"title": "Star Wars: Episode V - The Empire Strikes Back",
"description": "After the Rebels are overpowered by the Empire, Luke Skywaler be...",
"year": 1980,
"director": "Irvin Kershner",
"duration": 124,
"img": "https://m.media-amazon.com/images/M/MV5BYmU1NDRjNDgtMzhiMi00Nj...",
"genre": ["Action", "Adventure", "Fantasy"],
"rate": 8.7
}
Language
The only param available when getting with an id is "lang" which allows you
to choose between any supported translation. To check available languages see Languages
section.
{
"id": "a2614984-175b-4a22-9fe1-ec7795280109",
"title": "El imperio contraataca",
"description": "Los rebeldes han vencido al Imperio en el planeta helado Hoth. Luke Skywal...",
"year": 1980,
"director": "Irvin Kershner",
"duration": 124,
"img": "https://m.media-amazon.com/images/M/MV5BY2I2NGEyZWEtYzEzOC00NTJiLTg1N...",
"genre": ["Acción", "Aventura", "Fantasía"],
"rate": 8.7
}
Movies
POST movie
Create a movie using the /movies endpoint.
Remember that nothing in real will be inserted into the database, it will just
return you the new object. If you then try to access the objet with the id you will not be able to retreave it.
Modify a movie using the /movies/:id endpoint. It needs you to send all the values in the body,
except the id.
Remember that nothing in real will be inserted into the database, it will just
return you the modified object. If you then try to access the objet with the id you will get the original
object.
Modify a movie using the /movies/:id endpoint. You need to modify only 1 value in the body,
but you can modify all the values you want.
Remember that nothing in real will be inserted into the database, it will
just
return you the modified object. If you then try to access the objet with the id you will get the original
object.
Remember that nothing in real will be deleted from the database, it will
just
return you a message as if it had been deleted. If you then try to access the objet with the id you will get the
original object.
The param "lang" will allow you to get the list of all the series but
translated into any
language available. To check available languages see Languages section.
[
{
"id": "88f18feb-53f7-4cc0-9da4-2bd8505baf4e",
"title": "Breaking Bad",
"description": "Un profesor de secundaria que ha sido diagnosticado...",
"started": 2008,
"ended": 2013,
"seasons": 5,
"episodes": 62,
"img": "https://m.media-amazon.com/images/M/MV5BYmQ4YWMxYjUtNjZm...",
"genre": ["Crimen", "Drama", "Suspenso"],
"rate": 9.5
},
// ...
]
Series
GET filtered series
Use different params to get a list of series from /series endpoint.
All params and values must be written in English even if you are going to request a
translation with "lang".
Language
The param "lang" will allow you to get the list of all the series but
translated into any
language available. To check available languages see Languages section.
To filter by genre you need to use the param "genre". You can only filter by
multiple genres adding multiple "genre" params.
By default if you filter with multiple genres it will respond with any serie that has any of
the genres. If you want it just to retrieve the series that have all the genres you should add the
"allgenres" param with value "true".
To filter by year you need to use the param "year". If the value is anyone
between the
"started" or the "ended" year of the object, it will be returned. You can only filter by 1 year per
request, and it can be combined with any other param.
{
"id": "c86373e1-7265-4d41-9ce8-8870c9e6d73a",
"title": "Avatar: The Last Airbender",
"description": "description":"In a war-torn world of elemental magic, a young boy rea...",
"started": 2005,
"ended": 2008,
"seasons": 3,
"episodes": 62,
"img": "https://m.media-amazon.com/images/M/MV5BODc5YTBhMTItMjhkNi00ZTIx...",
"genre": ["Animation", "Action", "Adventure"],
"rate": 9.3
}
Language
The only param available when getting with an id is "lang" which allows you
to choose between any supported translation. To check available languages see Languages
section.
{
"id": "c86373e1-7265-4d41-9ce8-8870c9e6d73a",
"title": "Avatar. La leyenda de Aang",
"description": "En un mundo de magia desgarrado por la guerra, un niño vuelve a despertar p...",
"started": 2005,
"ended": 2008,
"seasons": 3,
"episodes": 62,
"img": "https://m.media-amazon.com/images/M/MV5BYmI1OGI2MzYtMTViMS00MWU5LThiZ...",
"genre": ["Animación", "Acción", "Aventura"],
"rate": 9.3
}
Series
POST serie
Create a serie using the /series endpoint.
Remember that nothing in real will be inserted into the database, it will just
return you the new object. If you then try to access the objet with the id you will not be able to retreave it.
Modify a serie using the /series/:id endpoint. It needs you to send all the values in the body,
except the id.
Remember that nothing in real will be inserted into the database, it will just
return you the modified object. If you then try to access the objet with the id you will get the original
object.
Modify a serie using the /series/:id endpoint. You need to modify only 1 value in the body,
but you can modify all the values you want.
Remember that nothing in real will be inserted into the database, it will
just
return you the modified object. If you then try to access the objet with the id you will get the original
object.
Remember that nothing in real will be deleted from the database, it will
just
return you a message as if it had been deleted. If you then try to access the objet with the id you will get the
original object.
Access the list of 16 quotes using the /qutoes endpoint.
If you want the list in any particular language don't forget to use de "lang" param.
Request:
[GET] https://allinoneapi.vercel.app/quotes
Response:
[
{
"id": "1fb91502-9e53-449b-ba30-6e7d9f0d74b2",
"text": "It is hard to fail, but it is worse never to have tried to succeed.",
"author": "Theodore Roosevelt",
"category": ["Motivation", "Fail"]
},
// ...
]
Language
The param "lang" will allow you to get the list of all the quotes but
translated into any
language available. To check available languages see Languages section.
[
{
"id": "1fb91502-9e53-449b-ba30-6e7d9f0d74b2",
"text": "Es difícil fracasar, pero es peor no haber intentado nunca tener éxito.",
"author": "Theodore Roosevelt",
"category": ["Motivación", "Fallar"]
},
// ...
]
Quotes
GET filtered quotes
Use different params to get a list of quotes from /quotes endpoint.
All params and values must be written in English even if you are going to request a
translation with "lang".
Language
The param "lang" will allow you to get the list of all the quotes but
translated into any
language available. To check available languages see Languages section.
To filter by category you need to use the param "category". You can only
filter by
multiple categories adding multiple "category" params.
By default if you filter with multiple categories it will respond with any quote that has any
of the categories. If you want it just to retrieve the quotes that have all the categories you should add the
"allcats" param with value "true".
To filter by author you need to use the param "author". If the value of the param is included
as a substring in the author of the object, it will be returned. It can be combined with any other param.
{
"id": "440bcfeb-2a06-4fd2-a4ef-2107636b6e96",
"text": "The future belongs to those who believe in the beauty of their dreams.",
"author": "Eleanor Roosevelt",
"category": ["Motivation", "Dreams"]
}
Language
The only param available when getting with an id is "lang" which allows you
to choose between any supported translation. To check available languages see Languages
section.
{
"id": "440bcfeb-2a06-4fd2-a4ef-2107636b6e96",
"text": "El futuro pertenece a quienes creen en la belleza de sus sueños.",
"author": "Eleanor Roosevelt",
"category": ["Motivación", "Sueños"]
}
Quotes
POST quote
Create a quote using the /quotes endpoint.
Remember that nothing in real will be inserted into the database, it will just
return you the new object. If you then try to access the objet with the id you will not be able to retreave it.
Modify a quote using the /quotes/:id endpoint. It needs you to send all the values in the body,
except the id.
Remember that nothing in real will be inserted into the database, it will just
return you the modified object. If you then try to access the objet with the id you will get the original
object.
Modify a quote using the /quote/:id endpoint. You need to modify only 1 value in the body,
but you can modify all the values you want.
Remember that nothing in real will be inserted into the database, it will
just
return you the modified object. If you then try to access the objet with the id you will get the original
object.
Example Request:
[PATCH] https://allinoneapi.vercel.app/quotes/355d448e-1aa7-4569-95f0-7b3886c7cc05
# Body
{
"author": "Modified author"
}
Response:
{
"id": "355d448e-1aa7-4569-95f0-7b3886c7cc05",
"text": "We can do anything we want to do if we stick to it long enough.",
"author": "Modified author",
"category": ["Motivation"]
}
Quotes
DELETE quote
Delete a quote using the /quotes/:id endpoint.
Remember that nothing in real will be deleted from the database, it will
just
return you a message as if it had been deleted. If you then try to access the objet with the id you will get the
original object.
Access the list of 6 books using the /books endpoint.
If you want the list in any particular language don't forget to use de "lang" param.
Request:
[GET] https://allinoneapi.vercel.app/books
Response:
[
{
"id": "23a33225-f7af-4c38-98bc-51aecf39bf20",
"title": "One Hundred Years of Solitude",
"description": "This novel is a multi-generational saga that focuses on...",
"author": "Gabriel García Márquez",
"year": 1967,
"img": "https://thegreatestbooks.club/3jx639wkwk8xq18chslnzx4vd0pi",
"genre": ["Fiction"]
},
// ...
]
Language
The param "lang" will allow you to get the list of all the books but
translated into any language available. To check available languages see Languages section.
[
{
"id": "23a33225-f7af-4c38-98bc-51aecf39bf20",
"title": "Cien Años De Soledad",
"description": "Muchos años después, frente al pelotón de fusilamien...",
"author": "Gabriel García Márquez",
"year": 1967,
"img": "https://cdn.agapea.com/Debolsillo/Cien-anos-de-soledad-i6...",
"genre": ["Ficción"]
},
// ...
]
Books
GET filtered books
Use different params to get a list of books from /books endpoint.
All params and values must be written in English even if you are going to request a
translation with "lang".
Language
The param "lang" will allow you to get the list of all the books but
translated into any language available. To check available languages see Languages section.
To filter by genre you need to use the param "genre". You can only filter by
multiple genres adding multiple "genre" params.
By default if you filter with multiple genres it will respond with any book that has any of
the genres. If you want it just to retrieve the books that have all the genres you should add the
"allgenres" param with value "true".
{
"id": "df26c5ad-0316-47a1-9907-1b13241ce74b",
"title": "The Divine Comedy",
"description": "In this epic poem, the protagonist embarks on an extraordinary journey...",
"author": "Dante Alighieri",
"year": 1301,
"img": "https://thegreatestbooks.club/a6mt6a2926cmpd1d501ingjh4b14",
"genre": ["Fiction", "Poetry"]
}
Language
The only param available when getting with an id is "lang" which allows you to
choose between any supported translation. To check available languages see Languages
section.
{
"id": "df26c5ad-0316-47a1-9907-1b13241ce74b",
"title": "La divina comedia",
"description": "Este vasto poema en tres partes presenta alegóricamente el itinerario del alma...",
"author": "Dante Alighieri",
"year": 1301,
"img": "https://cdn.agapea.com/Sial-Ediciones/La-divina-comedia-i6n7403773.jpg",
"genre": ["Ficción", "Poesia"]
}
Books
POST book
Create a book using the /books endpoint.
Remember that nothing in real will be inserted into the database, it will just
return you the new object. If you then try to access the objet with the id you will not be able to retreave it.
Modify a book using the /books/:id endpoint. It needs you to send all the values in the body,
except the id.
Remember that nothing in real will be inserted into the database, it will just
return you the modified object. If you then try to access the objet with the id you will get the original
object.
Modify a book using the /books/:id endpoint. You need to modify only 1 value in the body,
but you can modify all the values you want.
Remember that nothing in real will be inserted into the database, it will
just
return you the modified object. If you then try to access the objet with the id you will get the original
object.
Remember that nothing in real will be deleted from the database, it will
just
return you a message as if it had been deleted. If you then try to access the objet with the id you will get the
original object.