Coder Social home page Coder Social logo

sayampradhan / bhagvad-geeta-quotes Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 11 KB

This GitHub repository houses an Automatic Bhagavad Geeta Quote Generator, a powerful tool designed to generate inspiring quotes from the sacred text of the Bhagavad Geeta.

License: MIT License

Python 100.00%
api bhagavad-gita bhagavad-gita-api bhagavadgita bhagavadgitaapi python python3 quote-generator requests

bhagvad-geeta-quotes's Introduction

Bhagvad-Geeta-Quotes

This Python script generates a random verse from the Bhagavad Gita using the Bhagavad Gita API. It selects a random chapter and verse number, makes a GET request to the API, and displays the verse text.

Prerequisites

  • Python 3.x
  • requests library (install using pip install requests)

Installation

  1. Clone the repository: git clone https://github.com/your_username/your_repository.git

  2. Change to the project directory: cd your_repository

  3. Install the required requests library: pip install requests

Usage

Run the Python script using the following command: python random_verse.py

The script will generate a random chapter and verse number, make a request to the Bhagavad Gita API, and display the selected verse.

API Key

To use the Bhagavad Gita API, you need an API key. Follow the steps below to obtain one:

  1. Visit the RapidAPI Bhagavad Gita API page.
  2. Sign up for a RapidAPI account (if you don't have one).
  3. Subscribe to the Bhagavad Gita API and obtain your API key.
  4. Replace the placeholder API key in the Python script with your actual API key.
    "X-RapidAPI-Key": "your_api_key",
    "X-RapidAPI-Host": "bhagavad-gita3.p.rapidapi.com"
}

Make sure to keep your API key secure and avoid committing it to version control.

Contributing

Contributions are welcome! If you have any suggestions or improvements, please open an issue or submit a pull request.

This project is licensed under the MIT License.

bhagvad-geeta-quotes's People

Contributors

sayampradhan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.