=============
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….)
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
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
~$ pip install virtualenv
~$ mkdir project
~$ cd project
~$ 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
~$ cd THE-BOT
(THE_BOT)THE-BOT~$ pip install -r requirements.txt
Which intern download all Modules
~$ python runserver.py
The bot is running into 5000 local port
The bot as multiple modules
curl http://127.0.0.1:5000/api/v1.0/w/<city_name>
The city_name could be any city
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>
Add additional notes about how to deploy this on a live system
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We :heart: pull requests! We even :sparkling_heart: 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.
This project is licensed under the MIT License - see the LICENSE.md file for details
Anyquery find us in