From 7f175514e6d2e77b8b77332eb4f156383a50f716 Mon Sep 17 00:00:00 2001 From: Ray Lyon <36998292+skoobasteeve@users.noreply.github.com> Date: Mon, 7 Aug 2023 17:09:50 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1c7be0e..431feb0 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Authenticate with the SAP SuccessFactors API with OAuth2 and Python. pip install successfactors_auth ``` 4. Import `successfactors_auth` into your Python >=3.9 project. -5. Call the `successfactors_auth.auth()` function in your Python project. You'll need to pass the following parameters: +5. Call the `successfactors_auth.get_token()` function in your Python project. You'll need to pass the following parameters: - `sf_url`: Base API url of your SuccessFactors instance, e.g. "https://api55.sapsf.eu". - `sf_company_id`: SuccessFactors company ID. - `sf_oauth_client_id`: The Client ID for the OAuth application you created earlier. @@ -58,4 +58,4 @@ Once you get authenticated, getting the information you want is a whole new leve ## Contributing -All contributions welcome! Feel free to file an [issue](https://github.com/skoobasteeve/successfactors_auth/issues) or open a [pull request](https://github.com/skoobasteeve/successfactors_auth/pulls). \ No newline at end of file +All contributions welcome! Feel free to file an [issue](https://github.com/skoobasteeve/successfactors_auth/issues) or open a [pull request](https://github.com/skoobasteeve/successfactors_auth/pulls).