Skip to content

Commit 7c1b808

Browse files
committed
update readme
1 parent 7448b79 commit 7c1b808

1 file changed

Lines changed: 22 additions & 3 deletions

File tree

README.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ A simple API to retrive quotes from **The Passionate Programmer** book.
1818
> https://us-central1-books-quotes-api.cloudfunctions.net/getInfo
1919
2020
```
21-
{"book":"The Passionate Programmer","autors":["Chd Fowler","David Heinemeier Hansson"]}
21+
{
22+
"book":"The Passionate Programmer",
23+
"autors":[
24+
"Chd Fowler",
25+
"David Heinemeier Hansson"
26+
]
27+
}
2228
```
2329

2430
**/getRandomQuote** - get random quote from quotes list
@@ -28,7 +34,10 @@ A simple API to retrive quotes from **The Passionate Programmer** book.
2834
> https://us-central1-books-quotes-api.cloudfunctions.net/getRandomQuote
2935
3036
```
31-
{"tip":"16","quote":"Know/learn Software Development Methodologies"}
37+
{
38+
"tip":"16",
39+
"quote":"Know/learn Software Development Methodologies"
40+
}
3241
```
3342

3443
**/getAllQuotes** - get all quotes from book
@@ -38,7 +47,17 @@ A simple API to retrive quotes from **The Passionate Programmer** book.
3847
> https://us-central1-books-quotes-api.cloudfunctions.net/getAllQuotes
3948
4049
```
41-
[{"tip":"1","quote":"Keep on radar bleeding edge technologies vs sunset technologies"}, ..., {"tip":"53","quote":"Try to go independent (e.g. 2 hours/day after work hours) – how much did you earn?"}]
50+
[
51+
{
52+
"tip":"1",
53+
"quote":"Keep on radar bleeding edge technologies vs sunset technologies"
54+
},
55+
...,
56+
{
57+
"tip":"53",
58+
"quote":"Try to go independent (e.g. 2 hours/day after work hours) – how much did you earn?"
59+
}
60+
]
4261
```
4362

4463
----

0 commit comments

Comments
 (0)