Skip to content

Commit 5d67004

Browse files
author
nianiB9
authored
Merge pull request #163 from docusign/revert-162-DEVDOCS-15803
Revert "DEVDOCS-15803"
2 parents dc21132 + 70ff41c commit 5d67004

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ For a list of code examples that use the Web Forms API, see the [How-to guides o
7272
### Prerequisites
7373
**Note:** If you downloaded this code using [Quickstart](https://developers.docusign.com/docs/esign-rest-api/quickstart/) from the Docusign Developer Center, skip items 1 and 2 as they were automatically performed for you.
7474

75-
1. A free [Docusign developer account](https://www.docusign.com/developers/sandbox); create one if you don't already have one.
75+
1. A free [Docusign developer account](https://go.docusign.com/o/sandbox/); create one if you don't already have one.
7676
1. A Docusign app and integration key that is configured to use either [Authorization Code Grant](https://developers.docusign.com/platform/auth/authcode/) or [JWT Grant](https://developers.docusign.com/platform/auth/jwt/) authentication.
7777

7878
This [video](https://www.youtube.com/watch?v=eiRI4fe5HgM) demonstrates how to obtain an integration key.

app/monitor/examples/eg001_get_monitoring_data.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from docusign_monitor import DataSetApi
22
from flask import session
3+
from datetime import datetime, timedelta, timezone
34

45
from app.monitor.utils import create_monitor_api_client
56

@@ -25,9 +26,10 @@ def worker(args):
2526
)
2627
#ds-snippet-end:Monitor1Step2
2728
#ds-snippet-start:Monitor1Step3
29+
cursor_date = datetime.now(timezone.utc).replace(year=datetime.now(timezone.utc).year - 1)
2830
dataset_api = DataSetApi(api_client=api_client)
2931

30-
cursor_value = '2024-01-01T00:00:00Z'
32+
cursor_value = cursor_date.strftime('%Y-%m-%dT00:00:00Z')
3133
limit = 2000
3234
function_results = []
3335
complete = False

0 commit comments

Comments
 (0)