.. _tutorial: Getting Started =============== ----- Demo ----- You can try your own examples at a web form `here `_. ---------------- Example Usage ---------------- The fastest way to get started is to request this service from the demo api ^^^^^^ Curl ^^^^^^ .. code-block:: guess curl --request POST \ --url https://piglatin.jaichaudhary.com/api/translate \ --form 'text=How do you say ... in Pig Latin?' ^^^^^^ Python ^^^^^^ .. code-block:: python import requests url = "https://piglatin.jaichaudhary.com/api/translate" payload = {"text": "How do you say ... in Pig Latin?"} response = requests.request("POST", url, data=payload) print response.text You should see a response like .. code-block:: guess { "text": "Owhay oday ouyay aysay ... inyay Igpay Atinlay?" } Check out the installation guide to run service locally: :ref:`installation`