SDKs
SDK overview
Tomba maintains client libraries for 13 languages. Each one wraps the REST API described in the API reference, and each page below covers installation, errors, rate limit data, and the methods the library provides.
| Language | Package | Install | Source |
|---|---|---|---|
| C# | Tomba on NuGet | dotnet add package Tomba | tomba-io/csharp |
| Dart | tomba on pub.dev | dart pub add tomba | tomba-io/dart |
| Deno | @tomba/sdk on JSR | deno add jsr:@tomba/sdk | tomba-io/deno |
| Elixir | tomba on Hex | {:tomba, "~> 1.0"} in mix.exs | tomba-io/elixir |
| Go | github.com/tomba-io/go | go get github.com/tomba-io/go | tomba-io/go |
| Lua | tomba on LuaRocks | luarocks install tomba, after the xml step | tomba-io/lua |
| Node.js | tomba on npm | npm install tomba | tomba-io/node |
| Perl | Tomba::Finder on CPAN | cpanm Tomba::Finder | tomba-io/perl |
| PHP | tomba-io/php on Packagist | composer require tomba-io/php | tomba-io/php |
| Python | tomba-io on PyPI | pip install tomba-io | tomba-io/python |
| R | tomba, from GitHub | remotes::install_github("tomba-io/r") | tomba-io/r |
| Ruby | tomba on RubyGems | gem install tomba | tomba-io/ruby |
| Rust | tomba on crates.io | cargo add tomba | tomba-io/rust |
The libraries don't all cover the same endpoints. Each page's method reference lists what its library supports, and a known issues section lists any methods that don't work against the current API.
Every library authenticates with an API key and your account secret, sent as the X-Tomba-Key and X-Tomba-Secret headers. None of them reads environment variables on its own: load the values in your code and pass them to the client. Create keys and copy your secret on the API keys page; expiry and rotation are covered in Authentication.
Last modified on