Tado API Guide - updated for 2019

by @edent | # # # # # | Read ~265 times.
Debug screen of a web browser.

Tado is a brilliant smart thermostat. But their API is very poorly documented. This is an updated guide for 2019. I am indebted to Stephen C Phillips' original documentation. Getting started You will need: A Tado (duh!) Your Username (usually your email address) Your Password A Client Secret Getting the client secret I'm using this… Continue reading →

Using the WordPress mShots Screenshot API

by @edent | # # # | 5 comments | Read ~421 times.
The Logo for WordPress

A few years ago, I wrote about Google's secret screenshot API - a slightly cumbersome way to take website screenshots for free. There's another service which you may find simpler to use - mShots from WordPress. Here's how it works: Take any website link: https://twitter.com/JennyVass/status/1067855777040338944 URL Encode it: https%3A%2F%2Ftwitter.com%2FJennyVass%2Fstatus%2F1067855777040338944 Add it to the end of… Continue reading →

Extracting your data from Untappd

by @edent | # # # # # # | 2 comments | Read ~319 times.

I rate every pint I taste using the Untappd app. Think of it like TripAdvisor for lager, stout, cider, bitter, and all manner of other beery goodness. Seriously, I've reviewed over 600 different drinks Recently, I decided to see if I could self-host my beer check-ins. The first step - extracting my own data from… Continue reading →

Easy guide to building Mastodon bots

by @edent | # # # | 6 comments | Read ~1,420 times.
API keys.

Twitter is dead! Long live Mastodon! I've written lots of 'bots for Twitter - and been part of their developer outreach programme. Lots of us have politely requested improvements to the bot experience on Twitter, but to no avail. So, today I'm going to show you how to quickly and easily write your first Mastodon-bot.… Continue reading →

Renault's Secret Mileage API

by @edent | # # # # # # | 1 comment | Read ~392 times.
Website showing my car and its mileage

Last year I reverse engineered Renault's Electric Car API. One of the curious omissions was mileage - it just doesn't appear there. However! All is not lost. If you log in to your Renault Account - https://www.renault.co.uk/my-account/my-car.html - you'll get details back about your car including its make, model, date of next service, and mileage!… Continue reading →

Solar Battery and Alexa - in 30 lines of code

by @edent | # # # # # # # | Read ~116 times.
A list of phrases used to activate the device

Amazon Alexa is a fun little bit of kit. But it can be tricky getting it to work with all your smart devices. Not every company has an Alexa skill - just like not every company has an app. Using Flask-Ask it is possible to bring Alexa smarts to a range of previously mute devices.… Continue reading →

Alexa - what bin day is it?

by @edent | # # # # # # | 2 comments | Read ~730 times.

Bin day is the most magical time of the week! Children of all ages cry "Which bins is it?! Oh! Which bins?" Is today recycling day? Or green waste day? Or humble landfill day? Should my food caddy go out? Gosh! Who can keep track? I mean, obviously I could look at my calendar. Or… Continue reading →

Visualising Twitter Conversations in 2D Space

by @edent | # # | 1 comment | Read ~1,871 times.

Update! The source-code for this app can be found at https://github.com/edent/TweeView Many years ago, I created a threaded conversation viewer for fledgling social network App.net. It was a unique way to flow through a conversation without having to be constrained by the linear vertical scroll of the typical web browser. App.net died - and I… Continue reading →

Easy APIs Without Authentication

by @edent | # # # # | 15 comments | Read ~46,418 times.

This is a curated list of APIs which do not require usernames, passwords, access tokens, signing, accept-headers, or anything more complicated than sticking a URL in a browser. (This is an update to my post from two years ago.) When I introduce people to the concept of using RESTful APIs, they immediately get how powerful… Continue reading →

Displaying WordPress Posts' JetPack Statistics Using stats_get_csv()

by @edent | # # # | Read ~531 times.

Here's a quick way to display how many times a WordPress post has been read. For this, you will need: A blog running WordPress. The JetPack plugin installed. The ability to edit your themes. Here's the snippet of code I'm using to add "This post has been read 12,345 times". I'll explain how it works… Continue reading →