QUIZ

FREEMIUM
By jayesh Vijay | Updated un mese fa | Social
Popularity

0.3 / 10

Latency

30,419ms

Service Level

0%

Health Check

N/A

README

Quiz API Documentation:
visit on https://integritygrove.tech/ for more information…
Welcome to the Quiz API documentation. This API allows you to retrieve quiz questions from the server. The base URL for the API is as mention in the rapid api . The endpoint for retrieving questions is /questions, and the method to be used is GET.

Absolutely! Here is the updated API documentation with the provided categories:

Get Questions API

Endpoint:: /questions for rapid api

if you want to use our url then follow the below method, use rapid api url for great speed and optimization, our url is currently in development and in future if we update the api then endpoints can change. for stability we suggest you to use our api from rapid api.
visit on https://integritygrove.tech/ for more information…

GET https://quiz.integritygrove.tech/api/v1/questions

visit on https://integritygrove.tech/ for more information…

Description:

Retrieve a list of questions based on specified parameters.

Query Parameters:

  • cat (optional): Filter questions by category. Possible values include “c”, “cpp”, “rust”, “css”, “golang”, “html”, “java”, “javascript”, “react”, “node”.
  • sort (optional): Sort questions based on a field (e.g., “qid” or “questions”).
  • page (optional): Page number for pagination. Default is randomly generated between 1 and 500 if not provided by the client.
  • limit (optional): Number of questions per page. Default is 20, maximum is 20.

Category Names:

visit on https://integritygrove.tech/ for more information…

  • “c”: Questions related to the C programming language.
  • “cpp”: Questions related to the C++ programming language.
  • “rust”: Questions related to the Rust programming language.
  • “css”: Questions related to Cascading Style Sheets (CSS).
  • “golang”: Questions related to the Go programming language.
  • “html”: Questions related to Hypertext Markup Language (HTML).
  • “java”: Questions related to the Java programming language.
  • “javascript”: Questions related to the JavaScript programming language.
  • “react”: Questions related to the React library.
  • “node”: Questions related to Node.js.
    visit on https://integritygrove.tech/ for more information…

Request Examples:

  1. Get all questions with default parameters:

    curl -X GET "https://quiz.integritygrove.tech/api/v1/questions"
    
  2. Filter questions by category:

    curl -X GET "https://quiz.integritygrove.tech/api/v1/questions?cat=java"
    
  3. Sort questions by a specific field:

    curl -X GET "https://quiz.integritygrove.tech/api/v1/questions?sort=qid"
    

visit on https://integritygrove.tech/ for more information…

  1. Paginate through questions:

    curl -X GET "https://quiz.integritygrove.tech/api/v1/questions?page=2&limit=10"
    
  2. Filter, sort, and paginate:

    curl -X GET "https://quiz.integritygrove.tech/api/v1/questions?cat=react&sort=qid&limit=10&page=3"
    

Response Example:

{
  "status": "success",
  "message": "Data successfully retrieved!",
  "data": [
    {
      "_id": "65976034c848f0cd9f1e9543",
      "question": "Who developed the C programming language?",
      "options": ["Option 1", "Option 2", "Option 3", "Option 4"],
      "answer": "Dennis Ritchie",
      "category": "c",
      "qid": "c000003",
      "createdAt": "2024-01-05T01:49:41.209+00:00",
      "updatedAt": "2024-01-05T01:49:41.209+00:00"
    },
    // ... other questions
  ]
}

Notes:

  • If page is not provided, a random page number between 1 and 500 will be generated.
  • The default limit is 20, and the maximum allowed value for limit is also 20. you can use any number below 20.

Error Handling:
If there is an error during the request, the API will respond with an appropriate error message. Possible error responses include:

400 Bad Request: This error occurs when the request is invalid or missing required parameters.

401 Unauthorized: This error occurs when authentication is required but not provided.

404 Not Found: This error occurs when the requested endpoint or resource does not exist.
Please ensure that you handle these errors gracefully in your application.

Rate Limiting:
The rate limit for API usage depends on your subscription plan. Here are the rate limits based on the available plans:

Basic Plan: Maximum 500 API calls per month.

Pro Plan: Maximum 10,000 API calls per month.

Ultra Plan: Unlimited API calls.
Please ensure that you keep track of your API usage and stay within the allotted limit for your plan.

Developer Support:
We offer dedicated support to our developers to ensure a smooth integration process. If you have any questions or need assistance, please reach out to our support team at support@integritygrove.tech . We’re here to help you succeed!

Additionally, if you find our Quiz API useful, we would appreciate your support. You can contribute by subscribing to our YouTube channel and following us for the latest updates and tutorials. Don’t forget to hit the notification bell to stay informed about new content!


We also welcome donations to support the ongoing development and maintenance of the API. You can contribute to our project by making a payment to our PayPal account at paypal.me/uniquecoder . Your support helps us continue improving and expanding the Quiz API.

Followers: 2
Resources:
Product Website
API Creator:
Rapid account: Jayesh Vijay
jayesh Vijay
jayeshvijay649
Log In to Rate API
Rating: 3.7 - Votes: 3