Skip to content

Commit

Permalink
Merge pull request #8 from crowdsecurity/$main-ed91f60
Browse files Browse the repository at this point in the history
Update python SDK version: 1.29.0
  • Loading branch information
he2ss authored Sep 18, 2024
2 parents ed91f60 + b783d4d commit 77cb94e
Show file tree
Hide file tree
Showing 12 changed files with 442 additions and 203 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pip install crowdsec_service_api

## Usage

You can follow this [documentation](https://docs.crowdsec.net/u/service_api/sdks) to see the basic usage of the SDK.
You can follow this [documentation](https://docs.crowdsec.net/u/service_api/quickstart/blocklists) to see the basic usage of the SDK.

## Documentation
You can access the full usage documentation [here](https://github.com/crowdsecurity/crowdsec-service-api-sdk-python/tree/main/doc).
Expand Down
3 changes: 3 additions & 0 deletions crowdsec_service_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from .services.blocklists import Blocklists
from .services.integrations import Integrations
from .services.info import Info
from .services.hub import Hub
from .http_client import ApiKeyAuth

class Server(Enum):
Expand All @@ -13,6 +14,7 @@ class Server(Enum):
'Blocklists',
'Integrations',
'Info',
'Hub',
'ApiKeyCredentials',
'BasicAuthCredentials',
'BlocklistAddIPsRequest',
Expand Down Expand Up @@ -58,6 +60,7 @@ class Server(Enum):
'Share',
'Stats',
'ValidationError',
'HubType',
'ApiKeyAuth',
'Server',
'Page'
Expand Down
Binary file modified crowdsec_service_api/__pycache__/base_model.cpython-311.pyc
Binary file not shown.
Binary file modified crowdsec_service_api/__pycache__/http_client.cpython-311.pyc
Binary file not shown.
Loading

0 comments on commit 77cb94e

Please sign in to comment.