diff --git a/src/screens/Documentation/Documentation.tsx b/src/screens/Documentation/Documentation.tsx index b8d540a..e1cd8dc 100644 --- a/src/screens/Documentation/Documentation.tsx +++ b/src/screens/Documentation/Documentation.tsx @@ -62,7 +62,7 @@ const Documentation: React.FC = () => { API Calls - We have three different types of API calls for retrieving problems. See here and select "ARB API server" as the mock server to see what the outputs look like. + We have three different types of API calls for retrieving problems. See here and select ARB API server as the mock server to see what the outputs look like. @@ -73,17 +73,15 @@ const Documentation: React.FC = () => { - https://arb.duckai.org/api/lib/{`{category}`} + https://arb.duckai.org/api/lib/{"{category}"} - - {/* For each example */} Math: import requests
- response = requests.get("https://arb.duckai.org/api/lib/math") + response = requests.get("https://arb.duckai.org/api/lib/math")
data = response.json()
@@ -94,7 +92,7 @@ const Documentation: React.FC = () => { import requests
- response = requests.get("https://arb.duckai.org/api/lib/law") + response = requests.get("https://arb.duckai.org/api/lib/law")
data = response.json()
@@ -105,7 +103,7 @@ const Documentation: React.FC = () => { import requests
- response = requests.get("https://arb.duckai.org/api/lib/mcatReading") + response = requests.get("https://arb.duckai.org/api/lib/mcatReading")
data = response.json()
@@ -116,14 +114,14 @@ const Documentation: React.FC = () => {
- https://arb.duckai.org/api/lib/{`{category}`}/{`{id}`} + https://arb.duckai.org/api/lib/{"{category}"}/{"{id}"} import requests
- response = requests.get("https://arb.duckai.org/api/lib/math/1234") + response = requests.get("https://arb.duckai.org/api/lib/math/1234")
problem = response.json()
@@ -134,14 +132,14 @@ const Documentation: React.FC = () => { - https://arb.duckai.org/api/lib/{`{category}`}/{`{variation}`} + https://arb.duckai.org/api/lib/{"{category}"}/{"{variation}"} import requests
- response = requests.get("https://arb.duckai.org/api/lib/physics_numerical/img") + response = requests.get("https://arb.duckai.org/api/lib/physics_numerical/img")
variation_data = response.json()