EDIT: Also you could search thru GitHub for examples, or even just describe the method to ChatGPT itself and ask it to generate a complete working example code for you. When I’m stuck on something sometimes I just can describe the issue to ChatGPT and it will tell me what I’m doing wrong, or write the full code for me.