summaryrefslogtreecommitdiff
path: root/api.txt
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-10-16 02:30:43 -0400
committerlolcat <will@lolcat.ca>2023-10-16 02:30:43 -0400
commit3aa01807741ffad103b9f6a74d878e58f2e828e8 (patch)
treea06816e71b059d96b5e08f9d304cbc3818e85b48 /api.txt
parentfa9dc4d6efc593b7301229c18b058d90024c939e (diff)
captcha and imgur, findthatmeme, yep imagesearch
Diffstat (limited to 'api.txt')
-rw-r--r--api.txt18
1 files changed, 17 insertions, 1 deletions
diff --git a/api.txt b/api.txt
index 40b0ed3..f3c8b17 100644
--- a/api.txt
+++ b/api.txt
@@ -30,12 +30,25 @@
under your own terms. Please respect the terms of use listed here so
that this website may be available to all in the far future.
+ P.s fuck whoever botted my site for months on end, choke on my dick
+ lol!!!!
+
Get your instance running here ::
https://git.lolcat.ca/lolcat/4get
Thanks!
++ Passes
+ Depending of the instance, you may need to provide a "pass" token
+ in the cookies of your request. These can be obtained from solving
+ a captcha which will allow you to make 100 requests in the next 24
+ hours. In the future, you will be able to ask the serber maintainer
+ for a "pass" which will allow you to bypass the captcha requirement.
+
+ The captcha doesn't need javascript to work.
+
+
+ Decode the data
All payloads returned by the API are encoded in the JSON format. If
you don't know how to tackle the problem, maybe programming is not
@@ -47,8 +60,11 @@
+ Check if an API call was successful
All API responses come with an array index named "status". If the
status is something else than the string "ok", something went wrong.
+ You can supply the content of the "status" string back to your
+ application to inform the user of what went wrong.
- The HTTP code will always be 200 as to not cause issues with CORS.
+ The HTTP code will be 429 if your pass is invalid. It is set to 200
+ otherwise.
+ Get the next page of results