Skip to content

ASH1998/THE-BOT

Repository files navigation

alt text alt text

THE-BOT THE-BOT

=============

The AI "THE-BOT" which is build using flask and Restful Api responsive, which gives you a Weather, Distance and Your_IP...(lot more coming up....)

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

for more bleeding edge developement check out the /test directory

Prerequisites

  • Requires python2.6+, or python3.0 +
  • Required python packages: Flask,Flask-Restful, Requests , Geopy

Installing

A step by step series of examples that tell you have to get a development env running

Say what the step will be

The instruction helps you install in local machine

  1. Install Virtualenv (Virtual Environment)

~$ pip install virtualenv

  1. Create a project file

~$ mkdir project ~$ cd project

  1. Create Virtual Environment

~$ virtualenv The_Bot

~$ source The_Bot/bin/activate

Now your into the vrtual envirment and proceed with installing dependencies

4.Clone the THE-BOT project

~$ git clone https://github.com/ASH1998/THE-BOT

  1. Change directory into "THE-BOT" file

~$ cd THE-BOT

(THE_BOT)THE-BOT~$ pip install -r requirements.txt

Which intern download all Modules

  1. Finally Run the app

~$ python runserver.py

The bot is running into 5000 local port

Examples

The bot as multiple modules

  1. weather To run an weather app

curl http://127.0.0.1:5000/api/v1.0/w/<city_name>

The city_name could be any city

  1. Distance This module finds an distance between two point

To check the distance

curl http://127.0.0.1:5000/api/v1.0/d/<source>/<destination>

3.For Wikipedia Search

curl http://127.0.0.1:5000/api/v1.0/wiki/<query>

Deployment

Add additional notes about how to deploy this on a live system

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Pull Requests

We ❤️ pull requests! We even 💖 them if they contain well written commit messages!

Please write the first line of your commit message in the following style:

exercise-name: Change some things

Please try to follow the The seven rules of a great Git commit message like to capitalize the subject line and use the imperative mood. If there are more details to add, put those into the body of the commit message.

If you're interested, Tim Pope even has an entire blog post on good commit messages.

If you're new to Git, take a look at this short guide.

Versioning

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Hat tip to anyone who's code was used
  • Inspiration
  • etc

IRC

Anyquery find us in

alt text

alt text

About

A community driven smart bot...

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •