Tim Dietrich

Custom Software Developer

Home Services Portfolio Blog About Contact Newsletter

FM EasyAPI v2: REST APIs for FileMaker Databases

Over the past few days, I've been working on two interesting projects. Both projects involve developing custom iOS apps that pull data from hosted FileMaker databases. One project is for a client (a private B2B app) while the other is my first public (B2C) app. Both apps are being developed using Swift and FM EasyAPI.

I developed FM EasyAPI a few months ago to make it easy to create REST APIs for databases hosted with FileMaker Server. It was developed very, very quickly - and I think it shows. While FM EasyAPI does make developing APIs easy (I built one this week in about an hour), it lacks some of key functionality that is needed to build more robust APIs. For example, it doesn't support anything other than GET requests, and has no support for API versioning.

So this week, while working on the native iOS apps, I took some time to refactor and enhance FM EasyAPI. I'm planning to release it as FM EasyAPI v2.0 sometime in November.

Here are some of the new features of FM EasyAPI v2.0:
Support for POST, PUT, PATCH, and DELETE methods. So you can use EasyAPI to not only retrieve records, but to add, update, and delete records as well.
Support for "skip" and "max" request parameters. This makes it easy to retrieve large recordsets in batches, which reduces stress on the server, and improves performance of your application.
Support for API versioning. You can easily add support for new versions of your API, while maintaining support for prior versions should you choose to do so.

If you are interested in FM EasyAPI v2, please signup for my newsletter. And if you'd like to check out the first version of FM EasyAPI, you can find it here: http://timdietrich.me/fmeasyapi/