Browse Source

Minor grammar fixes

pjc 4 years ago
parent
commit
427cb0c286
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      docs/index.md

+ 4
- 4
docs/index.md View File

@@ -30,8 +30,8 @@ In this case the value of `response` is `undefined`.
30 30
 ## Bearer token auth
31 31
 
32 32
 First, generate a token in your profile security settings and keep it safe.
33
-It's functionally a password and like a password, it can't be recovered later.
34
-Then POST an RFC 6750--compliant bearer token along with each GET api endpoint:
33
+It's functionally a password, and like a password, it can't be recovered later.
34
+Then POST an RFC 6750–compliant bearer token along with each GET request:
35 35
 
36 36
 ```sh
37 37
 curl biotorrents.de/ajax.php?action=index \
@@ -43,7 +43,7 @@ curl biotorrents.de/ajax.php?action=index \
43 43
 ## Cookie auth
44 44
 
45 45
 Please send a POST request to `https://biotorrents.de/login.php` with `username` and `password`,
46
-or acquire a cookie from a browser session using developer tools.
46
+or acquire a cookie from a browser session using the developer tools.
47 47
 Then store the cookie and use it to access the rest of the API.
48 48
 
49 49
 
@@ -75,7 +75,7 @@ Please get it touch if you'd like me to list your project below.
75 75
 
76 76
 ## Rate limit
77 77
 
78
-The API is rate-limited to one request every 12 seconds.
78
+The API is rate-limited to one request every 6 seconds.
79 79
 This limit doesn't apply to users in the Donor class.
80 80
 [Please consider donating](https://www.patreon.com/biotorrents)
81 81
 to support this scientific resource's development.

Loading…
Cancel
Save