For bug reports or feature requests, open an issue on the GitHub repository. For general API questions, join the Top.gg Discord server at discord.gg/dbl.
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Top.gg","colors":{"primary":"#ff3366","light":"#ffffff","dark":"#070510"},"logo":{"light":"https://mintcdn.com/topgg/gdgFOFBVG_QEe4e1/images/logo-light.svg?fit=max\u0026auto=format\u0026n=gdgFOFBVG_QEe4e1\u0026q=85\u0026s=698e583680a834d8a166a4e378c5f6c3","dark":"https://mintcdn.com/topgg/gdgFOFBVG_QEe4e1/images/logo-dark.svg?fit=max\u0026auto=format\u0026n=gdgFOFBVG_QEe4e1\u0026q=85\u0026s=0fc4c68c6e6b2753bd3f8f3ed40cd199","href":"https://docs.top.gg"},"favicon":"https://mintcdn.com/topgg/gdgFOFBVG_QEe4e1/images/logo-light.svg?fit=max\u0026auto=format\u0026n=gdgFOFBVG_QEe4e1\u0026q=85\u0026s=698e583680a834d8a166a4e378c5f6c3","api":{"openapi":"https://top.gg/api/v1/openapi/spec.json"},"background":{"decoration":"gradient","color":{"dark":"#070510"}},"navbar":{"primary":{"type":"github","href":"https://github.com/top-gg"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"topgg","hasAudioNarration":false,"actualSubdomain":"topgg","customDomains":["docs.top.gg"],"gitSource":{"type":"github","owner":"top-gg","repo":"developer-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a972de97804c4ae63e3df0c","collectionId":"ed862889-aaf6-4caf-9230-d723f0f12000","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6a972de97804c4ae63e3df0c"},"feedback":{"thumbs":true,"edits":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a972de97804c4ae63e3df0c","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"Documentation","count":18},{"language":"default","tag":"API Reference","count":11},{"language":"default","tag":"v1 API","count":8},{"language":"default","tag":"Libraries","count":8},{"language":"default","tag":"OAuth","count":4},{"language":"default","tag":"Legacy v0 API","count":3},{"language":"default","tag":"Webhooks","count":3},{"language":"default","tag":"Get Started","count":2},{"language":"default","tag":"Resources","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@top.gg","showHelpButton":true}},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"69e21ee583d79df37e044b85","deploymentId":"69dec376eafc826ab8500799","questionText":"How do I verify a vote?","status":"active","generatedBy":"manual","createdAt":"2026-04-17T11:52:05.896Z","updatedAt":"2026-04-17T11:52:05.896Z","__v":0},{"_id":"69e21ed083d79df37e044ad7","deploymentId":"69dec376eafc826ab8500799","questionText":"How do I receive a webhook?","status":"active","generatedBy":"manual","createdAt":"2026-04-17T11:51:44.272Z","updatedAt":"2026-04-17T11:51:44.272Z","__v":0},{"_id":"69e21ec883d79df37e044a91","deploymentId":"69dec376eafc826ab8500799","questionText":"How do I post my server count?","status":"active","generatedBy":"manual","createdAt":"2026-04-17T11:51:36.947Z","updatedAt":"2026-04-17T11:51:36.947Z","__v":0}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"libraries/ruby","slug":"/libraries/ruby","pageMetadata":{"title":"Top.gg Ruby SDK: Community Library","sidebarTitle":"Ruby","description":"A community-maintained Ruby gem for the Top.gg API. Post bot stats, retrieve bot listings, and query Top.gg user data from your Ruby application.","href":"/libraries/ruby"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"A community-maintained Ruby gem for the Top.gg API. Post bot stats, retrieve bot listings, and query Top.gg user data from your Ruby application.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Heading}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The Top.gg Ruby SDK is a community-maintained gem that wraps the Top.gg REST API for Ruby applications. It is not maintained by the Top.gg core team.`}),`\n`,_jsx(Heading,{level:`2`,id:`installation`,children:`Installation`}),`\n`,_jsx(_components.p,{children:`Install the gem directly:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`gem`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` topgg`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Or add it to your `,_jsx(_components.code,{children:`Gemfile`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`ruby`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`ruby`,children:_jsxs(_components.code,{language:`ruby`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`gem `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'topgg'`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Then run:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`bundle`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Require the gem in your code:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`ruby`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`ruby`,children:_jsxs(_components.code,{language:`ruby`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`require`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'topgg'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`community-and-support`,children:`Community and support`}),`\n`,_jsxs(_components.p,{children:[`For bug reports or feature requests, open an issue on the `,_jsx(_components.a,{href:`https://github.com/top-gg/ruby-sdk`,children:`GitHub repository`}),`. For general API questions, join the Top.gg Discord server at `,_jsx(_components.a,{href:`https://discord.gg/dbl`,children:`discord.gg/dbl`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Top.gg Ruby SDK: Community Library","sidebarTitle":"Ruby","description":"A community-maintained Ruby gem for the Top.gg API. Post bot stats, retrieve bot listings, and query Top.gg user data from your Ruby application.","href":"/libraries/ruby"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Installation","slug":"installation","depth":2,"children":[]},{"title":"Community and support","slug":"community-and-support","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"topgg","siteName":"Top.gg","title":"Top.gg Ruby SDK: Community Library - Top.gg","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-17T10:40:36.575Z","originalFileLocation":"libraries/ruby.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"A community-maintained Ruby gem for the Top.gg API. Post bot stats, retrieve bot listings, and query Top.gg user data from your Ruby application.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Top.gg\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/topgg/kW0rCpw9qo0XekdR/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/topgg/kW0rCpw9qo0XekdR/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/topgg/kW0rCpw9qo0XekdR/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/topgg/kW0rCpw9qo0XekdR/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/topgg/kW0rCpw9qo0XekdR/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/topgg/kW0rCpw9qo0XekdR/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/topgg/kW0rCpw9qo0XekdR/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/topgg/kW0rCpw9qo0XekdR/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/topgg/kW0rCpw9qo0XekdR/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Top.gg Ruby SDK: Community Library - Top.gg\">\u003cmeta data-mint-head property=\"og:description\" content=\"A community-maintained Ruby gem for the Top.gg API. Post bot stats, retrieve bot listings, and query Top.gg user data from your Ruby application.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Top.gg\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.top.gg/libraries/ruby\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://topgg.mintlify.app/_mintlify/api/og/v2?division=Libraries\u0026amp;title=Top.gg+Ruby+SDK%3A+Community+Library\u0026amp;description=A+community-maintained+Ruby+gem+for+the+Top.gg+API.+Post+bot+stats%2C+retrieve+bot+listings%2C+and+query+Top.gg+user+data+from+your+Ruby+application.\u0026amp;theme=3411de4495cad5aa5f9d4aff\u0026amp;signature=949fc7e5be4edbbec98863e33fa0f558fe2d82a4140a9b7453afb33143ff598a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Top.gg Ruby SDK: Community Library - Top.gg\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"A community-maintained Ruby gem for the Top.gg API. Post bot stats, retrieve bot listings, and query Top.gg user data from your Ruby application.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://topgg.mintlify.app/_mintlify/api/og/v2?division=Libraries\u0026amp;title=Top.gg+Ruby+SDK%3A+Community+Library\u0026amp;description=A+community-maintained+Ruby+gem+for+the+Top.gg+API.+Post+bot+stats%2C+retrieve+bot+listings%2C+and+query+Top.gg+user+data+from+your+Ruby+application.\u0026amp;theme=3411de4495cad5aa5f9d4aff\u0026amp;signature=949fc7e5be4edbbec98863e33fa0f558fe2d82a4140a9b7453afb33143ff598a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/topgg/kW0rCpw9qo0XekdR/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Top.gg\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#ff3366\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.top.gg/libraries/ruby\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/libraries/ruby.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.top.gg/#organization\",\"name\":\"Top.gg\",\"url\":\"https://docs.top.gg\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/topgg/gdgFOFBVG_QEe4e1/images/logo-light.svg?fit=max\u0026auto=format\u0026n=gdgFOFBVG_QEe4e1\u0026q=85\u0026s=698e583680a834d8a166a4e378c5f6c3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.top.gg#website\",\"name\":\"Top.gg\",\"url\":\"https://docs.top.gg\",\"publisher\":{\"@id\":\"https://docs.top.gg/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.top.gg/libraries/ruby#webpage\",\"url\":\"https://docs.top.gg/libraries/ruby\",\"name\":\"Top.gg Ruby SDK: Community Library\",\"description\":\"A community-maintained Ruby gem for the Top.gg API. Post bot stats, retrieve bot listings, and query Top.gg user data from your Ruby application.\",\"dateModified\":\"2026-04-17T10:40:36.575Z\",\"isPartOf\":{\"@id\":\"https://docs.top.gg#website\"},\"breadcrumb\":{\"@id\":\"https://docs.top.gg/libraries/ruby#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.top.gg/libraries/ruby#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Libraries\",\"item\":\"https://docs.top.gg/libraries/javascript\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Top.gg Ruby SDK: Community Library\",\"item\":\"https://docs.top.gg/libraries/ruby\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.top.gg/libraries/ruby#article\",\"headline\":\"Top.gg Ruby SDK: Community Library\",\"name\":\"Top.gg Ruby SDK: Community Library\",\"description\":\"A community-maintained Ruby gem for the Top.gg API. Post bot stats, retrieve bot listings, and query Top.gg user data from your Ruby application.\",\"url\":\"https://docs.top.gg/libraries/ruby\",\"mainEntityOfPage\":{\"@id\":\"https://docs.top.gg/libraries/ruby#webpage\"},\"dateModified\":\"2026-04-17T10:40:36.575Z\",\"publisher\":{\"@id\":\"https://docs.top.gg/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.top.gg#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Top.gg\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Top.gg","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"title":"Top.gg Developer Documentation","href":"/introduction"},{"title":"Authenticate with the Top.gg API","href":"/authentication"}]},{"group":"OAuth","pages":[{"title":"Access Top.gg Projects on Behalf of Users with OAuth","sidebarTitle":"Overview","href":"/oauth/overview"},{"title":"Authorize Users and Obtain OAuth Tokens","sidebarTitle":"Authorization","href":"/oauth/authorization"},{"title":"Act on Every Granted Project with an Application Token","sidebarTitle":"Application token","href":"/oauth/application-token"},{"title":"OAuth Scopes for the Top.gg API","sidebarTitle":"Scopes","href":"/oauth/scopes"}]},{"group":"Webhooks","pages":[{"title":"Receive Vote Notifications with Webhooks","href":"/webhooks/overview"},{"title":"Webhook Event Reference for Top.gg","href":"/webhooks/events"},{"title":"Build Installable Top.gg Integrations","href":"/webhooks/integrations"}]},{"group":"Libraries","pages":[{"title":"Top.gg JavaScript SDK: Stats and Webhooks","sidebarTitle":"JavaScript","href":"/libraries/javascript"},{"title":"Top.gg Python SDK: topggpy Library","sidebarTitle":"Python","href":"/libraries/python"},{"title":"Top.gg .NET Library: DiscordBotsList.Api","sidebarTitle":".NET","href":"/libraries/dotnet"},{"title":"Top.gg Java SDK: Community Library","sidebarTitle":"Java","href":"/libraries/java"},{"title":"Top.gg Go SDK: Community Library","sidebarTitle":"Go","href":"/libraries/go"},{"title":"Top.gg Rust SDK: Community Library","sidebarTitle":"Rust","href":"/libraries/rust"},{"title":"Top.gg PHP SDK: Community Library","sidebarTitle":"PHP","description":"A community-maintained PHP library for the Top.gg API. Post bot stats, retrieve bot listings, and query user data from your PHP application.","href":"/libraries/php"},{"title":"Top.gg Ruby SDK: Community Library","sidebarTitle":"Ruby","href":"/libraries/ruby"}]},{"group":"Resources","pages":[{"title":"Top.gg API Rate Limits and 429 Error Handling","description":"Understand Top.gg API rate limits: 100 requests per second globally and 60 per minute for bot endpoints, with 1-hour blocks on violations.","href":"/resources/rate-limits"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api/v1/introduction"}]}]},"title":"Top.gg Ruby SDK: Community Library - Top.gg","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":[],"chunks":[]}