Metadata-Version: 2.4
Name: ssi_pingme
Version: 1.1.0
Project-URL: Documentation, https://github.com/ssi-dk/ssi_pingme#readme
Project-URL: Issues, https://github.com/ssi-dk/ssi_pingme/issues
Project-URL: Source, https://github.com/ssi-dk/ssi_pingme
Author-email: Kim Ng <kimleeng@gmail.com>
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.8
Requires-Dist: envyaml
Requires-Dist: fastapi
Requires-Dist: fastcore
Requires-Dist: httpx
Requires-Dist: pandas
Requires-Dist: pydantic
Requires-Dist: pydantic-settings
Requires-Dist: python-dotenv
Requires-Dist: requests
Requires-Dist: uvicorn
Description-Content-Type: text/markdown

# ssi_pingme

## Install 

``` sh
pip install git+https://github.com/ssi-dk/ssi_pingme.git
```

## How to use

To import and use in your python code you can do the following:

``` python
from pingme import (api, core)


core.set_env_variables(
    config_path="/path/to/config/file"
)

api.webhook_card_simple(
  title = "My title",
  text = "My text"
)

```

The config file should have the webhook url set (https://postman-echo.com/post by default). You can modify the [default config file](src/pingme/config/config.default.env) to include webhook and email smtp server details.
