forked from Sopra-Banking-Software-Interns/Application-2.0
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.sh
More file actions
144 lines (130 loc) · 3.35 KB
/
application.sh
File metadata and controls
144 lines (130 loc) · 3.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
echo
echo "Welcome to all in one API application"
echo "There's a lot you can do with this application"
echo "Let's look at the various options avaiable"
echo
echo
echo "if you are interested in any of the below subjects press 1"
echo "Newspaper - articles, movies and books"
echo "Countries - countries, currencies and capital cities"
echo "Numbers - trivia on dates, years and numbers"
echo "Jokes - Let's have a laugh"
echo
echo
echo "if you are interested in any of the below subjects press 2"
echo "Bored - Let's do something fun, get suggestions"
echo "Memes - Want to make a fun meme or want to see some memes, let's get started"
echo "Food - Get a recipe to make your favourite dish"
echo "cocktail - Let's get brewing trivia, shall we?"
echo
echo
echo "if you are interested in any of the below subjects press 3"
echo "Catfacts - Let's hear some cat facts"
echo "Dogfacts - Let's hear some dog facts"
echo "news - Let's get some news"
echo "recipe - Let's get some recipes"
echo
echo
echo "if you are interested in any of the below subjects press 4"
echo "Create a bucketlist - Let's create a bucketlist"
echo "Nasa images - let's explore space"
echo
echo
echo "if you are interested in any of the below subjects press 5"
echo "Let's play a card game"
echo "Want to get gisty with dictionary? Let's get started"
read -p "Enter your choice: " choice
if [ $choice -eq 1 ]
then
echo "What specificaly are you interested in?"
echo "Newspaper - articles, movies and books - type 1"
echo "Countries - countries, currencies and capital cities - type 2"
echo "Numbers - trivia on dates, years and numbers - type 3"
echo "Jokes - Let's have a laugh - type 4"
read -p "Enter your choice: " choicea
if [ $choicea -eq 1 ]
then
./riyu44/newspaper.sh
fi
if [ $choicea -eq 2 ]
then
./riyu44/countries.sh
fi
if [ $choicea -eq 3 ]
then
./riyu44/numbers.sh
fi
if [ $choicea -eq 4 ]
then
./riyu44/joke.sh
fi
fi
if [ $choice -eq 2 ]
then
echo "What specificaly are you interested in?"
echo "Bored - Let's do something fun, get suggestions - type 1"
echo "Memes - Want to make a fun meme or want to see some memes, let's get started - type 2"
echo "Food - Get a recipe to make your favourite dish - type 3"
echo "cocktail - Let's get brewing trivia, shall we? - type 4"
read -p "Enter your choice: " choiceb
if [ $choiceb -eq 1 ]
then
./TusharApis/BoredAPI.sh
fi
if [ $choiceb -eq 2 ]
then
./TusharApis/meme.sh
fi
if [ $choiceb -eq 3 ]
then
./TusharApis/food.sh
fi
if [ $choiceb -eq 4 ]
then
./TusharApis/cocktail.sh
fi
fi
if [ $choice -eq 3 ]
then
echo "What specificaly are you interested in?"
echo "Catfacts - Let's hear some cat facts - type 1"
echo "Dogfacts - Let's hear some dog facts - type 2"
echo "news - Let's get some news - type 3"
echo "recipe - Let's get some recipes - type 4"
read -p "Enter your choice: " choice1
if [ $choice1 -eq 1 ]
then
./suvarchala-30/Catfact.sh
fi
if [ $choice1 -eq 2 ]
then
./suvarchala-30/dog.sh
fi
if [ $choice1 -eq 3 ]
then
./suvarchala-30/news.sh
fi
if [ $choice1 -eq 4 ]
then
./suvarchala-30/Recipies.sh
fi
fi
if [ $choice -eq 4 ]
then
./codeprakhar/powerstart.sh
fi
if [ $choice -eq 5 ]
then
echo "What specificaly are you interested in?"
echo "Let's play a card game - type 1"
echo "Want to get gisty with dictionary? Let's get started - type 2"
read -p "Enter your choice: " choice2
if [ $choice2 -eq 1 ]
then
./cardgame.sh
fi
if [ $choice2 -eq 2 ]
then
./dictionary.sh
fi
fi