rest2mobile

Additional

Language
Ruby
Version
N/A
Created
Sep 5, 2014
Updated
Oct 30, 2014 (Retired)
Owner
Magnet Systems (magnetsystems)
Contributors
magnetdocs
pjaillon
vampserv
miriarm
633squadron
5
Activity
Badge
Generate
Download
Source code

Announcement

Magnet rest2mobile

Magnet rest2mobile generates native code for mobile apps from REST APIs. It turns actual REST requests and responses into source code (Objective-C, Android, and JavaScript) that you can call from your mobile app. The source code automatically handles:

  • server connections
  • marshalling and unmarshalling JSON data
  • JSON data conversion into the native object types

Get Started

rest2mobile provide tools that allow you to generate native Mobile API directly from REST queries, within your IDE, or from the command line. All these tools are freely available on the following github repositories:

How it works

Given REST request/response examples, rest2mobile can infer the entire object model for your requests and responses. The IDE plugins and CLI just ask you to specify the GET/POST/PUT/DELETE REST requests and responses and automatically generates the method and types required to invoke the REST service from your Mobile App.

For instance, see how to use the CLI here. The plugins make it even easier.

You will need to include the right Magnet Mobile SDK in your project:

Feedback

We are constantly adding features and welcome feedback. Please, ask questions or file requests here.

License

Licensed under the [Apache License, Version 2.0] license (the "License"); you may not use this software except in compliance with the License.

Copyright

Copyright © 2014 Magnet Systems, Inc. All rights reserved.