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
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -246,17 +246,28 @@ The Feed API standard access pattern is to periodically request the most recent
246
246
- Either an `after=-60` query parameter, where (in this example) -60 indicates the previous 60 seconds.
247
247
- Or `after`and`before` query parameters for a time range, with each parameter accepting an ISO-8601UTC formatted timestamp (a UTC date and time of the formatYYYY-MM-DDThh:mm:ssZ)
248
248
249
-
### Handling iterative response from RTUF endpoints:
249
+
## Handling iterative response from RTUF endpoints:
250
250
251
251
Since we may dealing with large feeds datasets, the python wrapper uses `generator`for efficient memory handling. Therefore, we need to iterate through the `generator`if we're accessing the partial results of the feeds data.
252
-
Example:
252
+
253
+
### Single request because the requested data is within the maximum result:
254
+
```python
255
+
from domaintools importAPI
256
+
257
+
api = API(USERNAME, KEY, always_sign_api_key=False)
0 commit comments