From 9e15ccd53a40600ff662b3c3ef39a69c0c88070b Mon Sep 17 00:00:00 2001 From: Kat Gill <109633947+Thatskat@users.noreply.github.com> Date: Fri, 30 Jun 2023 15:34:30 +1000 Subject: [PATCH] finished initial read me documentation --- README.md | 56 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 33 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 411634b..d1317c7 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,32 @@ -South Aprk API Header +![](https://github.com/Thatskat/southpark-quotes-api/blob/main/public/imgs/southpark-api-header.svg) + + + +

South Park Quotes API

+ -

South Park Quotes API

A pretty simple API to let you retrieve some of the best quotes from South Park, mmkay!

  -
- Southpark API Forks  - Southpark API Stars  - Southpark API Pull Requests +
+ South Park Quotes API Forks  + South Park Quotes API Stars  + South Park Quotes API Pull Requests
-  -

Production Host

-🌐 https://southparkquotes.up.railway.app/ -  -

API

-

GET /v1/quotes

-

Get a random quote:

-https://southparkquotes.up.railway.app/v1/quotes -  + +## Production Host + +🌐 [https://southparkquotes.up.railway.app/](https://southparkquotes.up.railway.app/) + + +## API + + +### `GET /v1/quotes` +Get a random quote: + +> [https://southparkquotes.up.railway.app/v1/quotes](https://southparkquotes.up.railway.app/v1/quotes) + ``` [ @@ -29,10 +38,11 @@ ``` -

GET /v1/quotes/{number}

-

Returns an array of {number} of South Park quotes. E.g. GET /v1/quotes/3 :

-https://southparkquotes.up.railway.app/v1/quotes/3 -  +### `GET /v1/quotes/{number}` +Returns an array of `{number}` South Park quotes. E.g. `GET /v1/quotes/3` + +> [https://southparkquotes.up.railway.app/v1/quotes/3](https://southparkquotes.up.railway.app/v1/quotes/3) + ``` [ @@ -51,8 +61,8 @@ ] ``` -

Contribution

-

Want to add some South Park quotes? All you need to do is simply add them in the quotes.js file and then create a pull request.

+## Contributions +Want to add some South Park quotes? All you need to do is simply add them in the quotes.js file and then create a pull request. -

Credits

-

This quotes API was greatly inspired by Breaking Bad Quotes and Ron Swnson Quotes.

+## Credits +This quotes API was greatly inspired by [Breaking Bad Quotes](https://github.com/shevabam/breaking-bad-quotes) and [Ron Swnson Quotes](https://github.com/jamesseanwright/ron-swanson-quotes).