I have this CURL code:
curl --request GET \
 --url 'https://api.privacy.com/v1/transactions? Result=APPROVED&begin=2023-01-01%2000%3A00%3A00&page=1&page\_size=50' \
 --header 'Authorization: api-key 358fbd4f-f765-4376-884b-91c0eb310660' \
 --header 'accept: application/json'

And this is the response:
{
 "data": [
 {
 "amount": 4999,
 "authorization\_amount": 4999,
 "merchant\_amount": 4999,
 "merchant\_authorization\_amount": 4999,
 "merchant\_currency": "USD",
 "acquirer\_fee": 0,
 "created": "2023-01-09T03:45:25Z",
 "events": [],
 "merchant": {
 "acceptor\_id": "527021002008417",
 "city": "8004326348",
 "country": "USA",
 "descriptor": "24 Hour Fitness USA, I",
 "mcc": "7997",
 "state": "CA"
 },
 "network": "MASTERCARD",
 "result": "APPROVED",
 "settled\_amount": 4999,
 "status": "SETTLED",
 "token": "cb488687-63eb-4f11-b5ad-c5ea07e98250",
 "card\_token": "17abad95-4049-41aa-90e1-187734a0666b",
 "authorization\_code": "568270",
 "cardholder\_authentication": {
 "verification\_attempted": "NONE",
 "verification\_result": "NOT\_ATTEMPTED",
 "liability\_shift": "NONE",
 "acquirer\_exemption": "NONE",
 "3ds\_version": null
 },
 "acquirer\_reference\_number": null
 },
 {
 "amount": 10000,
 "authorization\_amount": 10000,
 "merchant\_amount": 10000,
 "merchant\_authorization\_amount": 10000,
 "merchant\_currency": "USD",
 "acquirer\_fee": 0,
 "created": "2023-01-07T21:37:42Z",
 "events": [],
 "merchant": {
 "acceptor\_id": "529000203490",
 "city": "DANVILLE",
 "country": "USA",
 "descriptor": "HAND AND STONE MASSAGE AN",
 "mcc": "7298",
 "state": "CA"
 },
 "network": "VISA",
 "result": "APPROVED",
 "settled\_amount": 10000,
 "status": "SETTLED",
 "token": "9450006c-bdd8-4325-9fc8-56c87da5018d",
 "card\_token": "7a24e146-996b-4d65-b03a-f5a401062c3e",
 "authorization\_code": "306512",
 "cardholder\_authentication": null,
 "acquirer\_reference\_number": null
 },
 {
 "amount": 1519,
 "authorization\_amount": 1519,
 "merchant\_amount": 1519,
 "merchant\_authorization\_amount": 1519,
 "merchant\_currency": "USD",
 "acquirer\_fee": 0,
 "created": "2023-01-06T20:00:53Z",
 "events": [],
 "merchant": {
 "acceptor\_id": "104960047645",
 "city": "Nicosia",
 "country": "CYP",
 "descriptor": "madmuscles.com",
 "mcc": "7298",
 "state": ""
 },
 "network": "VISA",
 "result": "APPROVED",
 "settled\_amount": 1519,
 "status": "SETTLED",
 "token": "e41dffb5-04c7-42b4-916e-99e6363f802f",
 "card\_token": "cc292baa-535f-4a75-b7a3-3fd00b368671",
 "authorization\_code": "042692",
 "cardholder\_authentication": null,
 "acquirer\_reference\_number": null
 },
 {
 "amount": 2900,
 "authorization\_amount": 2900,
 "merchant\_amount": 2900,
 "merchant\_authorization\_amount": 2900,
 "merchant\_currency": "USD",
 "acquirer\_fee": 0,
 "created": "2023-01-05T07:51:45Z",
 "events": [],
 "merchant": {
 "acceptor\_id": "445476127995",
 "city": "SUNNYVALE",
 "country": "USA",
 "descriptor": "23ANDME",
 "mcc": "8071",
 "state": "CA"
 },
 "network": "VISA",
 "result": "APPROVED",
 "settled\_amount": 2900,
 "status": "SETTLED",
 "token": "2466d598-de60-4031-9eb5-cd3b2303adc9",
 "card\_token": "1c7e3aa6-bd0f-4479-9b51-a55c40ed805b",
 "authorization\_code": "611532",
 "cardholder\_authentication": null,
 "acquirer\_reference\_number": null
 }
 ],
 "total\_entries": 4,
 "total\_pages": 1,
 "page": 1
}

