Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ with vulncheck_sdk.ApiClient(configuration) as api_client:


<details><summary><b>Click to View Async Implementation</b></summary>

```python
import asyncio
import os
Expand Down Expand Up @@ -166,6 +167,7 @@ if __name__ == "__main__":
asyncio.run(run_vulnerability_checks())
```


</details>

## Examples
Expand Down Expand Up @@ -201,6 +203,7 @@ with vulncheck_sdk.ApiClient(configuration) as api_client:


<details><summary><b>Click to View Async Implementation</b></summary>

```python
import asyncio
import os
Expand Down Expand Up @@ -247,6 +250,7 @@ if __name__ == "__main__":
asyncio.run(main())
```


</details>

### CPE
Expand Down Expand Up @@ -277,6 +281,7 @@ with vulncheck_sdk.ApiClient(configuration) as api_client:


<details><summary><b>Click to View Async Implementation</b></summary>

```python
import asyncio
import os
Expand Down Expand Up @@ -314,6 +319,7 @@ if __name__ == "__main__":
asyncio.run(get_cpe_vulnerabilities())
```


</details>

### Backup
Expand Down Expand Up @@ -348,6 +354,7 @@ with vulncheck_sdk.ApiClient(configuration) as api_client:


<details><summary><b>Click to View Async Implementation</b></summary>

```python
import asyncio
import os
Expand Down Expand Up @@ -403,6 +410,7 @@ if __name__ == "__main__":
asyncio.run(main())
```


</details>

### Indices
Expand Down Expand Up @@ -431,6 +439,7 @@ with vulncheck_sdk.ApiClient(configuration) as api_client:


<details><summary><b>Click to View Async Implementation</b></summary>

```python
import asyncio
import os
Expand Down Expand Up @@ -468,6 +477,7 @@ if __name__ == "__main__":
asyncio.run(list_indices())
```


</details>

### Index
Expand Down Expand Up @@ -495,6 +505,7 @@ with vulncheck_sdk.ApiClient(configuration) as api_client:


<details><summary><b>Click to View Async Implementation</b></summary>

```python
import asyncio
import os
Expand Down Expand Up @@ -531,6 +542,7 @@ if __name__ == "__main__":
asyncio.run(get_cve_details())
```


</details>

### Pagination
Expand Down Expand Up @@ -568,6 +580,7 @@ with vulncheck_sdk.ApiClient(configuration) as api_client:


<details><summary><b>Click to View Async Implementation</b></summary>

```python
import asyncio
import os
Expand Down Expand Up @@ -616,6 +629,7 @@ if __name__ == "__main__":
asyncio.run(fetch_kev_data())
```


</details>

## Contributing
Expand Down
14 changes: 14 additions & 0 deletions README.template
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@ with open("./tests/quickstart.py", 'r') as f:
<!-- [[[end]]] -->

<details><summary><b>Click to View Async Implementation</b></summary>

<!-- [[[cog
import cog, glob
with open("./tests/quickstart_aio.py", 'r') as f:
cog.outl(f"```python\n{f.read().strip()}\n```\n")
]]] -->
<!-- [[[end]]] -->

</details>

## Examples
Expand All @@ -75,12 +77,14 @@ with open("./tests/purl.py", 'r') as f:
<!-- [[[end]]] -->

<details><summary><b>Click to View Async Implementation</b></summary>

<!-- [[[cog
import cog, glob
with open("./tests/purl_aio.py", 'r') as f:
cog.outl(f"```python\n{f.read().strip()}\n```\n")
]]] -->
<!-- [[[end]]] -->

</details>

### CPE
Expand All @@ -95,12 +99,14 @@ with open("./tests/cpe.py", 'r') as f:
<!-- [[[end]]] -->

<details><summary><b>Click to View Async Implementation</b></summary>

<!-- [[[cog
import cog, glob
with open("./tests/cpe_aio.py", 'r') as f:
cog.outl(f"```python\n{f.read().strip()}\n```\n")
]]] -->
<!-- [[[end]]] -->

</details>

### Backup
Expand All @@ -115,12 +121,14 @@ with open("./tests/backup.py", 'r') as f:
<!-- [[[end]]] -->

<details><summary><b>Click to View Async Implementation</b></summary>

<!-- [[[cog
import cog, glob
with open("./tests/backup_aio.py", 'r') as f:
cog.outl(f"```python\n{f.read().strip()}\n```\n")
]]] -->
<!-- [[[end]]] -->

</details>

### Indices
Expand All @@ -135,12 +143,14 @@ with open("./tests/indicies.py", 'r') as f:
<!-- [[[end]]] -->

<details><summary><b>Click to View Async Implementation</b></summary>

<!-- [[[cog
import cog, glob
with open("./tests/indicies_aio.py", 'r') as f:
cog.outl(f"```python\n{f.read().strip()}\n```\n")
]]] -->
<!-- [[[end]]] -->

</details>

### Index
Expand All @@ -155,12 +165,14 @@ with open("./tests/index.py", 'r') as f:
<!-- [[[end]]] -->

<details><summary><b>Click to View Async Implementation</b></summary>

<!-- [[[cog
import cog, glob
with open("./tests/index_aio.py", 'r') as f:
cog.outl(f"```python\n{f.read().strip()}\n```\n")
]]] -->
<!-- [[[end]]] -->

</details>

### Pagination
Expand All @@ -175,12 +187,14 @@ with open("./tests/pagination.py", 'r') as f:
<!-- [[[end]]] -->

<details><summary><b>Click to View Async Implementation</b></summary>

<!-- [[[cog
import cog, glob
with open("./tests/pagination_aio.py", 'r') as f:
cog.outl(f"```python\n{f.read().strip()}\n```\n")
]]] -->
<!-- [[[end]]] -->

</details>

## Contributing
Expand Down