diff --git a/docs.json b/docs.json index 08bb83f4f..278bf755a 100644 --- a/docs.json +++ b/docs.json @@ -1031,209 +1031,277 @@ ] }, { - "tab": "Changelog", - "groups": [ - { - "group": "Changelog", - "pages": [ - "changelog" - ] - } - ] - } - ] - }, - { - "product": "XDKs", - "description": "Official Python, TypeScript, Java, and C# SDKs", - "icon": "cubes", - "tabs": [ - { - "tab": "Overview", - "pages": [ - "xdks/overview" - ] - }, - { - "tab": "Python", - "groups": [ + "tab": "XDKs", + "dropdowns": [ { - "group": "Guides", - "pages": [ - "xdks/python/overview", - "xdks/python/install", - "xdks/python/quickstart", - "xdks/python/authentication", - "xdks/python/pagination", - "xdks/python/streaming" + "dropdown": "Overview", + "description": "Compare all 4 official SDKs", + "icon": "cubes", + "groups": [ + { + "group": "Getting Started", + "pages": [ + "xdks/overview" + ] + }, + { + "group": "Official Repositories", + "pages": [ + { + "type": "link", + "title": "Python SDK (GitHub)", + "href": "https://github.com/xdevplatform/xdk-python" + }, + { + "type": "link", + "title": "TypeScript SDK (GitHub)", + "href": "https://github.com/xdevplatform/xdk-typescript" + }, + { + "type": "link", + "title": "Java SDK (GitHub)", + "href": "https://github.com/xdevplatform/xdk-java" + }, + { + "type": "link", + "title": "C# SDK (GitHub)", + "href": "https://github.com/xdevplatform/xdk-csharp" + }, + { + "type": "link", + "title": "SDK Generator (Rust)", + "href": "https://github.com/xdevplatform/xdk" + } + ] + }, + { + "group": "Package Registries", + "pages": [ + { + "type": "link", + "title": "PyPI — xdk", + "href": "https://pypi.org/project/xdk/" + }, + { + "type": "link", + "title": "npm — @xdevplatform/xdk", + "href": "https://www.npmjs.com/package/@xdevplatform/xdk" + }, + { + "type": "link", + "title": "Maven Central — com.x:xdk", + "href": "https://central.sonatype.com/artifact/com.x/xdk" + }, + { + "type": "link", + "title": "NuGet — XDevPlatform.Xdk", + "href": "https://www.nuget.org/packages/XDevPlatform.Xdk" + } + ] + } ] }, { - "group": "Client Reference", - "pages": [ - "xdks/python/reference/overview", - "xdks/python/reference/clients/account", - "xdks/python/reference/clients/account-activity", - "xdks/python/reference/clients/activity", - "xdks/python/reference/clients/articles", - "xdks/python/reference/clients/bots", - "xdks/python/reference/clients/broadcasts", - "xdks/python/reference/clients/calls", - "xdks/python/reference/clients/chat", - "xdks/python/reference/clients/communities", - "xdks/python/reference/clients/community-notes", - "xdks/python/reference/clients/compliance", - "xdks/python/reference/clients/connections", - "xdks/python/reference/clients/direct-messages", - "xdks/python/reference/clients/general", - "xdks/python/reference/clients/lists", - "xdks/python/reference/clients/media", - "xdks/python/reference/clients/news", - "xdks/python/reference/clients/posts", - "xdks/python/reference/clients/spaces", - "xdks/python/reference/clients/stream", - "xdks/python/reference/clients/trends", - "xdks/python/reference/clients/usage", - "xdks/python/reference/clients/users", - "xdks/python/reference/clients/webhooks" - ] - } - ] - }, - { - "tab": "TypeScript", - "groups": [ - { - "group": "Guides", - "pages": [ - "xdks/typescript/overview", - "xdks/typescript/install", - "xdks/typescript/quickstart", - "xdks/typescript/authentication", - "xdks/typescript/pagination", - "xdks/typescript/streaming" + "dropdown": "Python", + "description": "pip install xdk", + "icon": "python", + "groups": [ + { + "group": "Guides", + "pages": [ + "xdks/python/overview", + "xdks/python/install", + "xdks/python/quickstart", + "xdks/python/authentication", + "xdks/python/pagination", + "xdks/python/streaming" + ] + }, + { + "group": "Client Reference", + "pages": [ + "xdks/python/reference/overview", + "xdks/python/reference/clients/account", + "xdks/python/reference/clients/account-activity", + "xdks/python/reference/clients/activity", + "xdks/python/reference/clients/articles", + "xdks/python/reference/clients/bots", + "xdks/python/reference/clients/broadcasts", + "xdks/python/reference/clients/calls", + "xdks/python/reference/clients/chat", + "xdks/python/reference/clients/communities", + "xdks/python/reference/clients/community-notes", + "xdks/python/reference/clients/compliance", + "xdks/python/reference/clients/connections", + "xdks/python/reference/clients/direct-messages", + "xdks/python/reference/clients/general", + "xdks/python/reference/clients/lists", + "xdks/python/reference/clients/media", + "xdks/python/reference/clients/news", + "xdks/python/reference/clients/posts", + "xdks/python/reference/clients/spaces", + "xdks/python/reference/clients/stream", + "xdks/python/reference/clients/trends", + "xdks/python/reference/clients/usage", + "xdks/python/reference/clients/users", + "xdks/python/reference/clients/webhooks" + ] + } ] }, { - "group": "Client Reference", - "pages": [ - "xdks/typescript/reference/overview", - "xdks/typescript/reference/clients/account", - "xdks/typescript/reference/clients/account-activity", - "xdks/typescript/reference/clients/activity", - "xdks/typescript/reference/clients/articles", - "xdks/typescript/reference/clients/bots", - "xdks/typescript/reference/clients/broadcasts", - "xdks/typescript/reference/clients/calls", - "xdks/typescript/reference/clients/chat", - "xdks/typescript/reference/clients/communities", - "xdks/typescript/reference/clients/community-notes", - "xdks/typescript/reference/clients/compliance", - "xdks/typescript/reference/clients/connections", - "xdks/typescript/reference/clients/direct-messages", - "xdks/typescript/reference/clients/general", - "xdks/typescript/reference/clients/lists", - "xdks/typescript/reference/clients/media", - "xdks/typescript/reference/clients/news", - "xdks/typescript/reference/clients/posts", - "xdks/typescript/reference/clients/spaces", - "xdks/typescript/reference/clients/stream", - "xdks/typescript/reference/clients/trends", - "xdks/typescript/reference/clients/usage", - "xdks/typescript/reference/clients/users", - "xdks/typescript/reference/clients/webhooks" + "dropdown": "TypeScript", + "description": "npm i @xdevplatform/xdk", + "icon": "js", + "groups": [ + { + "group": "Guides", + "pages": [ + "xdks/typescript/overview", + "xdks/typescript/install", + "xdks/typescript/quickstart", + "xdks/typescript/authentication", + "xdks/typescript/pagination", + "xdks/typescript/streaming" + ] + }, + { + "group": "Client Reference", + "pages": [ + "xdks/typescript/reference/overview", + "xdks/typescript/reference/clients/account", + "xdks/typescript/reference/clients/account-activity", + "xdks/typescript/reference/clients/activity", + "xdks/typescript/reference/clients/articles", + "xdks/typescript/reference/clients/bots", + "xdks/typescript/reference/clients/broadcasts", + "xdks/typescript/reference/clients/calls", + "xdks/typescript/reference/clients/chat", + "xdks/typescript/reference/clients/communities", + "xdks/typescript/reference/clients/community-notes", + "xdks/typescript/reference/clients/compliance", + "xdks/typescript/reference/clients/connections", + "xdks/typescript/reference/clients/direct-messages", + "xdks/typescript/reference/clients/general", + "xdks/typescript/reference/clients/lists", + "xdks/typescript/reference/clients/media", + "xdks/typescript/reference/clients/news", + "xdks/typescript/reference/clients/posts", + "xdks/typescript/reference/clients/spaces", + "xdks/typescript/reference/clients/stream", + "xdks/typescript/reference/clients/trends", + "xdks/typescript/reference/clients/usage", + "xdks/typescript/reference/clients/users", + "xdks/typescript/reference/clients/webhooks" + ] + } ] - } - ] - }, - { - "tab": "Java", - "groups": [ + }, { - "group": "Guides", - "pages": [ - "xdks/java/overview", - "xdks/java/install", - "xdks/java/quickstart", - "xdks/java/authentication", - "xdks/java/pagination", - "xdks/java/streaming" + "dropdown": "Java", + "description": "com.x:xdk (Maven)", + "icon": "java", + "groups": [ + { + "group": "Guides", + "pages": [ + "xdks/java/overview", + "xdks/java/install", + "xdks/java/quickstart", + "xdks/java/authentication", + "xdks/java/pagination", + "xdks/java/streaming" + ] + }, + { + "group": "Client Reference", + "pages": [ + "xdks/java/reference/overview", + "xdks/java/reference/clients/account", + "xdks/java/reference/clients/account-activity", + "xdks/java/reference/clients/activity", + "xdks/java/reference/clients/articles", + "xdks/java/reference/clients/bots", + "xdks/java/reference/clients/broadcasts", + "xdks/java/reference/clients/calls", + "xdks/java/reference/clients/chat", + "xdks/java/reference/clients/communities", + "xdks/java/reference/clients/community-notes", + "xdks/java/reference/clients/compliance", + "xdks/java/reference/clients/connections", + "xdks/java/reference/clients/direct-messages", + "xdks/java/reference/clients/general", + "xdks/java/reference/clients/lists", + "xdks/java/reference/clients/media", + "xdks/java/reference/clients/news", + "xdks/java/reference/clients/posts", + "xdks/java/reference/clients/spaces", + "xdks/java/reference/clients/stream", + "xdks/java/reference/clients/trends", + "xdks/java/reference/clients/usage", + "xdks/java/reference/clients/users", + "xdks/java/reference/clients/webhooks" + ] + } ] }, { - "group": "Client Reference", - "pages": [ - "xdks/java/reference/overview", - "xdks/java/reference/clients/account", - "xdks/java/reference/clients/account-activity", - "xdks/java/reference/clients/activity", - "xdks/java/reference/clients/articles", - "xdks/java/reference/clients/bots", - "xdks/java/reference/clients/broadcasts", - "xdks/java/reference/clients/calls", - "xdks/java/reference/clients/chat", - "xdks/java/reference/clients/communities", - "xdks/java/reference/clients/community-notes", - "xdks/java/reference/clients/compliance", - "xdks/java/reference/clients/connections", - "xdks/java/reference/clients/direct-messages", - "xdks/java/reference/clients/general", - "xdks/java/reference/clients/lists", - "xdks/java/reference/clients/media", - "xdks/java/reference/clients/news", - "xdks/java/reference/clients/posts", - "xdks/java/reference/clients/spaces", - "xdks/java/reference/clients/stream", - "xdks/java/reference/clients/trends", - "xdks/java/reference/clients/usage", - "xdks/java/reference/clients/users", - "xdks/java/reference/clients/webhooks" + "dropdown": "C#", + "description": "XDevPlatform.Xdk (NuGet)", + "icon": "code", + "groups": [ + { + "group": "Guides", + "pages": [ + "xdks/csharp/overview", + "xdks/csharp/install", + "xdks/csharp/quickstart", + "xdks/csharp/authentication", + "xdks/csharp/pagination", + "xdks/csharp/streaming" + ] + }, + { + "group": "Client Reference", + "pages": [ + "xdks/csharp/reference/overview", + "xdks/csharp/reference/clients/account", + "xdks/csharp/reference/clients/account-activity", + "xdks/csharp/reference/clients/activity", + "xdks/csharp/reference/clients/articles", + "xdks/csharp/reference/clients/bots", + "xdks/csharp/reference/clients/broadcasts", + "xdks/csharp/reference/clients/calls", + "xdks/csharp/reference/clients/chat", + "xdks/csharp/reference/clients/communities", + "xdks/csharp/reference/clients/community-notes", + "xdks/csharp/reference/clients/compliance", + "xdks/csharp/reference/clients/connections", + "xdks/csharp/reference/clients/direct-messages", + "xdks/csharp/reference/clients/general", + "xdks/csharp/reference/clients/lists", + "xdks/csharp/reference/clients/media", + "xdks/csharp/reference/clients/news", + "xdks/csharp/reference/clients/posts", + "xdks/csharp/reference/clients/spaces", + "xdks/csharp/reference/clients/stream", + "xdks/csharp/reference/clients/trends", + "xdks/csharp/reference/clients/usage", + "xdks/csharp/reference/clients/users", + "xdks/csharp/reference/clients/webhooks" + ] + } ] } ] }, { - "tab": "C#", + "tab": "Changelog", "groups": [ { - "group": "Guides", - "pages": [ - "xdks/csharp/overview", - "xdks/csharp/install", - "xdks/csharp/quickstart", - "xdks/csharp/authentication", - "xdks/csharp/pagination", - "xdks/csharp/streaming" - ] - }, - { - "group": "Client Reference", + "group": "Changelog", "pages": [ - "xdks/csharp/reference/overview", - "xdks/csharp/reference/clients/account", - "xdks/csharp/reference/clients/account-activity", - "xdks/csharp/reference/clients/activity", - "xdks/csharp/reference/clients/articles", - "xdks/csharp/reference/clients/bots", - "xdks/csharp/reference/clients/broadcasts", - "xdks/csharp/reference/clients/calls", - "xdks/csharp/reference/clients/chat", - "xdks/csharp/reference/clients/communities", - "xdks/csharp/reference/clients/community-notes", - "xdks/csharp/reference/clients/compliance", - "xdks/csharp/reference/clients/connections", - "xdks/csharp/reference/clients/direct-messages", - "xdks/csharp/reference/clients/general", - "xdks/csharp/reference/clients/lists", - "xdks/csharp/reference/clients/media", - "xdks/csharp/reference/clients/news", - "xdks/csharp/reference/clients/posts", - "xdks/csharp/reference/clients/spaces", - "xdks/csharp/reference/clients/stream", - "xdks/csharp/reference/clients/trends", - "xdks/csharp/reference/clients/usage", - "xdks/csharp/reference/clients/users", - "xdks/csharp/reference/clients/webhooks" + "changelog" ] } ] diff --git a/xdks/overview.mdx b/xdks/overview.mdx index a45573721..3cc4d2464 100644 --- a/xdks/overview.mdx +++ b/xdks/overview.mdx @@ -1,6 +1,6 @@ --- -title: Official XDKs (X Developer Kits) -sidebarTitle: Overview +title: Official XDKs +sidebarTitle: XDKs Overview description: Official, OpenAPI-generated client libraries for the X API v2 in Python, TypeScript, Java, and C# (.NET) with built-in OAuth, pagination, and streaming. keywords: ["XDK", "X SDK", "Python SDK", "TypeScript SDK", "Java SDK", "C# SDK", ".NET SDK", "X API v2", "client libraries"] ---