G
gnja.io
HomeBlogProjectsGalleryVideosAbout
System operational
© 2026 gnja.io•About•GitHub•YouTube•RSS
Blog

Blog

6 posts tagged api

Python: Simple Rest API Example and String Formatting
Python

Python: Simple Rest API Example and String Formatting

Rest API / String Formatting in Python My girlfriend has gone on a research trip recently! Normally I wouldn't start my blog posts out that way, however, it's relevant. Her research vessel...

Jun 16, 20173 min read
PowerShell: Fun with Weather Underground's API (part 2)
PowerShell

PowerShell: Fun with Weather Underground's API (part 2)

In the last post we learned how to use Weather Underground's API to resolve a city name and get data back from it. Once we get those two URLs we can use them to get data back from the API.  I...

Feb 9, 20165 min read
PowerShell: Control your LIFX light!
PowerShell

PowerShell: Control your LIFX light!

LET THERE BE LIGHT!This post has been updated on 5/18/17 to reflect changes made to the Lifx API!I stumbled upon the fact that LIFX has an API you can use today. Having found that out I wanted to do...

Feb 7, 20163 min read
PowerShell: Fun with Weather Underground's API (part 1)
PowerShell

PowerShell: Fun with Weather Underground's API (part 1)

Free APIs can be fun!After doing some work with the Victor OPs API, I personally wanted to see what else was out there. I haven't messed with APIs too much in the past, but now I'm all about it. I'm...

Feb 5, 20162 min read
PowerShell Quick Tip: Basic use of the Switch statement
PowerShell

PowerShell Quick Tip: Basic use of the Switch statement

Why use Switch?In PowerShell you can use an if statement to compare things and determine actions based upon the result. You also can use elseif to keep comparing values until you reach a desired...

Feb 3, 20161 min read
PowerShell: Using the VictorOps REST API and PRTG Sensor Output
PowerShell

PowerShell: Using the VictorOps REST API and PRTG Sensor Output

What's it do?I utilized the VictorOps REST API with PowerShell to return data in a user readable format, or to use with PRTG sensors.I wanted a way to display who was currently on call via a PRTG map...

Jan 28, 20163 min read