What's new on Tratok Labs
Changes to the API and the dashboard, newest first.
-
Code libraries for JavaScript, Python and PHP
One file each, with no dependencies, made from the API description. Download them from the Code libraries page.
-
Tara: choose the longest answer
taraChat takes a new field, maxTokens, from 200 to 10,000. Before each answer the balance must cover the input plus that length, so a smaller value sets aside less TRAT: about 4 TRAT is enough for a first question with maxTokens 500.
-
Free calls now refill every month
The 1,000 free calls are counted per calendar month and refill on the 1st. Your dashboard shows how many are used, and we email you at 50, 75 and 100 percent.
-
A versioned address, clearer errors and a per-minute limit
Calls now go to /v1/ (the earlier address keeps working). Every answer is labelled as JSON and carries a request id; an error carries a short code and the matching status. Each app may make 120 calls a minute.
-
Try it now, quick start and a run-a-call page
The home page runs a real cruise search without an account. The quick start takes you to a first call in five minutes, and the dashboard can run any method with your own key.
-
Simpler sign-up and a key you can replace
Tratok members can continue with their Tratok account in one tap. The dashboard shows where a key request stands, a key can be replaced if it leaked, and an email warns when your TRAT balance runs low.
-
Corrections to hotel and cruise answers
Hotel answers now give latitude and longitude under the right names. Cruise answers carry catalogueDate, the day the catalogue was last loaded.
-
Cruise search API
Search upcoming sailings by region, cruise line, port, month, length and price, with the ship and its fares.
-
Translation in 44 languages
Translation and language detection now run on the Tara engine, with answers in seconds.
-
Live Tratok listings
New methods search the stays, activities and restaurants listed on Tratok, and apps can let members sign in with Tratok.
