Yankee-Limey is a translation API for for translating between British and American English. It was built as part of the FreeCodeCamp challenges.
On the homepage there is a form for interacting with the API. The API expects both text and locale to be provided. Locale must be either american-to-british or british-to-american. Text, naturally, can be whatever you like.
The API will return an object with both the original text and the translation.
The API returns a JSON object in the following format:
{
"text": "No Mr. Booth, wear your sweatpants.",
"translation": "No <span class=\"highlight\">Mr</span> Booth, wear your <span class=\"highlight\">track bottoms</span>."
}
A working demonstration is hosted at repl.it, and you can visit it and try it out using the visit website button at the top of this page. The code is hosted at Github and you can visit this using the github button, also at the top of this page.