- Joined
- May 5, 2022
- Messages
- 9
- Reaction score
- 3
- First Language
- English
- Primarily Uses
- RMMZ
I need to be able to save a code from a http get request to a game variable as I want the code to change every so often.
im not sure how to go about even doing that if need be an example json output from the site hosting the code:
i need it to get only the code 1234567 from the json output to a game variable. any help would be greatly appriciated.
im not sure how to go about even doing that if need be an example json output from the site hosting the code:
Code:
b'{"items":[{"_id":"SINGLE_ITEM_ID","_owner":"c4e0080b-3101-43d8-9144-8cd374e5b21b","_createdDate":"2022-05-24T23:34:02.328Z","_updatedDate":"2022-05-26T00:36:24.498Z","code":1234567}]}'
i need it to get only the code 1234567 from the json output to a game variable. any help would be greatly appriciated.