Libraries
SDKs
Official client libraries handle authentication, retries, pagination, and typed responses so you can call any Tuerss API in a few lines. Install the one for your language below.
Available libraries
JavaScript / TypeScriptstable
npm i @tuerss/sdkPythonstable
pip install tuerssGostable
go get github.com/tuerss/tuerss-goRubybeta
gem install tuerssPHPbeta
composer require tuerss/tuerss-phpRustpreview
cargo add tuerssTypeScript
index.ts
import { Tuerss } from "@tuerss/sdk"
const client = new Tuerss({ apiKey: process.env.TUERSS_API_KEY })
const result = await client.geocode.lookup({
address: "350 Fifth Ave, New York, NY",
})
console.log(result.latitude, result.longitude)Python
main.py
from tuerss import Tuerss
client = Tuerss(api_key=os.environ["TUERSS_API_KEY"])
result = client.geocode.lookup(address="350 Fifth Ave, New York, NY")
print(result.latitude, result.longitude)