Language Translation API for iPhone - iphone

I want to implement language translation feature in my iPhone app,
is there any API which is free that I can use, or any other way to do this.

Google's Translate API is not free anymore.
So, If you want to use a free language translation API, here are some links:
Mygengo Translation API: http://mygengo.com/api/
Microsoft Translator APIs: http://www.microsofttranslator.com/dev/
Speaklite Translate API: http://www.speaklike.com/access-professional-translation-via-api/
WebServiceX Translate API: http://www.webservicex.net/ws/wsdetails.aspx?wsid=63
This is also helpful:
http://alwawee.com/wordpress/2011/07/03/objective-c-wrap-over-microsoft-bing-translate-api/

Check out Yandex's Translate API. It's free and its structure is almost identical to Google's.
I've only just started playing around with it but the reviews I've seen are all fairly positive. It has three straightforward endpoints, similar to Google 's: /detect, /translate, and /getLangs.

You can use FGTranslator for both Google and Bing translation in iOS.

Related

Google Classroom API with Swift

I am developing an education-related app and I am planning on integrating the Google Classroom API to import information about the student's classes and assignments. I already have Google Sign-In working, but I do not know where to go now. I cannot find any documentation regarding using the Classroom API with Swift. If anyone can give me some pointers on how to set this up, it would be much appreciated!
It doesn't look like there is a library to use Classroom in swift. You are going to have to write your own code to hit the API and consume the JSON. I would use something like alamofire to make the network requests for the JSON. Then use codables to parse the JSON. The google documentation is going to be your friend to learn how to hit the API. If you don't know what an API is this youtube video should give a nice overview. If it still doesn't make sense, keep researching REST API's.
Best of Luck!

Creating new bot from template using API in botpress

Is it possible to create a BotPress bot entirely using the API? More specifically, can I accomplish most of all of what I would do in the UI by just using API methods? I looked, and I don't see a createBot() method, so I'm wondering if this is possible.
Second question, I read that multi-tenant support has been added in version 11. Is there any documentation on how this works?
Yes this is possible, if you use the F12 on your browser to see how Botpress works under the hood. you will find that it uses some API.
Here are some I found and used :
Bots management: /api/v1/admin/bots
QNA management: /api/v1/bots/{botid}/mod/qna/questions
Managing a specifi bot: /api/v1/admin/bots/{botid}
...
Keep looking and you will find more than that.

Using Google Map APIs

I am currently working on a personal project to develop a REST API which would perform tasks similar to what UBER, OLA like taxi aggregators do. Below is the brief about the functionality that I plan to add:
1)I have a fleet of cabs whose location is determined by its latitude and longitude.
2)A customer can call one of the cabs by providing their location and my API should assign the nearest cab available.
This I suppose would be accomplished by using Google Map APIs. My question is how do i start on using these APIs, to simulate such functionality?
You may use the following references:
Choose from the Google Maps APIs documentations depending on your needs. There are actually tutorials given within the documentations.
Answers to Frequently Asked Questions will also help especially the getting started part to fully understand how Google Maps APIs work.
Last but definitely not the least, this example in GitHub might help you exactly on the implementation.

Where do I find Google.Apis.Contacts.v3 for .NET?

There is a lot of different Google API dlls for .NET, for example Google.Apis.Calendar.v3. But nothing for Contacts API.
Using older versions or other approaches is not a solution because I already use v3 of several APIs. I need to add a Contacts API.
The Contacts API v3 is supported by the the .NET library for the Google Data API:
https://code.google.com/p/google-gdata/source/browse/#svn%2Ftrunk%2Fclients%2Fcs%2Fsrc%2Fgcontacts
To learn more about its usage, please check the documentation:
https://developers.google.com/google-apps/contacts/v3/

Adding pins for nearby places (e.g. pizzerias) in MapKit

MapKit doesn't natively support local search results, so I'm looking for a way to get a list of local pizzerias (or coffee shops, or a specific retailer) via some http api call.
The default google maps api requires javascript, so it's not clear to me how to integrate this into an iPhone app (without displaying a UIWebView).
I have found that a url in a format such as this:
http://maps.google.com/maps?output=json&q=pizza&near=37.3,-122&num=10
Does return a JSON-like list of results, but my usual friendly JSON parser, json-framework, barfs when it tries to parse this (even if I do clever-sounding things like leaving out the "while(1);" at the start of the reply). I'm also not sure how legitimate this URL is to use for this purpose.
I'm on the same quest. It seems that one option would be to perform the local search using Google's AJAX Search API, then plug that data into the mapkit.
That said, it's not entirely clear to me yet that this approach is in the clear vis a vis google's terms of service. Let's see here. Alright, changed my mind because of this. It's a post on google's own ajax api blog including video of a native iPhone app. Looks like this is the approved solution.