• Get Real Time Crypto Swap Rate On SushiSwap In Python With Selenium

  • 2023/07/08
  • 再生時間: 10 分
  • ポッドキャスト

Get Real Time Crypto Swap Rate On SushiSwap In Python With Selenium

  • サマリー

  • SushiSwap is a decentralized exchange where users can trade crypto and transact with tokens on the same chain and across different chains. Kick back and I'll show you how to get real time crypto swap rate data from SushiSwap using python and selenium.


    If it's your first time working with selenium, check out this video below to learn how to download google chrome driver and install selenium.

    https://youtu.be/jUS64V2jDiY


    All the code from this video can be found on my github.

    https://github.com/AdamGetbags/sushiSwapScraper/blob/main/sushiSwapScraper.py


    0:22 open selenium docs

    0:43 open SushiSwap url

    1:17 import modules, assign url, create class for our scraper

    1:40 optional make browser headless

    1:55 open url, find element by XPATH, click element

    2:39 how to locate elements // selenium docs

    4:12 find element by ID, send keys

    5:59 parse through multiple elements using find_elements()

    6:28 finding parent elements of given element

    7:18 finding element by FULL XPATH

    8:35 testing the bot

    - - -  

    Follow the podcast and join our larger community on Youtube to receive value on all things finance and technology!   

    https://www.youtube.com/c/adamgetbags

    If you love the content, buy me a coffee! 

    https://www.buymeacoffee.com/adamgetbags   

    Keep up with me! 

    https://www.instagram.com/damgetbags 

    https://twitter.com/damgetbags

    - - -   

    Need some ideas for your project portfolio?  

    Check out how to get historical option price data in Python from the Polygon API. 

    https://youtu.be/87O9qxfMJ-g

    Here's how to quickly get crypto data in Python from the CoinGecko API

    https://youtu.be/4-CC3u4i73k

    Here's how to create a SQL database from a Pandas DataFrame in Python

    https://youtu.be/9IPlc-nKD1k

    - - -   

    DISCLAIMER: The Information on Async Finance is provided for education and informational purposes only, without any express or implied warranty of any kind, including warranties of accuracy, completeness, or fitness for any particular purpose. The Information contained in or provided from or through Async Finance is not intended to be and does not constitute financial advice, investment recommendations, investment advice, trading advice, or any other advice. The Information on Async Finance is general in nature and is not specific to you the User or anyone else. You should not make any decision, financial, investment, trading, or otherwise, based on any of The Information presented on Async Finance without undertaking independent due diligence and consultation with a professional broker or financial advisory.

    続きを読む 一部表示

あらすじ・解説

SushiSwap is a decentralized exchange where users can trade crypto and transact with tokens on the same chain and across different chains. Kick back and I'll show you how to get real time crypto swap rate data from SushiSwap using python and selenium.


If it's your first time working with selenium, check out this video below to learn how to download google chrome driver and install selenium.

https://youtu.be/jUS64V2jDiY


All the code from this video can be found on my github.

https://github.com/AdamGetbags/sushiSwapScraper/blob/main/sushiSwapScraper.py


0:22 open selenium docs

0:43 open SushiSwap url

1:17 import modules, assign url, create class for our scraper

1:40 optional make browser headless

1:55 open url, find element by XPATH, click element

2:39 how to locate elements // selenium docs

4:12 find element by ID, send keys

5:59 parse through multiple elements using find_elements()

6:28 finding parent elements of given element

7:18 finding element by FULL XPATH

8:35 testing the bot

- - -  

Follow the podcast and join our larger community on Youtube to receive value on all things finance and technology!   

https://www.youtube.com/c/adamgetbags

If you love the content, buy me a coffee! 

https://www.buymeacoffee.com/adamgetbags   

Keep up with me! 

https://www.instagram.com/damgetbags 

https://twitter.com/damgetbags

- - -   

Need some ideas for your project portfolio?  

Check out how to get historical option price data in Python from the Polygon API. 

https://youtu.be/87O9qxfMJ-g

Here's how to quickly get crypto data in Python from the CoinGecko API

https://youtu.be/4-CC3u4i73k

Here's how to create a SQL database from a Pandas DataFrame in Python

https://youtu.be/9IPlc-nKD1k

- - -   

DISCLAIMER: The Information on Async Finance is provided for education and informational purposes only, without any express or implied warranty of any kind, including warranties of accuracy, completeness, or fitness for any particular purpose. The Information contained in or provided from or through Async Finance is not intended to be and does not constitute financial advice, investment recommendations, investment advice, trading advice, or any other advice. The Information on Async Finance is general in nature and is not specific to you the User or anyone else. You should not make any decision, financial, investment, trading, or otherwise, based on any of The Information presented on Async Finance without undertaking independent due diligence and consultation with a professional broker or financial advisory.

activate_buybox_copy_target_t1

Get Real Time Crypto Swap Rate On SushiSwap In Python With Seleniumに寄せられたリスナーの声

カスタマーレビュー:以下のタブを選択することで、他のサイトのレビューをご覧になれます。