Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Richards committed Nov 23, 2023
2 parents a0a38c3 + e199515 commit abfaf90
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Please note that both the Socket IO server and API run locally (localhost) on th
#

```plain text
GET /api/:sku
GET /items/:sku
```
Retrieves a particular item object from the pricelist using the Stock Keeping Unit (SKU) provided. Item object returned contains the prices for the item.

Expand All @@ -172,7 +172,7 @@ Retrieves a particular item object from the pricelist using the Stock Keeping Un
- Where 5021;6 is the SKU provided and there is an issue with fetching the key price from Prices.tf.
#
```plain text
GET /api/
GET /items/
```
Retrieves the entire pricelist.

Expand All @@ -183,7 +183,7 @@ Retrieves the entire pricelist.
- If there is an issue loading the pricelist.
#
```plain text
POST /api/:sku
POST /items/:sku
```
An endpoint that returns a status code of 200 for each request. Exists so there's no issue in integrating with TF2 Auto Bot.

Expand All @@ -196,7 +196,7 @@ An endpoint that returns a status code of 200 for each request. Exists so there'
- JSON object indicating the SKU.
#
```plain text
POST /api/add/:name
POST /items/add/:name
```
Adds the item to the list of items to auto price.

Expand All @@ -211,7 +211,7 @@ Adds the item to the list of items to auto price.
- If the item already exists in the item list.
#
```plain text
POST /api/delete/:name
POST /items/delete/:name
```
Deletes an item from the list of items to automatically price.

Expand Down

0 comments on commit abfaf90

Please sign in to comment.