You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-5Lines changed: 25 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,13 +27,33 @@ npm install
27
27
yarn install
28
28
```
29
29
30
-
## Setting up Judge0
30
+
## Setting Up Judge0 with RapidAPI
31
31
32
-
Let's set up Judge0 and proceed to the following actions:
32
+
1.**Navigate to Judge0**:
33
+
- Start by going to the [Judge0 page on RapidAPI](https://rapidapi.com/judge0-official/api/judge0-ce).
34
+
- Select the **Basic Plan**, which offers a limit of 50 requests per day.
33
35
34
-
- Navigate to Judge0, then select the Basic Plan.
35
-
- In reality, RapidAPI hosts Judge0. Proceed and sign up for the basic plan.
36
-
- You can copy the RAPIDAPI_HOST and RAPIDAPI_KEY, which are required to perform API calls to our code execution system, once you have subscribed.
36
+
2.**Sign Up for the Basic Plan**:
37
+
- RapidAPI hosts Judge0, so you need to sign up for the Basic Plan on RapidAPI.
38
+
- Follow the sign-up process to get started.
39
+
40
+
3.**Access the RapidAPI Dashboard**:
41
+
- After signing up, go to the [RapidAPI Dashboard](https://rapidapi.com/judge0-official/api/judge0-ce).
42
+
- In the navigation bar, select **API Hub**.
43
+
44
+
4.**Navigate to the API's Section**:
45
+
- Click on **Endpoints** to view
46
+
- You will see multiple endpoints such as Submissions, About, and Languages.
47
+
48
+
5.**Using the Submissions Endpoint**:
49
+
- For code submissions, go to the **Submissions** endpoint and then select **Create Submission**.
50
+
- Here, you will find `X-RapidAPI-Key`, `X-RapidAPI-Host`, and the URL (`url`) needed for API calls. Url is located below the "Code Snippets" section.
51
+
52
+
6.**Copy Required Keys**:
53
+
- Copy the `RAPIDAPI_HOST` and `RAPIDAPI_KEY` values. These are necessary to perform API calls to the code execution system.
54
+
- Ensure you have these keys saved as they will be used in your API requests.
55
+
56
+
By following these steps, you'll be able to set up Judge0 for code submissions using RapidAPI's infrastructure, enabling you to execute and evaluate code within your application.
0 commit comments