最近の検索


最近の検索はありません

Cannot use cursor based incremental API calls



投稿日時:2023年11月08日

Hi everyone,

I am trying to use cursor based incremental API. I write python code to make this. However, I got result unexpected. I want to use cursor based incremental to retrieve all records, per_page = 100. This is my code, please help me review it. 

url = "https://my_url/api/v2/incremental/tickets/cursor?per_page=100&cursor={my_cursor_pointer}"
and below is function that use to stop pagination by end_of_stream
        if 'meta' in data and not data['meta']['end_of_stream']:
            url = data['after_url']
        else:
            url = ''

Thank you for your support.



0

0

0件のコメント

サインインしてコメントを残します。

お探しのものが見つかりませんか?

新規投稿