Crossword Maker

פרמיום
על ידי crossword | מְעוּדכָּן לפני חודש | Gaming
פּוֹפּוּלָרִיוּת

7.2 / 10

חֶבִיוֹן

969ms

רמת שירות

83%

Health Check

N/A

חזרה לכל הדיונים

API Only Returns HTML

Rapid account: Testupdates 2
testupdates2
לפני 6 חודשים
  • While i Upload All HTML Code in Brwoser its just return’s me Question And Answer.
  • API just returning only HTML Code instead of the other code.
  • I think API Responce not return the desired data in a structured format.

“Can you give me more guidance about this API ?”

Rapid account: Crossword
crossword Commented לפני 6 חודשים

Hi there,

Let me make it clear for you. When you send a request to this API, it will give you back 4 different object.

These are;

  1. crosswordHTMLTableTrue: Helps you to show a user after successful submit. These are the correct answers placed in a HTML. You can show this HTML after the user submit a puzzle.
  2. crosswordHTMLTable: Helps you to show a empty crossword in HTML form.
  3. crosswordArray: It is an array that shows X and Y indexes for answer letters.
  4. questionNumbersArray: It is an array that shows X and Y indexes for question numbers.

So if you want to implement a custom solution, you need to use 3 and 4. Otherwise its simpler with HTMLs.

example_response

As you can see on the image, you need to place the letter at crosswordArray[14][3] on the 14th row 3rd column. This will be one of the answer letters. And it goes on for the others.

If you have any questions, let us know.

Thanks.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות