SDK
SDK 개요
Tomba는 13개 언어용 클라이언트 라이브러리를 관리합니다. 각 라이브러리는 API 참조에 설명된 REST API를 감싸며, 아래 각 페이지에서는 설치, 오류, 속도 제한 데이터, 라이브러리가 제공하는 메서드를 다룹니다.
| 언어 | 패키지 | 설치 | 소스 |
|---|---|---|---|
| C# | NuGet의 Tomba | dotnet add package Tomba | tomba-io/csharp |
| Dart | pub.dev의 tomba | dart pub add tomba | tomba-io/dart |
| Deno | JSR의 @tomba/sdk | deno add jsr:@tomba/sdk | tomba-io/deno |
| Elixir | Hex의 tomba | mix.exs의 {:tomba, "~> 1.0"} | tomba-io/elixir |
| Go | github.com/tomba-io/go | go get github.com/tomba-io/go | tomba-io/go |
| Lua | LuaRocks의 tomba | xml 단계 후 luarocks install tomba | tomba-io/lua |
| Node.js | npm의 tomba | npm install tomba | tomba-io/node |
| Perl | CPAN의 Tomba::Finder | cpanm Tomba::Finder | tomba-io/perl |
| PHP | Packagist의 tomba-io/php | composer require tomba-io/php | tomba-io/php |
| Python | PyPI의 tomba-io | pip install tomba-io | tomba-io/python |
| R | GitHub에서 제공하는 tomba | remotes::install_github("tomba-io/r") | tomba-io/r |
| Ruby | RubyGems의 tomba | gem install tomba | tomba-io/ruby |
| Rust | crates.io의 tomba | cargo add tomba | tomba-io/rust |
모든 라이브러리가 같은 엔드포인트를 지원하지는 않습니다. 각 페이지의 메서드 참조에는 해당 라이브러리가 지원하는 항목이 나와 있으며, 알려진 문제 섹션에는 현재 API에서 작동하지 않는 메서드가 나와 있습니다.
모든 라이브러리는 API 키와 계정 시크릿 키로 인증하며, 이 값은 X-Tomba-Key 및 X-Tomba-Secret 헤더로 전송됩니다. 어떤 라이브러리도 환경 변수를 스스로 읽지 않으므로 코드에서 값을 불러와 클라이언트에 전달합니다. 키 생성과 시크릿 키 복사는 API keys 페이지에서 하며, 만료와 교체는 인증에서 다룹니다.
최종 수정일: