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

Ruby SDK for Rails and other Ruby applications
				
					gem install grasshopper-sdk


				
			
FEATURES
  • Rails integration
  • Thread-safe
  • Customizable HTTP client

PHP

v2.1.0

PHP SDK for web applications
				
					composer require grasshopper/grasshopper-sdk


				
			
FEATURES
  • PSR-18 compatible
  • Laravel support
  • Robust error handling
file_type_go_black

Go

v1.2.0

Go SDK for high-performance applications
				
					go get github.com/grasshopperlabs/grasshopper-go


				
			
FEATURES
  • Context support
  • Concurrent-safe
  • Well-tested

Java

v2.0.1

Java SDK for Android and enterprise applications
				
					implementation 'io.grasshopperlabs:grasshopper-sdk:2.0.1'


				
			
FEATURES
  • Android support
  • Spring integration
  • Modular design
Community SDKs

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.