Giter Site home page Giter Site logo

holybooks's Introduction

holybooks

An API Wrapper for extracting info from the Al-Quran API and the Bible api. I will add more functions for certain api in the future! Documentation for this project is not avalaible at the moment. Full function can be seen in client.py

Installation

Find the module here.

pip install holybooks

Usage

# First make the client instance
from holybooks import Client

client = Client(
    quran_translation="en.asad",
    bible_translation="kjv"
)

client.fetch_ayah("2:255", "en.pickthall") #Retrives a verse from the Quran api. This will get chapter 2, verse 255. The second argument is the translation, if None specified the default translation is your quran_translation in your client instance.

client.fetch_verse("Genesis", "1:10", "kjv") #Retrives verses from the Bible API. This will get Genesis chapter 1, verse 1-10. The second argument is the translation, if None specified the default translation is your bible_translation in your client instance. 

API's That I Used

Qur'an

Bible

Contributing

Pull requests are welcome! Particularly for supporting other api(s). Please make sure to update tests as appropriate.

License

MIT

holybooks's People

Contributors

makiyu-py avatar marzaelise avatar sifte avatar thegenocides avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

holybooks's Issues

Spelling Mistake

There are a lot of spelling issues.

  • Holybooks -> Holybooks
    Fix this and change hollybooks to Holybooks cos it looks weird af dud

#7

Expect another PR from me that fixes these:

  • Remove useless if statements that check for aiohttp and requests installation. This is because both are installed with this module and the if statements are absolutely useless. Probably more useless than the second page of google search. Or more useless than a ropeless skipping rope, or a shoe umbrella or a noodle fan.

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.