SDKs & Libraries
Ready-to-use client libraries for popular programming languages. Our SDKs make it easy to integrate with the Grasshopper Labs API.
JavaScript
v3.2.1
Official JavaScript SDK for browsers and Node.js applications
npm install grasshopper-sdk
FEATURES
- Promise-based API
- TypeScript support
- Browser and Node.js compatibility
Python
v2.0.0
Python SDK for server-side applications
pip install grasshopper-sdk
FEATURES
- Async support
- Type hints
- Comprehensive error handling
Ruby
v1.5.2
gem install grasshopper-sdk
FEATURES
- Rails integration
- •Thread-safe
- •Customizable HTTP client
PHP
v2.1.0
composer require grasshopper/grasshopper-sdk
FEATURES
- PSR-18 compatible
- Laravel support
- Robust error handling
Go
v1.2.0
go get github.com/grasshopperlabs/grasshopper-go
FEATURES
- Context support
- Concurrent-safe
- Well-tested
Our community has developed additional SDKs for various platforms. While not officially supported, these libraries might be useful for your specific use case.
.NET / C#
Community-maintained SDK for .NET applications
.NET / C#
Community-maintained SDK for .NET applications
.NET / C#
Community-maintained SDK for .NET applications
Getting Started with SDKs
Our SDKs provide language-specific abstractions for the Grasshopper Labs API, making it easier to build applications without having to deal with the complexities of HTTP requests, authentication, and error handling.
Benefits of Using Our SDKs
- Type Safety: Most of our SDKs provide type definitions for request and response payloads.
- Authentication Handling: SDKs handle API key management and authentication for you.
- Error Handling: Standardized error handling with meaningful error messages.
- Rate Limiting: Built-in handling for API rate limits and retries.
- Logging: Configurable logging for debugging and monitoring.
API Consistency
All our SDKs follow a consistent API design, so you can easily switch between different languages if needed. The core functionality works the same way across all supported platforms.
Support and Maintenance
Our official SDKs are actively maintained and updated with new API features as they’re released. If you have any issues or feature requests, please open an issue on the respective GitHub repository.
Where to Go Next
Choose one of our SDKs above to get started, or check out the guides for step-by-step tutorials.