Show library-specific responses
jboverfelt opened this issue · 1 comments
jboverfelt commented
I think it might be confusing for users to see pure JSON responses under the language-specific library docs. Not sure the best way to do this but it might be better to show what's returned by each library if possible. For example, this function in the rodeo library:
(single "42370 Bob Hope Drive, Rancho Mirage CA")
Returns the following Clojure map:
{:input
{:address_components
{:number "42370",
:street "Bob Hope",
:suffix "Dr",
:city "Rancho Mirage",
:state "CA"},
:formatted_address "42370 Bob Hope Dr, Rancho Mirage, CA"},
:results
[{:address_components
{:number "42370",
:street "Bob Hope",
:suffix "Dr",
:city "Rancho Mirage",
:county "Riverside County",
:state "CA",
:zip "92270"},
:formatted_address "42370 Bob Hope Dr, Rancho Mirage, CA 92270",
:location {:lat 33.738987255507, :lng -116.40833849559},
:accuracy 1}
{:address_components
{:number "42370",
:street "Bob Hope",
:suffix "Dr",
:city "Rancho Mirage",
:county "Riverside County",
:state "CA",
:zip "92270"},
:formatted_address "42370 Bob Hope Dr, Rancho Mirage, CA 92270",
:location {:lat 33.738980796909, :lng -116.40833917329},
:accuracy 0.8}]}
MiniCodeMonkey commented
This is not currently possible. So this issue will be closed for now.