All URIs are relative to https://localhost/api
Method | HTTP request | Description |
---|---|---|
get_userinfo | GET /userinfo/ | Get the user's language code and country based upon IP |
UserInfo get_userinfo(opts)
Get the user's language code and country based upon IP
IP-based user info lookup
api = GootenApiClient::UserinfoApi.new
opts = {
language_code: "language_code_example" # [String] Two-character language code, if known at the time.
}
begin
result = api.get_userinfo(opts)
rescue GootenApiClient::ApiError => e
puts "Exception when calling get_userinfo: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
language_code | String | Two-character language code, if known at the time. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json