diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index e96c6bb..4e23cb8 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -28,15 +28,19 @@ export default defineConfig({ {text: 'Getting Started', link: '/guide/getting-started'}, ] }, - { - text: 'Endpoints (Coming Soon)', - items: [] - }, + { text: 'Query Builder', items: [ {text: 'Methods', link: '/query-builder/methods'}, ] + }, + { + text: 'API', + items: [ + {text: 'Endpoints', link: '/api/endpoints'}, + {text: 'Wiki', link: '/api/wikis'}, + ] } ], diff --git a/docs/api/endpoints.md b/docs/api/endpoints.md new file mode 100644 index 0000000..2cefc32 --- /dev/null +++ b/docs/api/endpoints.md @@ -0,0 +1,85 @@ +# Endpoints + +The following PHP code defines an `Endpoint` class that encapsulates various constants representing different endpoints related to specific aspects of esports data. Similar to the `Wiki` class for Liquipedia API wikis, the `Endpoint` class provides a convenient way to access and reference the available endpoints. + +## Usage + +```php +