Crossword Maker

FREEMIUM
Por crossword | Atualizado vor einem Monat | Gaming
Popularidade

7.5 / 10

Latência

956ms

Nível de serviço

56%

Health Check

N/A

Voltar para todas as discussões

API Only Returns HTML

Rapid account: Testupdates 2
testupdates2
vor 6 Monaten
  • 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 vor 6 Monaten

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.

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários