GithubHelp home page GithubHelp logo

francisguchie / bible_api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seven1m/bible_api

0.0 1.0 0.0 3.03 MB

Sinatra web app that serves RESTful JSON web API for open and public domain bibles

Home Page: http://bible-api.com

License: MIT License

Ruby 64.56% HTML 35.44%

bible_api's Introduction

bible_api

Sinatra web app that serves RESTful JSON web API for the World English Bible.

mysql -uroot -e "create database bible_api; grant all on bible_api.* to user@localhost identified by 'password';"
BIBLE_API_DB="mysql2://user:password@localhost/bible_api" ruby import.rb
BIBLE_API_DB="mysql2://user:password@localhost/bible_api" ruby app.rb

http://localhost:4567/John+3:16

{
  "reference": "John 3:16",
  "verses": [
    {
      "book_id":   "JHN",
      "book_name": "John",
      "chapter":   3,
      "verse":     16,
      "text":      "\nFor God so loved the world, that he gave his one and only Son, that whoever believes in him should not perish, but have eternal life.\n\n"
    }
  ],
  "text": "\nFor God so loved the world, that he gave his one and only Son, that whoever believes in him should not perish, but have eternal life.\n\n"
}

Copyright Tim Morgan. See LICENSE.

bible_api's People

Contributors

jrichter avatar seven1m avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.