Azure Services For Unity
Unity has a great class to do HTTP requests called UnityWebRequest. It's relatively new but it can be really helpful. Plus, there is another handy class called JsonUtility that assists in JSON serialization/deserialization.
Combine the above two paragraphs and you have a small cross platform library that allows a Unity game easy access Azure Easy Tables (yes, very easy!).
Sample scene points to a Azure web app hosted in a free Azure App Service deployment, so it can take some time to respond in subsequent requests.
For information and usage instructions check here and the demo scene included in the source code.
I've also made some changes to the API compared to the one in the blog post, check here!
- Changes in Easy APIs API (no, that's correct!) so that there are two methods now, one to return a single and one to return multiple results
- Fix for use on Android, check details here: https://github.com/dgkanatsios/AzureServicesForUnity/issues/4
version 0.0.8 (18/8/2016)
- Updated for use with Unity 5.4 (removed "Experimental" from UnityWebRequest namespace)
version 0.0.7 (28/7/2016)
- Fixed a couple of reported issues on OSX and iOS
- Fixed IncludeTotalCount() issue
- Namespace changes, separating Easy Table and Easy APIs
- Target for next version is a *.unitypackage file creation, fingers crossed!
- Fix for issue about OData not working on iOS. Many thanks to Matt Warren for pointing me to a PartialEvaluator solution that does not use Reflection.Emit (check here) and 9 to Friday studio for precious help in debugging.
- Integrated the (much better) official OData query translator from the official App Service .NET client
- Initial commit