Automatic PHP API

Screen Shot 2013-10-16 at 9.48.55 PM

I’m a big fan of Automatic. It’s a very cool widget that plugs into your car’s data port and will monitor your driving habits. It tracks your average MPG, alerts you if you accelerate too fast or brake too hard, and rolls all of its data into a simple weekly score – high your score the better you’re driving! It’s a super simple way to reinforce safe driving habits, and improve your fuel efficiency at the same time, very cool!

However, since the product is still so young, there’s no official REST API yet to access all of your own data. I tinker with QS and always want to have access to my data for all of the services I use. I’d love to be able to get my data out of the Automatic service, but since they don’t have an official API, I decided to figure out how the iOS app fetches data and see if I can piggy back on that to download and process my own data.

The result is the Unofficial Automatic PHP API:

// login to Automatic API
$automatic = new Automatic($username, $password);
// fetch trip data between the two input dates
$trips = $automatic->getTrips($start, $end);

The API so far lets you login and get your account and link information, get trip data, and get your weekly scores, information about your car, and even it’s parked location.

One thing to note, the username and password to use when logging into the API are not the same as what you use to login to the app. I’ve documented on the wiki how to find your API username and password.


My upcoming iPad app Loose Leaf!

Loose-Leaf_256I’m extremely excited to announce my upcoming iPad application Loose Leaf! This app is one that has been rattling in my mind for years, and I’ve finally had time to get some code down for it over these past few months, and I’m really excited about the progress.

So what is Loose Leaf?

Loose Leaf is a brainstorming and note taking app that’s ideal for use in a coffee shop meeting. It’s a perfect piece of scratch paper, or loose leaf if you will, ready for your back-of-the-napkin-no-longer doodles to help you get your point across during an informal meeting. You can draw, type, cut or create small scraps of paper, import and annotate images, and quickly export anything meaningful to a more permanent home like Evernote.

Sound like a lot of features? Don’t worry, there are no tap-to-hold popup menus, no overwhelming brush texture properties, no arcane MS-Word-feeling image formatting. Loose Leaf is simple and intuitive, and no more intimidating than a simple sheet of paper.

Loose Leaf is good at one thing – helping you get your idea out and on paper quickly. Loose Leaf maintains the sheet-of-paper metaphor without skeuomorphism. Loose Leaf is fast, simple, fast, and simple.

Want to find out more?

Then sign up at the Loose Leaf App site!

Adonit Jot Touch SDK with Palm Rejection

It’s amazing to think I’ve been on my own for nearly a year, and a busy year it’s been!

Most of my time has been spent on two iOS applications that I hope to announce soon, but I’ve also been fortunate enough to work with the Adonit team on their new iOS SDK. They’ve done an absolutely fantastic job with their Bluetooth connected Jot Touch stylus, and it was a lot of fun to help out with the iOS side of their development efforts.

Their new SDK provides:

  1. Extremely quick setup
  2. Provides 2047 distinct pressure values from the Jot Touch
  3. Advanced Palm Rejection
  4. Works with your gestures, not against them
  5. Easily configure the two stylus shortcut buttons

The latest and greatest Jot Touch 4 is shipping to resellers now. I can confirm this is the best stylus I have ever used, and I’ve tested quite a few! It’s precise, has fantastic battery life, feels like a real pen, connects fast, just feels right in the hand. If you’re an iPad note taker, you owe it to your self to get one of these.

If you’re a developer, clone the new Jot Touch SDK on Github and run the example app. Peek through the Getting Started Guide and spend a few minutes to integrate the SDK into your app!

Google Author link
Page 12 of 50« First...1011121314...203040...Last »