<waxjar>
CM-Punk: i don't understand the question.
<CM-Punk>
In the JSON code for the Google Geo-Lookup there is a value I want to be included in the final result, which is current_summary. I'm trying to grab some info from the JSON API for Google Geo-Lookup and pass it into the final result, namely the full location like "London, United Kingdom"
<zipper>
waxjar: Which gem? I swear I looked for it but could not find it.
<CM-Punk>
Because the weather API doesn't include that information
<CM-Punk>
~part
Keli has left #cinch [#cinch]
<waxjar>
pass it to current_summary?
<waxjar>
zipper, i think its just called lastfm
<CM-Punk>
Right, I don't know exactly how to do that, I have tried several ways but it breaks the plugin
<onewheelskyward>
You're passing back the extracted lat and long number. Just pass back the entire hash and then your other function can use the longname.
<CM-Punk>
But if I do that, it won't find it on forcast.io
<CM-Punk>
Because I'm putting all that has into the url as well
<CM-Punk>
hash
<onewheelskyward>
Yes, I know. So here's what you can do.
<onewheelskyward>
return location from geolookup
<onewheelskyward>
pass "#{location['lat'']},#{location['lng']}" to get_current
<onewheelskyward>
and then you can use location['longname'] for display,.
<onewheelskyward>
That's what I do.
<CM-Punk>
Okay
<CM-Punk>
I'll try that out
urbanslug has quit [Quit: Lost terminal]
newton has quit [Ping timeout: 250 seconds]
<Rickmasta>
So how would I do a authen? check based on a username
<Rickmasta>
a nick*
<Rickmasta>
Search for a user based on a string
swapnasa has quit [Ping timeout: 265 seconds]
krisbulman is now known as [krisbulman]
newton has joined #cinch
<Rickmasta>
Actually, what does authen? check for?
<Rickmasta>
I wonder if it has to do with the server.
<Rickmasta>
It was working fine and identifying those who are authed or not, but I just registered and identified a nick, and it's not showing as authed.
<dominikh>
if you checked the same user perviously, the result will be cached. so User#refresh it