Retrieve a paginated list of OWASP chapters.
from owasp_nest import Nest
with Nest(
api_key="<YOUR_API_KEY_HERE>",
) as nest:
res = nest.chapters.list_chapters(country="India", page=1, page_size=100)
# Handle response
print(res)
| Parameter |
Type |
Required |
Description |
latitude_gte |
OptionalNullable[float] |
➖ |
Latitude greater than or equal to |
latitude_lte |
OptionalNullable[float] |
➖ |
Latitude less than or equal to |
longitude_gte |
OptionalNullable[float] |
➖ |
Longitude greater than or equal to |
longitude_lte |
OptionalNullable[float] |
➖ |
Longitude less than or equal to |
country |
OptionalNullable[str] |
➖ |
Country of the chapter |
ordering |
OptionalNullable[models.ListChaptersOrdering] |
➖ |
Ordering field |
page |
Optional[int] |
➖ |
Page number |
page_size |
Optional[int] |
➖ |
Number of items per page |
retries |
Optional[utils.RetryConfig] |
➖ |
Configuration to override the default retry behavior of the client. |
models.PagedChapter
| Error Type |
Status Code |
Content Type |
| models.NestAPIError |
4XX, 5XX |
*/* |
Retrieve chapter details.
from owasp_nest import Nest
with Nest(
api_key="<YOUR_API_KEY_HERE>",
) as nest:
res = nest.chapters.get_chapter(chapter_id="London")
# Handle response
print(res)
| Parameter |
Type |
Required |
Description |
Example |
chapter_id |
str |
✔️ |
N/A |
London |
retries |
Optional[utils.RetryConfig] |
➖ |
Configuration to override the default retry behavior of the client. |
|
models.ChapterDetail
| Error Type |
Status Code |
Content Type |
| models.ValidationErrorSchema |
400 |
application/json |
| models.ChapterError |
404 |
application/json |
| models.NestAPIError |
4XX, 5XX |
*/* |