# SDK 概览

Tomba 维护适用于 13 种语言的客户端库。每个库都封装了 [API 参考](/api)中描述的 REST API，下面的每个页面都介绍了安装、错误、速率限制数据以及该库提供的方法。

| 语言                                 | 包                                                                   | 安装                                                                               | 源代码                                                |
| ---------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [C#](/libraries/csharp-email-finder)     | NuGet 上的 [Tomba](https://www.nuget.org/packages/Tomba)                    | `dotnet add package Tomba`                                                            | [tomba-io/csharp](https://github.com/tomba-io/csharp) |
| [Dart](/libraries/dart-email-finder)     | pub.dev 上的 [tomba](https://pub.dev/packages/tomba)                        | `dart pub add tomba`                                                                  | [tomba-io/dart](https://github.com/tomba-io/dart)     |
| [Deno](/libraries/deno-email-finder)     | JSR 上的 [@tomba/sdk](https://jsr.io/@tomba/sdk)                            | `deno add jsr:@tomba/sdk`                                                             | [tomba-io/deno](https://github.com/tomba-io/deno)     |
| [Elixir](/libraries/elixir-email-finder) | Hex 上的 [tomba](https://hex.pm/packages/tomba)                             | `mix.exs` 中的 `{:tomba, "~> 1.0"}`                                                     | [tomba-io/elixir](https://github.com/tomba-io/elixir) |
| [Go](/libraries/go-email-finder)         | [github.com/tomba-io/go](https://pkg.go.dev/github.com/tomba-io/go/tomba) | `go get github.com/tomba-io/go`                                                       | [tomba-io/go](https://github.com/tomba-io/go)         |
| [Lua](/libraries/lua-email-finder)       | LuaRocks 上的 [tomba](https://luarocks.org/modules/benemohamed/tomba)       | 先完成 [`xml` 步骤](/libraries/lua-email-finder#install)，再运行 `luarocks install tomba` | [tomba-io/lua](https://github.com/tomba-io/lua)       |
| [Node.js](/libraries/node-email-finder)  | npm 上的 [tomba](https://www.npmjs.com/package/tomba)                       | `npm install tomba`                                                                   | [tomba-io/node](https://github.com/tomba-io/node)     |
| [Perl](/libraries/perl-email-finder)     | CPAN 上的 [Tomba::Finder](https://metacpan.org/pod/Tomba::Finder)           | `cpanm Tomba::Finder`                                                                 | [tomba-io/perl](https://github.com/tomba-io/perl)     |
| [PHP](/libraries/php-email-finder)       | Packagist 上的 [tomba-io/php](https://packagist.org/packages/tomba-io/php)  | `composer require tomba-io/php`                                                       | [tomba-io/php](https://github.com/tomba-io/php)       |
| [Python](/libraries/python-email-finder) | PyPI 上的 [tomba-io](https://pypi.org/project/tomba-io/)                    | `pip install tomba-io`                                                                | [tomba-io/python](https://github.com/tomba-io/python) |
| [R](/libraries/r-email-finder)           | tomba，从 GitHub 获取                                                        | `remotes::install_github("tomba-io/r")`                                               | [tomba-io/r](https://github.com/tomba-io/r)           |
| [Ruby](/libraries/ruby-email-finder)     | RubyGems 上的 [tomba](https://rubygems.org/gems/tomba)                      | `gem install tomba`                                                                   | [tomba-io/ruby](https://github.com/tomba-io/ruby)     |
| [Rust](/libraries/rust-email-finder)     | crates.io 上的 [tomba](https://crates.io/crates/tomba)                      | `cargo add tomba`                                                                     | [tomba-io/rust](https://github.com/tomba-io/rust)     |

各个库覆盖的端点并不完全相同。每个页面的方法参考列出了该库支持的内容，已知问题部分则列出了在当前 API 下无法使用的方法。

每个库都使用 API 密钥和您账户的 Secret 进行认证，二者分别作为 `X-Tomba-Key` 和 `X-Tomba-Secret` 请求头发送。这些库都不会自行读取环境变量：请在代码中加载这些值并传给客户端。在 [API keys](https://app.tomba.io/api) 页面创建密钥并复制您的 Secret；到期和轮换请参阅[认证](/authentication)。
