Today we’re releasing a networking library for Swift/Obj-C that we’ve been using for the past half year. It’s called PMHTTP, and it focuses on REST APIs and JSON (using PMJSON), though not exclusively. It was designed for Swift first, but with full Obj-C compatibility.
We're proud to announce that we've released a Postmates extension into the Magento Connect marketplace.
This past weekend we traveled to Caltech's campus in sunny Pasadena to hack alongside 500 of the best and brightest at HackTech.
Today we're releasing PMJSON, a new Swift library for JSON encoding/decoding. It features an
encoder and decoder written in Swift with no Foundation dependencies, a whole suite of accessors for
working with the resulting
JSON type, and some convenience methods for converting to/from
plist-compatible objects. We're already using it internally, and we're releasing it publicly today
because we think it's ready to be used by other people.
We're excited to unveil a new section of our developer site that showcases some of our favorite partner integrations.
Last weekend, we attended the 13th semi-annual hackathon PennApps. Over 1200 students from all over the country braved one of Philadelphia's largest blizzards in history.
We’re excited to announce a new tool that enables developers and merchants to create deliveries from their Partner Dashboard.
Postmates Push is a web client built on the Postmates API, so it allows you to simply move physical goods between two locations within our delivery zones. For more information about how our API works, check out our Docs.
A few of our partners have requested the geometries of our zones so they can show their users where our Postmates deliver. Today we launched an endpoint that does just that.
You can see the documentation here.
Each zone is returned as a GeoJSON FeatureCollection with a
Point for the map center and a
Multipolygon for the geometry of the zone.
We also created a sample Node.js app that shows you how to the zones on a map:
You can try it out on Github.
Spinlocks are a pretty simple synchronization construct, right? In this post we'll explain what spinlocks are, how they work, and why they're fundamentally unsafe on iOS.
But first, we're also announcing the release of a new open-source Swift/Obj-C library that provides a more modern API on top of KVO called PMKVObserver. This library is MIT licensed, supports iOS, OS X, watchOS, and tvOS, is fully thread-safe (including canceling concurrently from several threads at once), automatically unregisters itself when the observed object deallocates, and uses strong typing in the Swift API. If you write Swift or Obj-C apps and use KVO, I encourage you to check out the library, see the sample code, and maybe even use it in your app.
You may be wondering what this announcement has to do with spinlocks. Well, two days before releasing the library, I rewrote it to not use spinlocks after learning the very things I'm going to be talking about.
Once you've signed up for a Postmates developer account, the next step is to use your test API key to make requests to the API. If you're unfamilair with the command line, and want to get started right away, Postman is the way to go.
In this tutorial, I'll show you how to get up and running with Postman in 5 minutes.
Last weekend, we participated in one of the largest collegiate hackathons in the Midwest: Wildhacks 2015. The wonderful student organizers invited us, along with 500 students from all over the country to the frosty Northwestern University campus to build, hack, and learn together.
Machine Learning is rapidly becoming a required and critical component of engineering organizations across the tech industry. From movie recommendation algorithms to self-driving cars, it is clearly an exciting and compelling field. Companies are hiring armies of Machine Learning researchers to solve difficult problems like voice and object recognition.
What does this all mean to the average software engineer? In many cases, extremely specialized knowledge is necessary to outperform existing state-of-the-art systems. It should not be expected that just anyone can easily build a seven-layer neural network to solve any old problem.
When we think of delivering items, we usually think of going from point A to point B.
It’s a simple concept and is familiar to anyone taking a taxi or a Lyft or Uber. The driver goes to point A, then proceeds to point B. Two legs in the route.
Last weekend, a group of engineers from Postmates traveled to Philadelphia where we sponsored PennApps, a three-day hackathon for college students across the country. The event gives young developers a chance to try out new technologies and build awesome apps in the process.
Today, we’re releasing the first version of our Postmates Delivery API. Using our API, you can connect your software to the real world in a way that simply hasn’t been possible before. With a few simple HTTP requests our on-demand fleet of couriers will move your items around your city.