Using Oxford Speech API in unity - api

I want to integrate the oxford speech recognition API in a project in unity.
The problem is that the source code in the sample use .NET 4 libraries while unity only support until 3.5 (and only until .NET 2 on phones as far as i know)
Did someone found a way to make it work?
Thanks!

The sample code you mention is the SDK sample I believe. The functions that come with the SDK is just wrappers around the actual REST API requests. You don't necessarily need to use them. Instead I suggest you give the REST API itself a try. You can find the info below.
https://www.projectoxford.ai/speech
And here is sample usage for your convenience
API testing console.
One more thing to remember is the Auth token expires every 10 mins so it's a good idea to renew every 9 mins.
Hope this helps!

Related

what is swagger exactly ? And why doesn't the online editor run requests?

I've spent the last few days trying to understand if I should use api blueprint, RAML or swagger.
It looks like swagger has the biggest community but the closer I look the more I feel that it greatly lacks in documentation (I was forced to look at the code many times to try and integrate it with my current project), many github issues and stackoverflow questions are unanswered.
Is it possible that I am missing something here?
All I want is a tool to help me write the API documentation and test the endpoints.
Why must swagger become part of the server logic?? If I create swagger files in the editor and then serve them to the UI directly it breaks..
As far as I can tell it even makes the server slightly slower and forces the existence of many clumsily maintained integrations :p What am I missing here?
We're trying to work a lot on improving the documentation of Swagger. It's a bit more difficult when many of the projects are community-driven and not managed by a single organization.
We actually try to reply to issues on github quickly (we don't always succeed) and we have our own google group for general questions so we follow stackoverflow somewhat less.
The editor you mention is a new tool as part of the work on Swagger 2.0 and it's not final yet. As such, it still have a few bugs and missing features. The UI is also in the process of being adapted to Swagger 2.0 and the same limitations apply to it.
You most certainly don't have to integrate it with your server and you can expose the documentation statically. The advantage of integrating it with the server is that it's easier to maintain if the API changes.
You can try RAML + ramlev + Abao
The steps should be
Write API Spec in RAML with your fav editor, ie. Atom, vim
Validate your RAML with ramlev
Implement the server logic according API Spec
Validate server logic with Abao

How does the Jedi API help in using the Windows API?

I have an idea of what the Jvcl is..it's a set of components and you install them, but what I'm really interested in is the Jedi win32 API conversion stuff. I'm unsure what to do with them or how to use them.
You don't install them do you? Say, for instance, I want to use the API SendInput or similar; how do I find how to use it within Jedi API? Is that what Jedi API is even for?
I've looked all over their site and searched for tutorials with no luck. I even downloaded all the help files I could find but I'm still lost.
The JEDI API is made up of a number of header translations of the Windows API. The Delphi RTL has a good portion of the Windows API translated. This is implemented in a number of units, the main one being the Windows unit.
However, the Delphi header translations are incomplete. What's more each new version of Windows comes with a swathe of new APIs. Embarcadero catches up slowly and in some cases chooses not to translate.
The JEDI API project attempts to be a more complete set of header translations. It is still incomplete, but it has more coverage than the units shipped with Delphi. It is particularly useful if you are using an older version of Delphi where the supplied header translations are very out of date.

Evernote API in Unity3D

Since I haven't got any response on the Unity3d or Evernote forums, I'll try it here.
The last year I have worked a lot with Unity3D, mostly because the good integration with the Vuforia Augmented Reality library and the fact that publishing for multiple platforms is a piece of cake.
Now I want to show notes in an AR setting and am looking at the Evernote API for this. I couldn't find anything about using this with Unity, I can see why this is not the most common combination.
My question is: do you think I can access the Evernote API through Unity? If so, how should I do this? Or is it for this purpose perhaps wiser to make (parts of) the application with Eclipse/xCode?
Hope to hear from you!
Link to Evernote API: http://dev.evernote.com/doc/
The Evernote API has a C# SDK which you should be able to call through Unity. In terms of how to do it, you will probably need to download the SDK and follow the instructions yourself. Their github seems like a good starting point.
One thing to note is that Unity's .Net library for mobile clients are quite limited and with webplayer you will need to deal with sandbox security issues. But start with the standalone build first and see how you go

Does Apple provides any library or API to manipulate the CalDAV?

I want to ask a question about the iPhone application. I am going to write a program which is related to a calendar function. I want to use the CalDAV to do this. However, I am not familiar with the iOS environment. Does the apple provides any library or API for the developers to write the program by manipulating the CalDAV? Thank you very much.
With iOS 4 you can access the users calendar with Event Kit. But you can't directly work with CalDAV. You have to use a third party library for that.

Custom Presence with UCMA 2.0 and OCS 2007

I have recently started working with Unified Communication Managed API 2.0 (UCMA) and Office Communication Server(OCS) 2007. I have a need in my app that I have to create custom presence for my users? Has anyone of you guys done this before and can point me in right direction?
There is not much documentation out there regarding this, so I am struggling here.
Thanks
I've not done any work with the 2.0 API yet, but these posts may be useful for you:
Joe Calev's Weblog (apologies if you've already seen them)
Also, there might be some useful nuggets in here (its V1 but some of the concepts are similar):
UCMA 1.0 Sample app
Ok I got the Answer.
We have to execute couple of stored procedures on OCS side to add those custom presence there.
Then we can publish to those presence just like every other ones!