My Chat app has an API!

My chat app now has an API!

To use it, you need an API key granted by one of our admins.

Use:

from requests import post

r = post("https://chat.element1010.repl.co/api/message", json={
  "apiKey": "<your api key>",
  "message": "The message to send"
})
print(r.json())

EDIT: SPAMBOTS WILL NOT BE TOLERATED

3 Likes

Cool! Can I try it out with an API key?

2 Likes

How can I get an api key from the admins?

You probably just ask.

1 Like

(Iā€™m the admin here)

1 Like