Update README.md

master
HeyMoon 2022-07-22 18:54:22 -05:00 committed by GitHub
parent 71d9fcf658
commit c8664a1327
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -27,7 +27,7 @@ Once you request it, beg the world's largest rodent to approve it. If he is merc
First, create an instance of the interface. For accessing rdrama.net, here's what you do... First, create an instance of the interface. For accessing rdrama.net, here's what you do...
``` ```python
from RDramaAPIInterface import RDramaAPIInterface from RDramaAPIInterface import RDramaAPIInterface
rdrama = RDramaAPIInterface(AUTH_TOKEN, "rdrama.net") rdrama = RDramaAPIInterface(AUTH_TOKEN, "rdrama.net")
@ -35,7 +35,7 @@ rdrama = RDramaAPIInterface(AUTH_TOKEN, "rdrama.net")
and then you can do whatever you want!! For example, send me hate mail like this and then you can do whatever you want!! For example, send me hate mail like this
``` ```python
rdrama.send_message("HeyMoon", "I have had it up to here with your shitty api interface. Fuck you, fuck python, and fuck aevann for making this website.") rdrama.send_message("HeyMoon", "I have had it up to here with your shitty api interface. Fuck you, fuck python, and fuck aevann for making this website.")
``` ```
@ -51,8 +51,10 @@ Yep. Just replace "rdrama.net" with whatever site it is.
probably because you are using https. try this: probably because you are using https. try this:
''' '''python
rdrama = RDramaAPIInterface(TEST_AUTH_TOKEN, "rdrama.net", https=False) rdrama = RDramaAPIInterface(TEST_AUTH_TOKEN, "rdrama.net", https=False)
''' '''
### Q. WTF dude, my code was working yesterday and it suddenly started breaking, I literally cannot cope with this ### Q. WTF dude, my code was working yesterday and it suddenly started breaking, I literally cannot cope with this