# sample-apps-leaky-bucket **Repository Path**: mirrors_HubSpot/sample-apps-leaky-bucket ## Basic Information - **Project Name**: sample-apps-leaky-bucket - **Description**: Sample App demonstrating the use of leaky bucket rate limiting for HubSpot API - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-24 - **Last Updated**: 2026-02-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # HubSpot Leaky bucket sample app This is a sample app for the HubSpot [client libraries](https://developers.hubspot.com/docs/api/overview). This app focuses on demonstrating the mechanism (Leaky Bucket) of avoiding of rate limits. It will be useful for you if you don't want to reach rate limit (429 http error). ## How to run locally 1. The first step is to [create a HubSpot developer account](https://developers.hubspot.com/docs/api/developer-tools-overview). This is where you will create and manage HubSpot apps. 2. Next [create an app](https://developers.hubspot.com/docs/api/creating-an-app). On the "App info" tab, You will be prompted to fill out some basic information about your app. This includes name, description, logo, etc. 3. Copy the .env.template file into a file named .env in the folder of the language you want to use. For example: ```bash cp node/.env.template node/.env ``` 5. Paste your HubSpot API Key as the value for HUBSPOT_API_KEY in .env 6. Follow the language instructions on how to run. For example, if you want to run the Node server: ``` cd node # there's a README in this folder with instructions npm install ./bin/cli.js ``` ## Supported languages * [Ruby](ruby/README.md)