From 9e378728e36e5509c4fe20a9c1a9783d137e9a8d Mon Sep 17 00:00:00 2001 From: Step7750 Date: Sat, 5 Aug 2023 15:15:59 -0600 Subject: [PATCH] Rebrand to CSFloat --- README.md | 8 ++++---- source/index.html.md | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index f65178a..0304219 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

- CSGOFloat + CSFloat

- API Docs + API Docs
Build Status Docker Version @@ -10,9 +10,9 @@ ## Overview -This repo provides documentation on the CSGOFloat APIs including CSGOFloat Market and Inspect endpoints. This is forked from Slate and follows general markdown structure. +This repo provides documentation on the CSFloat APIs including CSFloat Market and Inspect endpoints. This is forked from Slate and follows general markdown structure. -[docs.csgofloat.com](https://docs.csgofloat.com) +[docs.csfloat.com](https://docs.csfloat.com) Feel free to submit PRs or issues if you notice staleness. diff --git a/source/index.html.md b/source/index.html.md index 9ad1b80..6540dbf 100644 --- a/source/index.html.md +++ b/source/index.html.md @@ -19,15 +19,15 @@ code_clipboard: true # Introduction -Welcome to the CSGOFloat API! You can use our API to access CSGOFloat API endpoints such as market listings, inspect link retrieval, and more! +Welcome to the CSFloat API! You can use our API to access CSFloat API endpoints such as market listings, inspect link retrieval, and more! You can view code examples in the dark area to the right, and you can switch the programming language of the examples with the tabs in the top right. # Authentication -CSGOFloat uses API keys to allow access to the API. You can register a new CSGOFloat API key on your [profile](https://csgofloat.com/profile) under the "developer" tab. +CSFloat uses API keys to allow access to the API. You can register a new CSFloat API key on your [profile](https://csfloat.com/profile) under the "developer" tab. -CSGOFloat API expects for the API key to be included in most API requests. Endpoints that require an API Key will state so. The authorization header should look like the following: +CSFloat API expects for the API key to be included in most API requests. Endpoints that require an API Key will state so. The authorization header should look like the following: `Authorization: ` @@ -40,7 +40,7 @@ You must replace <API-KEY> with your personal API key. ## Get All Listings ```shell -curl "https://csgofloat.com/api/v1/listings" +curl "https://csfloat.com/api/v1/listings" ``` > The above command returns JSON structured like this: @@ -115,11 +115,11 @@ curl "https://csgofloat.com/api/v1/listings" ] ``` -This endpoint retrieves all active listings on CSGOFloat Market. +This endpoint retrieves all active listings on CSFloat Market. ### HTTP Request -`GET https://csgofloat.com/api/v1/listings` +`GET https://csfloat.com/api/v1/listings` ### Query Parameters @@ -146,7 +146,7 @@ stickers | | Must be in the form: ID|POSITION?[,ID|POSITION?...] ## Get a Specific Listing ```shell -curl "https://csgofloat.com/api/v1/listings/324288155723370196" +curl "https://csfloat.com/api/v1/listings/324288155723370196" ``` > The above command returns JSON structured like this: @@ -222,7 +222,7 @@ This endpoint retrieves the details for a specific listing, regardless of whethe ### HTTP Request -`GET https://csgofloat.com/api/v1/listings/` +`GET https://csfloat.com/api/v1/listings/` ### URL Parameters @@ -233,7 +233,7 @@ ID | The ID of the listing to retrieve ## List an item ```shell -curl -X POST "https://csgofloat.com/api/v1/listings" \ +curl -X POST "https://csfloat.com/api/v1/listings" \ -H "Authorization: ; Content-Type: application/json" \ -d '{"asset_id": 21078095468, "type": "buy_now", "price": 8900, "description": "Just for show", "private": false}' ``` @@ -341,7 +341,7 @@ This endpoint lists the item specified by `asset_id`. Requires an authorization ### HTTP Request -`POST https://csgofloat.com/api/v1/listings` +`POST https://csfloat.com/api/v1/listings` ### Body Parameters