Screaming Fist

Screaming Fist

Joined
Jul 31, 2015

Activity Stream

Screaming Fist created a Page  -  Aug 01, 2015
285 

I was searching for a quick way to compare two date & times to determine which was newer but was unable to find anything easily modifiable. I cobbled this code together and it seems to work just fine. I'm sure there is a better way to do it but I am pretty new to this. Any questions or suggestions please let me know.

  1 Thread   mIRC  
Screaming Fist commented on a Page, JSON for MIRC  -  Jul 31, 2015

I've trying to use the Google URL shortener API: https://developers.google.com/url-shortener/v1/getting_started to shorten URL's before posting them but I cant seem to get a response back. Any and all help would be appreciated.

jsonopen -uw surl https://www.googleapis.com/urlshortener/v1/url?key=[API KEY]
jsonurlmethod surl POST
jsonurlget surl "longUrl": "http://www.google.com"
echo -a $json(surl).UrlResponse
jsonurlclose

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.