Please create a python script that runs every month, on the last day of the month, gets the list of transaction, and then adds those to a google sheet
이 CURL 코드가 있습니다:curl --request GET \ --url 'https://api.privacy.com/v1/transactions? Result=APPROVED&begin=2023-01-01%2000%3A00%3A00&page=1&page\_size=50' \ --header 'authorization: api-key 358fbd4f-f765-4376-884b-91c0eb310660' \. --header 'accept: application/json'그리고 이것이 응답입니다:{ "데이터": [ { "금액": 4999, "승인\_금액": 4999, "가맹점\_금액": 4999, "가맹점\_승인\_금액": 4999, "merchant\_currency": "USD", "매입자\_수수료": 0, "created": "2023-01-09T03:45:25Z", "events": [], "merchant": { "수락자\_ID": "527021002008417", "city": "8004326348", "country": "USA", "설명자": "24 시간 피트니스 미국, 나", "mcc": "7997", "state": "CA" }, "network": "MASTERCARD", "result": "승인됨", "정산\_금액": 4999, "status": "SETTLED", "토큰": "cb488687-63eb-4f11-b5ad-c5ea07e98250", "카드\_token": "17abad95-4049-41aa-90e1-187734a0666b", "authorization\_code": "568270", "카드소지자\_인증": { "확인\_시도": "NONE", "확인\_결과": "NOT\_ATTEMPTED", "LIABILITY\_SHIFT": "NONE", "취득자\_면제": "NONE", "3ds\_version": NULL }, "취득자\_참조\_번호": NULL }, { "금액": 10000, "승인\_금액": 10000, "가맹점\_금액": 10000, "가맹점\_승인\_금액": 10000, "merchant\_currency": "USD", "매입자\_수수료": 0, "created": "2023-01-07T21:37:42Z", "events": [], "merchant": { "수락자\_ID": "529000203490", "city": "DANVILLE", "country": "USA", "설명자": "핸드 앤 스톤 마사지 안", "mcc": "7298", "state": "CA" }, "network": "VISA", "result": "APPROVED", "SETTLED\_AMOUNT": 10000, "status": "SETTLED", "토큰": "9450006c-bdd8-4325-9fc8-56c87da5018d", "card\_token": "7a24e146-996b-4d65-b03a-f5a401062c3e", "authorization\_code": "306512", "카드 소지자\_인증": null, "획득자\_참조\_번호": null }, { "금액": 1519, "승인\_금액": 1519, "가맹점\_금액": 1519, "가맹점\_승인\_금액": 1519, "merchant\_currency": "USD", "매입자\_수수료": 0, "created": "2023-01-06T20:00:53Z", "events": [], "merchant": { "수락자\_ID": "104960047645", "city": "니코시아", "국가": "CYP", "설명자": "madmuscles.com", "mcc": "7298", "상태": "" }, "network": "VISA", "result": "승인됨", "SETTLED\_AMOUNT": 1519, "status": "SETTLED", "토큰": "e41dffb5-04c7-42b4-916e-99e6363f802f", "카드\_토큰": "cc292baa-535f-4a75-b7a3-3fd00b368671", "권한\_코드": "042692", "카드 소지자\_인증": null, "획득자\_참조\_번호": null }, { "금액": 2900, "승인\_금액": 2900, "가맹점\_금액": 2900, "가맹점\_승인\_금액": 2900, "merchant\_currency": "USD", "매입자\_수수료": 0, "created": "2023-01-05T07:51:45Z", "events": [], "merchant": { "수락자\_ID": "445476127995", "city": "SUNNYVALE", "country": "USA", "설명자": "23ANDME", "mcc": "8071", "state": "CA" }, "network": "VISA", "result": "APPROVED", "SETTLED\_AMOUNT": 2900, "status": "SETTLED", "토큰": "2466d598-de60-4031-9eb5-cd3b2303adc9", "card\_token": "1c7e3aa6-bd0f-4479-9b51-a55c40ed805b", "authorization\_code": "611532", "카드소지자\_인증": null, "획득자\_참조\_번호": null } ], "total\_entries": 4, "총\_페이지": 1, "페이지": 1}매월 마지막 날에 실행되어 트랜잭션 목록을 가져온 다음 Google 시트에 추가하는 파이썬 스크립트를 만들어 주세요.