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
 ## Bearer token auth
30
 ## Bearer token auth
31
 
31
 
32
 First, generate a token in your profile security settings and keep it safe.
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
 ```sh
36
 ```sh
37
 curl biotorrents.de/ajax.php?action=index \
37
 curl biotorrents.de/ajax.php?action=index \
43
 ## Cookie auth
43
 ## Cookie auth
44
 
44
 
45
 Please send a POST request to `https://biotorrents.de/login.php` with `username` and `password`,
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
 Then store the cookie and use it to access the rest of the API.
47
 Then store the cookie and use it to access the rest of the API.
48
 
48
 
49
 
49
 
75
 
75
 
76
 ## Rate limit
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
 This limit doesn't apply to users in the Donor class.
79
 This limit doesn't apply to users in the Donor class.
80
 [Please consider donating](https://www.patreon.com/biotorrents)
80
 [Please consider donating](https://www.patreon.com/biotorrents)
81
 to support this scientific resource's development.
81
 to support this scientific resource's development.

Loading…
Cancel
Save