BarcelonaVapor is a framework that integrates with the Vapor Swift web server library, and provides routes, middleware, authentication, and more, providing for generic but full iMessage use via HTTP. It is based on CoreBarcelona. It also comes with imcore-rest, which is a feature-complete project that can start the server for you.
If you just want to start the HTTP server, see this document:
<aside> 👉 Heads up! MyMessage supports the iOS 14 features such as inline replies, but this documentation does not reflect those APIs yet. You can inspect the source code if you would like to find out about these APIs, or use the paw file included on the repo.
</aside>
You'll want to take a look at the ‣ first, to familiarize yourself with the structures used throughout the rest of the API.
After reading through the core types, you'll want to read through the ‣ documentation to see all the different types of items that exist. This list may grow! There's still some items I haven't implemented
Once you understand all of the different types, you'll want to look through our ‣ to see how you can interact with iMessage. Also, our ‣ allows you to stream notifications for a swath of events.
If you use Paw, you can play around with the API using this file: