API for OWASP related entities
Project description
OwaspNestSdk Python SDK 1.0.0
Welcome to the OwaspNestSdk SDK documentation. This guide will help you get started with integrating and using the OwaspNestSdk SDK in your project.
Versions
- API version:
1.0.0 - SDK version:
1.0.0
About the API
API for OWASP related entities
Table of Contents
Setup & Configuration
Supported Language Versions
This SDK is compatible with the following versions: Python >= 3.7
Installation
To get started with the SDK, we recommend installing using pip:
pip install owasp_nest_sdk
Setting a Custom Timeout
You can set a custom timeout for the SDK's HTTP requests as follows:
from owasp_nest_sdk import OwaspNestSdk
sdk = OwaspNestSdk(timeout=10000)
Sample Usage
Below is a comprehensive example demonstrating how to authenticate and call a simple endpoint:
from owasp_nest_sdk import OwaspNestSdk
from owasp_nest_sdk.models import State, ListIssuesOrdering
sdk = OwaspNestSdk(
api_key="YOUR_API_KEY",
api_key_header="YOUR_API_KEY_HEADER",
timeout=10000
)
result = sdk.git_hub.list_issues(
state="open",
ordering="created_at",
page=1,
page_size=9
)
print(result)
Async Usage
The SDK includes an Async Client for making asynchronous API requests. This is useful for applications that need non-blocking operations, like web servers or apps with a graphical user interface.
import asyncio
from owasp_nest_sdk import OwaspNestSdkAsync
from owasp_nest_sdk.models import State, ListIssuesOrdering
sdk = OwaspNestSdkAsync(
api_key="YOUR_API_KEY",
api_key_header="YOUR_API_KEY_HEADER",
timeout=10000
)
async def main():
result = await sdk.git_hub.list_issues(
state="open",
ordering="created_at",
page=1,
page_size=9
)
print(result)
asyncio.run(main())
Services
The SDK provides various services to interact with the API.
Below is a list of all available services:
| Name |
|---|
| git_hub |
| owasp |
Models
The SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.
Below is a list of all available models:
| Name | Description |
|---|---|
| PagedIssueSchema | |
| State | |
| ListIssuesOrdering | |
| PagedLabelSchema | |
| ListLabelsOrdering | |
| PagedOrganizationSchema | |
| ListOrganizationsOrdering | |
| PagedReleaseSchema | |
| ListReleasesOrdering | |
| PagedRepositorySchema | |
| ListRepositoriesOrdering | |
| PagedUserSchema | |
| ListUsersOrdering | |
| UserSchema | Schema for User. |
| PagedChapterSchema | |
| ListChaptersOrdering | |
| PagedCommitteeSchema | |
| ListCommitteesOrdering | |
| PagedEventSchema | |
| ListEventsOrdering | |
| PagedProjectSchema | |
| ProjectLevel | Enum for OWASP project levels. |
| ListProjectsOrdering | |
| IssueSchema | Schema for Issue. |
| LabelSchema | Schema for Label. |
| OrganizationSchema | Schema for Organization. |
| ReleaseSchema | Schema for Release. |
| RepositorySchema | Schema for Repository. |
| ChapterSchema | Schema for Chapter. |
| CommitteeSchema | Schema for Committee. |
| EventSchema | Schema for Event. |
| ProjectSchema | Schema for Project. |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file owasp_nest_sdk-1.0.0.tar.gz.
File metadata
- Download URL: owasp_nest_sdk-1.0.0.tar.gz
- Upload date:
- Size: 28.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
576d6ff32312d2f7df047788cd54dcb09d7fa806100279a482eb337ef44b6c8f
|
|
| MD5 |
212dd7ed22985bdf1e26e4c153432f01
|
|
| BLAKE2b-256 |
62fd1630351be9c762331b8fa242c6ec72a94872d053d55e6f1b340fd3a71077
|
File details
Details for the file owasp_nest_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: owasp_nest_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 54.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6278dfe592fb6dab4b421afe050a0e3226270bb92a6b4f55917c56c19b02662d
|
|
| MD5 |
e8e35216d2754b96ba4a0137eb64df65
|
|
| BLAKE2b-256 |
61188e58eb47cdc4105c90fd91ace77008d605f79fac79c7841d79540dceba23
|