Skip to content

Commit 9e014a2

Browse files
authored
Update README.md
1 parent 4dbb336 commit 9e014a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,11 @@ Welcome to the YouDotCom Python library! Our library now features an easy-to-use
304304
305305
~~To get started, you will first need to register for an API key on our website. This key will be required to authenticate each API request.~~
306306
307-
base url: api.betterapi.net
307+
base url: `api.betterapi.net`
308308
309-
To send a message to YouChat and receive a JSON response, you can make an HTTP GET request to the endpoint "/youdotcom/chat", including the message to be sent as a query parameter. The key is "message" and the value should be the message text encoded in URL format. For example, to send the message "hello there", the endpoint would be "/youdotcom/chat?message=hello%20there". The JSON response will include the message sent by YouChat, time, v2Captcha, and type of the request.
309+
To send a message to YouChat and receive a JSON response, you can make an HTTP GET request to the endpoint `/youdotcom/chat`, including the message to be sent as a query parameter. The key is `message` and the value should be the message text encoded in URL format. For example, to send the message `hello there`, the endpoint would be `/youdotcom/chat?message=hello%20there`. The JSON response will include the message sent by YouChat, time, v2Captcha, and type of the request.
310310
311-
Another endpoint is provided to convert the output text into speech, the endpoint is '/youdotcom/cts'. The message to be converted should be included as a query parameter in the URL, with the key "message" and the value being the message text. For example, to convert the message "hello there" into speech, the endpoint would be "/youdotcom/cts?message=hello%20there"
311+
Another endpoint is provided to convert the output text into speech, the endpoint is `/youdotcom/cts`. The message to be converted should be included as a query parameter in the URL, with the key `message` and the value being the message text. For example, to convert the message `hello there` into speech, the endpoint would be `/youdotcom/cts?message=hello%20there`
312312
313313
~~Make sure to include the API key in the header of each request to authenticate it.~~
314314

0 commit comments

Comments
 (0)