omarciovsena / abibliadigital Goto Github PK
View Code? Open in Web Editor NEWA RESTful API for Bible
Home Page: http://www.abibliadigital.com.br
License: BSD 2-Clause "Simplified" License
A RESTful API for Bible
Home Page: http://www.abibliadigital.com.br
License: BSD 2-Clause "Simplified" License
Post, in user creation endpoint, this content (equals to API doc example):
{
"name": "Name",
"email": "[email protected]",
"password": "102030",
"notifications": true
}
API returned:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Bad Request</pre>
</body>
</html>
Gênesis
Êxodo
Levítico
Números
Deuteronômio
Josué
Juízes
Rute
I Samuel
II Samuel
I Reis
II Reis
I Crônicas
II Crônicas
Esdras
Neemias
Ester
Jó
Salmos
Provérbios
Eclesiastes
Cântico dos Cânticos
Isaías
Jeremias
Lamentações
Ezequiel
Daniel
Oséias
Joel
Amós
Obadias
Jonas
Miquéias
Naum
Habacuque
Sofonias
Ageu
Zacarias
Malaquias
Mateus
Marcos
Lucas
João
Atos dos Apóstolos
Romanos
I Coríntios
II Coríntios
Gálatas
Efésios
Filipenses
Colossenses
I Tessalonicenses
II Tessalonicenses
I Timóteo
II Timóteo
Tito
Filemon
Hebreus
Tiago
I Pedro
II Pedro
I João
II João
III João
Judas
Apocalipse
Hello Devs,
I am trying update token but the error is happen. Please help me to use this API.
Thank you.
API: https://www.abibliadigital.com.br/api/users/token
body response:
{
"msg": "Oops! An unexpected error has occurred, create an issue with the information of this request.",
"err": {}
}
Add the Documentation link in NavBar would make it much easier to find documentation page.
Is there somewhere I can download the database?
https://bibleapi.co/api/version/:version/keys/:key
{
key: "pastor",
count: 1,
verses: [
{
"book": {
"abbrev": "sl",
"name": "Salmos",
"author": "David, Moisés, Salomão",
"group": "Poéticos",
}
"chapter": 23,
"number": 1,
"text": "O Senhor é o meu pastor; de nada terei falta."
},
]
}
Given the post request POST https://www.abibliadigital.com.br/api/verses/search which should have a JSON body, would be possible to implement a way to send multiple keywords?
How the post request body works actually:
{
"version": "nvi",
"search": "amor"
}
The way I have explaned above
{
"version": "nvi",
"search": ["amor", "paciência", "perdão"]
}
This way, it will be possible to create a whole bunch of random verses.
Describe the bug
It seems that there is a typo in the Portuguese version logo
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should be "ABíbliaDigital" instead "ABlíbiaDigital"
How can I get the response in English
When you run docker-compose up, the following error comes up
bibleapi | [1/5] Validating package.json...
bibleapi | error [email protected]: The engine "node" is incompatible with this module. Expected version ">=10.14.0".
bibleapi | error Found incompatible module
bibleapi | info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
bibleapi | yarn run v1.9.4
bibleapi | $ nodemon --exec babel-node app.js
bibleapi | /bin/sh: 1: nodemon: not found
bibleapi | error Command failed with exit code 127.
bibleapi | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.```
This requires the node version in use to be upgraded from 10.11.0 to at least 10.14.0
Essa é uma dúvida que recebi por email da Vanessa Ribeiro. Segue as minhas instruções:
Essa informação não ficou clara mesmo, mas segue as instruções que executo sempre por aqui. Com certeza um modo otimizado estará no README.md das próximas versões.
É necessário pelo menos 4 arquivos e eles precisam estar nos seguintes diretórios:
MONGODB_URI=mongodb://localhost/bibleapi
NODE_ENV="development"
SECRET_KEY="String"
bibleapi
Com os arquivos nos diretórios corretos, execute os seguintes scripts que já estão no package.json
yarn test:db:book
- Carrega os 66 livrosyarn test:db:verse
- Carrega os mais de 31.000 versículos da versão NVINos próximos dias atualizarei o código com uma versão otimizada.
Vanessa, obrigado por perguntar.
Creating an endpoint to return the list of available bible versions.
As a Spanish speaker developer
I want to be able to consult the spanish NVI version of the Bible
So that I can develop an app to share the Bible with people who speaks Spanish
I came from the website and tried to access the documentation, but it's not working
https://github.com/marciovsena/bibleapi/blob/dev/DOCUMENTATION.md
Keep the search in pt-br (given the number of current requests), but also accept the abbreviation in English (to avoid problems like the book of "Jó")
As a Spanish speaker developer
I want to be able to consult the spanish RVR version of the Bible
So that I can develop an app to share the Bible with people who speaks Spanish
Describe the bug
A clear and concise description of what the bug is.
Nenhuma api está funcionando.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
If you can provide a few GET request examples for Spanish IF available
Thanks
As a Spanish speaker developer
I want to be able to consult the spanish NTV version of the Bible
So that I can develop an app to share the Bible with people who speaks Spanish
To implement an endpoint that returns a selected verse of the bible regarding to specific day of the year. For example, 1/1 is the Day 1 of the year, 2/1, the second one, so on.
It was also good if the verses were pre-selected by the API developers, based on a list of most known verses of the bible - non a random verses.
To make available audios of some bible versions.
Hola! Engles para me solamente :( So Sorry. Mi hijo de seis años is learning in school english and spanish immersion program. Estoy aprendiendo un poquito con mi hijo.
I am building a WordPress plugin for a virtual group bible study site. I would like an access token for the site I am building so that group hosts can search and input bible verses into their group pages.
Thank you very much,
Meg
Good afternoon, it's not a problem, I'm not able to use this api.
POST https://www.abibliadigital.com.br/api/verses/search.
maybe if you could put a practical example, thank you.
Olá, gostaria de saber se existe, ou se seria possível o adicionamento em específico a tradução João ferreira de Almeida?
Hi, thanks for maintaining the api continuously!
I am having the following error when trying to access the api to get books
{
"msg": "Oops! An unexpected error has occurred, create an [issue](https://github.com/marciovsena/bibleapi/issues/new) with the information of this request.",
"err": {
"driver": true,
"name": "MongoError",
"index": 0,
"code": 12501,
"errmsg": "quota exceeded"
}
}
Dúvida recebida por email de Manoel Neto
Como faço para usar o metodo de pesquisa de palavras ? pois pela documentação eu não entendi como se monta a URL, voce poderia me dar este apoio ?
Endpoint: POST https://bibleapi.co/api/verses/search
Body:
{
"version": "nvi",
"search": "Belém"
}
Response:
{
"occurrence": 48,
"version": "nvi",
"verses": [
{
"book": {
"abbrev": {
"pt": "gn"
}
},
"chapter": 35,
"number": 19,
"text": "Assim morreu Raquel e foi sepultada junto do caminho de Efrata, que é Belém."
},
...
]
}
curl --location --request POST 'http://bibleapi.co/api/verses/search' \
--header 'Content-Type: application/json' \
--data-raw '{
"version": "nvi",
"search": "belem"
}'
var myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
var raw = JSON.stringify({"version":"nvi","search":"belem"});
var requestOptions = {
method: 'POST',
headers: myHeaders,
body: raw,
redirect: 'follow'
};
fetch("http://bibleapi.co/api/verses/search", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
creates a new endpoint to randomize over a single book
Additional context
I would like to have the possibility of do request for Spanish version.
One question?
In your description said: RESTful Bible API with 7 versions, 4 languages and multiple features to simplify your day to day.
what are the others 3 languages?
Hello, in some moments of the requests I have received error when requesting a random text in the nvi version. The error follows:
Client error: GET https://bibleapi.co/api/verses/nvi/random
resulted in a 404 Not Found
response: {"msg":"Verse not found"}
Thanks for the API :D
how to query the book of "Jó" ?
verses/acf/jo/1 brings "João" book and verses/acf/jó/1 is not found.
thanks
Hi Márcio.
bibleapi is amazing. Thank you so much. I'm considering to develop a Moodle (it is a well-known learning management system) Plugin that uses this API to present daily verses to the users.
I'd like to request your permisson and opinion.
Best regards. Paulo.
Add new statistics for the user to see.
https://bibleapi.co/api/version/:version/stats/word/:falta
{
word: "falta",
count: 1,
verses: [
{
"book": {
"abbrev": "sl",
"name": "Salmos",
"author": "David, Moisés, Salomão",
"group": "Poéticos",
}
"chapter": 23,
"number": 1,
"text": "O Senhor é o meu pastor; de nada terei falta."
},
]
}
https://bibleapi.co/api/version/:version/stats/author/:david
{
author: "david",
count: 1,
books: [{
name: Salmos
}]
}
We are currently persisting differently /books
and /books/
. The route and the result are the same.
It is necessary to delete the last character if it is /
Often a range of verses is required, the turn of an entire chapter or several requests.
GET /api/verses/nvi/sl/23/1-3
I woul know if this api work yet, because i'm trying create an users but i cant do this.
msg: "Oops! An unexpected error has occurred, create an [issue](https://github.com/marciovsena/bibleapi/issues/new) with the information of this request.", err: { driver: true, name: "MongoError", index: 0, code: 12501, errmsg: "quota exceeded" }
Essa resposta está retornando no próprio site.
Aguardo daí, abraços.
Olá,
Gostaria de contribuir com o projeto criando um plugin para o WordPress.
Caso seja autorizado podemos discutir nesse issue os parâmetros.
Aguardamos autorização do desenvolvedor...
Is your feature request related to a problem? Please describe.
I'd like to perform rate limiting outside of the application (on infrastructure level)
Describe the solution you'd like
Make controllers/rateLimit.js respect a feature flag (to be able to disable the functinality) and do no rate-limiting on app level.
How do I loggin in account created?
Hi, great API!
My use case is to show a random bible passage each times the user loads the app. It would be nice to have an endpoint that, given the version, returns a random chapter or verse (either is fine).
for example:
GET https://bibleapi.co/api/verses/:version/random
Olá amigo,
O endpoint "https://bibleapi.co/api/verses/search" está retornando o seguinte json:
{
"book": {
"abbrev": {
"pt": "gn"
}
},
"chapter": 12,
"number": 13,
"text": "Diga que é minha irmã, para que me tratem bem por amor a você e minha vida seja poupada por sua causa"."
},
Na documentação mostra que retorna o livro, mas não está retornando.
Outra coisa, não está retornando todos os versículos que contém a palavra, por exemplo, "ansioso", o texto de Filipenses 4:6 contém a palavra "ansiosos", o qual não está sendo retornada pelo endpoint.
Poderia verificar?
Obrigado e parabéns pela iniciativa.
Olá, boa noite.
Estou tentando acessar a API via reactjs mas sempre aparece essa mensagem de erro:
Access to XMLHttpRequest at 'https://bibleapi.co/api/books/gn' from origin 'https://retomada.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains the invalid value 'false'.
Add AdonisJS logger to identify:
Assess impact of removing adonijs and using mongo bank to speed up response time.
Quando eu faço alguma operação de GET, onde coloco o token (para não ter limitações)?
Seria no header?
Estou usando c#, mas só me dando uma explicação em outra linguagem já está bom
caso te interesse: usando o discord encontrei alguns bots que mostravam verículos, mas os que aceitavam versões em portugues não aceitavam o nome do livro em portugues, então criei um bot simples para isso
ainda faltam alguns ajustes, mas estou feliz com o resultado
obrigado
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.