You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -269,6 +269,12 @@ Custom parameters aside from the common `GET` Request parameters:
269
269
api = API(USERNAME, KEY, header_authentication=False)
270
270
api.nod(**kwargs)
271
271
```
272
+
-`always_sign_api_key`: set to `True` to use HMAC-SHA256 signed authentication instead of header auth. When set, `header_authentication` automatically defaults to `False` — both methods do not fire simultaneously. The signing algorithm is identical to the standard API: `HMAC-SHA256(key, username + timestamp + path)`, with`timestamp`and`signature` sent as query parameters.
273
+
```python
274
+
api = API(USERNAME, KEY, always_sign_api_key=True)
275
+
api.nod(after="-60")
276
+
# sends: api_username, timestamp, signature — no X-Api-Key header
277
+
```
272
278
-`output_format`: (choose either `csv`or`jsonl`- default is`jsonl`). Cannot be used in`domainrdap` feeds. Additionally, `csv`isnot available for`download` endpoints.
0 commit comments