Language Translator api in iphone - iphone

As Google Translate API is now paid i found MSTranslateVendor Example as reference.Now as i run this code and create API key and app id it will translate my text but after some time aprox 10 min it's translate functionality will stop. [As i do some r & d for translator,at all most i found this example link as reference]
Now while i create new App Id and key and run application it will works fine but after some time same problem arrives.Please let me know some use full solution or reference to Translate text.

For this Translation you have Two Options
1) You have to register your application and purchase the key (for Google Translate API)
2) Used any Web-service which will translate your word in particular Language and then show their response
I used second option,I create PHP Web-service for translating my word.
Here you may found use full blog for that
usage-google-translator-api-free

After you register with either Google or Bing translate, use FGTranslator to do the heavy lifting for you.

Related

Reverse Engineering an auth code query parameter passed to Play Framework in URL query Parameter

I recently got thrown into a company to do DD on a SaaS solution that needs to generate codes to send invites. Has anyone seen or used this method of passing an API key/auth code? It's using the Play Framework. I don't have access to the play source code, just a compiled binary so I can't even see how the GET request is validated.
Eg:
https://<site.com>/?auth=10002-1644542228446-75ac043770463c36039f29d75304171c
I checked the packages used and there is io.jsonwebtoken.jjwt-0.9.1.jar used but I'm only familiar with passing it as a header "Bearer ". and haven't seen this three segmented formatting. XXXXX-XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Any help would be appreciated. I know it's not a lot to go off but I'm only looking to be pointed at the method used to get started.

Missing Document Providers using Intent.ActionCreateDocument

When I use Intent.ActionOpenDocument as the activity the resulting picker shows all available document providers. When I use Intent.ActionCreateDocument the resulting picker shows a limited subset of document providers. Does anyone know of a method to have the Intent.ActionCreateDocument picker show all document providers?
When OneDrive app is installed it support ACTION_OPEN_DOCUMENT Intent (Android Storage Access Framework (SAF)), but unfortunately it does not support ACTION_CREATE_DOCUMENT intent from the same SAF.Thus we can implement work-around: 1st invoke ACTION_SEND and latter ACTION_OPEN_DOCUMENT.
But this means bad user experience for end user when interacting with OneDrive comparing to doing same action with Google Drive (which support both open and create intents.) As result user would need to select file twice using OneDrive and only once if he use GDrive.

Manatee.Trello: Simple CRUD App for Updating Cards

I need to develop a simple CRUD console app to update a list of Trello cards from a CSV file. I'll run the app in TaskScheduler every night. I've installed #gregsdennis Manatee.Trello packages (impressive code!) but cannot find a single (complete example) of anything like this anywhere. All I've managed to do is auth in with app key and tokedn.
Is there a resource out there that shows simple (full) examples of how to get started? #gregsdennis—the C# libraries are extensive and obviously well thought out—I just need a jump start to get me going. Thanks to all in advance!
Here's the documentation site: https://gregsdennis.github.io/Manatee.Trello/usage/getting-started.html

IBM Watson Assistant - store slot data in custom defined entitiy?

I am using slots in one of my nodes in the dialog of IBM Watson Assistant. The issue is none of system provided entities for slots(sys-person, sys-percentage, sys-number...) does not fit my need.
I need a company name to be saved. So I created my own entity named
#companyName added pattern, and when the user enters value it is recognized by the entity pattern but the data is not saved to the entity.
How can I save the answer the user gives to that question in the my entity #companyName
screenshots:
---
You don't want to save the entity, but its value...:
You would need to check for #companyName.value and save it to the variable $companyName. See this slot using tips in the documentation for IBM Watson Assistant.
This tutorial showing a database-driven chatbot uses patterns to capture data and the code is available. Examine it for some coding examples.
I figured it out!
Everything that I had to do is append .literal in the second screenshot after the Check for: #companyName.
So now the slots part looks like this, and we have the entered value inside the variable $companyName
I found it in the official documentation, more precisely here:
https://cloud.ibm.com/docs/services/assistant/dialog-slots.html#dialog-slots
(under number 4. Add a slot for each unit of required information. For each slot, specify these details)

how does the "#" location tag work?

for better understanding check out this link first: http://sxsw.usehipster.com/questions/where-are-the-best-breakfast-tacos-in-austin
as you can see there, some answers have a reference to a location which is show on the map on the right. A user can do that by adding the “#“ symbol before the location name.
I'd like to know how that works. Did the guys from usehipster.com developed that by themselve or is that maybe a framework I can use too?
cheers
Looks custom-made - i.e. not a framework. Shouldn't be too hard - just scan the entry for #\w+, plug that into Google Local Search (possibly specify the city), and plug the output into a Google Map. See e.g. this for an example of Google Local Search API: http://code.google.com/apis/ajax/playground/?exp=localsearch#the_hello_world_of_local_search