This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import aiohttp | |
import asyncio | |
import requests | |
max_connections=10 # this will change how many concurrent downloads there are | |
url = "https://better-call.dev/v1/contract/mainnet/KT1RJ6PbjHpwc3M5rw5s2Nbmefwbuwbdxton/tokens" | |
r = requests.get(url) | |
data = r.json() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import math | |
def anglepoint(rad, theta): | |
return [round(rad * math.cos(math.radians(theta)), 2), round(rad * math.sin(math.radians(theta)), 2)] | |
inx = 40 | |
a = 10 |