You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
Etzelia 7325698e24
Update module
1 year ago
cmd/falseknees Update module 1 year ago
.gitignore Initial commit 1 year ago
LICENSE Initial commit 1 year ago
Makefile Initial commit 1 year ago
README.md Initial commit 1 year ago
client.go Initial commit 1 year ago
falseknees.go Initial commit 1 year ago
falseknees_test.go Initial commit 1 year ago
go.mod Update module 1 year ago

README.md

FalseKnees

This is definitely not real API for FalseKnees.

By that I mean to say FK does not have an API, so this is a glorified HTML parser.

Please be considerate of the fact that this is not a real API and so it is pulling entire HTML pages to parse.

Current Comic

FalseKnees /index.html page contains a redirect to get the latest comic number. This library leverages that page to get the current comic, however in an effort to reduce HTTP calls against full HTML pages, the library has a built-in interval of 30 minutes.

This means that if you get the current comic at 12:00 and FK adds a new comic at 12:05, you won't get the new current comic until 12:30.

Currently the following funcs retrieve the current comic number:

  • Random
  • Current

License

MIT