From fdb7e0d5cec8d668f860d0bf36ded4a0a689d18d Mon Sep 17 00:00:00 2001 From: gabotechs Date: Sat, 10 Jun 2023 19:15:23 +0200 Subject: [PATCH] chore: update readme [skip ci] --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 5c78a64..033adcd 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,23 @@ Generate signed urls for [Signway](https://github.com/gabotechs/signway), so that they can be used in client-side code. +# Install +```shell +pip install signway-sdk +``` + +# Usage + +```shell +from signway_sdk import sign_url + +sign_url( + id="my-id", + secret="my-secret", + host="https://api.signway.io", + proxy_url="https://api.openai.com/v1/chat/completions", + expiry=10, + method="POST" +) +```