Skip to content

Commit 1887d9c

Browse files
Advisor Application 😎
1 parent 08b7bdd commit 1887d9c

File tree

3 files changed

+42
-1
lines changed

3 files changed

+42
-1
lines changed

Advisor_App/README.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# ADVISOR APPLICATION
2+
3+
This is a Python Script which gives you advice and motivation quote lines.
4+
5+
---
6+
7+
## Requirements
8+
9+
For this script to run you need to have requests packages installed
10+
11+
Run the command in terminal to install package
12+
13+
```
14+
$ pip install requests
15+
```
16+
Run the program using command
17+
18+
```
19+
$ python advice.py
20+
```
21+
22+
## Created By
23+
24+
[Avdhesh Varshney](https://github.com/Avdhesh-Varshney)
25+
26+
<br>
27+
28+
**Thanks for using this program**
29+

Advisor_App/advice.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Importing files
2+
import requests
3+
4+
# Function taking api link and fetch random advice quotes
5+
def advice():
6+
res = requests.get("https://api.adviceslip.com/advice").json()
7+
print("\n")
8+
print(res["slip"]["advice"])
9+
print("\n")
10+
11+
advice()

SCRIPTS.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,5 @@
118118
| 109\. | Fetch Contributions | This script is a Python tool that fetches pull requests made by a user in a GitHub organization. | [Take Me](./Fetch_Contributions/) | [Sabhi Sharma](https//github.com/sabhisharma-ise)
119119
| 109\. | Domain Name Availability Checker | This script is a Python tool that allows you to check the availability of domain names using the GoDaddy API. | [Take Me](./Domain_Name_Availability/) | [Sabhi Sharma](https//github.com/sabhisharma-ise)
120120
| 110\. | Automatic Spelling Checker and Corrector | This Script is used to detect spelling errors in a text and correct them if the user wishes to do so. | [Take Me](./Automatic_Spelling_Checker_Corrector/) | [Sabhi Sharma](https//github.com/sabhisharma-ise)
121-
| 111\. | File Searcher | The File Search script is a Python tool that allows you to search for files with a specific extension in a directory. It recursively searches through all subdirectories of the specified directory and returns a list of files that match the provided file extension. | [Take Me](https://github.com/avinashkranjan/Amazing-Python-Scripts/tree/master/File\Search) | [Srujana Vanka](https://github.com/srujana-16)
121+
| 111\. | File Searcher | The File Search script is a Python tool that allows you to search for files with a specific extension in a directory. It recursively searches through all subdirectories of the specified directory and returns a list of files that match the provided file extension. | [Take Me](https://github.com/avinashkranjan/Amazing-Python-Scripts/tree/master/File\Search) | [Srujana Vanka](https://github.com/srujana-16)
122+
| 112\. | Advisor App | This python script allows user to give so many advices and motivation quote lines. | [Take Me](./Advisor_App) | [Avdhesh Varshney](https://github.com/Avdhesh-Varshney)

0 commit comments

Comments
 (0)