As a means of learning the very basics of algorithmic trading and OANDA, I found a tutorial on how to make a very basic trading algorithm to "practice" algorithmic trading. The only issue is that the tutorial uses OANDA's v1 REST API, whereas it now uses v20 REST API.
The Python module oandapyV20 seems to have replaced oandapy, and it seems like there are methods that have become deprecated in the newest module. For example, on line #7 of the tutorial, it uses a method called get_history, and that seems to be totally deprecated now from what I can tell.
My question is, what could I do to replace the get_history method in particular, and are there any other sections of the code in the tutorial that someone who is familiar with the OANDA v20 REST API might see that are also going to be problematic/need to be totally reworked?