The SlickTrip account
get_accountUse before offering text alerts, or when the traveler asks about their account: name, member since, which alert channels work (text needs a phone verified on the site), the plan and its free limit, and how many fares, stays, seats and bucket lists are watched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | On an error: a machine-readable kind, e.g. unknown_place | |
| name | No | Display name on the account | |
| note | No | Text alerts need verified phone, when unverified | |
| plan | No | "premium" or "free" | |
| No | Signed-in email | ||
| field | No | On unknown_place: which argument (origin, destination, ...) | |
| status | No | ok | error | sign_in_required | |
| message | No | Error or sign-in message from the server wrapper | |
| channels | No | email, text, text_available booleans | |
| watching | No | Counts: flights, hotels, seats, bucket_lists | |
| manage_url | No | slicktrip.com profile page link | |
| suggestions | No | On unknown_place: places to offer the traveler, each with code, name, kind (airport, all airports in the city, nearby airport), city, country | |
| member_since | No | Account creation date YYYY-MM-DD | |
| places_assumed | No | Place names this call resolved on its own, e.g. 'Portland = Portland, OR (PDX)'; tell the traveler | |
| free_limit_per_type | No | Free-tier tracking cap; null on premium |