stable1
This commit is contained in:
1 parent
c022fc2a2d
commit
c6351241c8
7 files changed
+63
-1
No files matched your search
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
import requests
|
||||
import time
|
||||
|
||||
url = "https://api.ikavoid.fr/"
|
||||
|
||||
async def get_api_ping():
|
||||
start_time = time.time()
|
||||
requests.get(url)
|
||||
end_time = time.time()
|
||||
ping = (end_time - start_time) * 1000
|
||||
return ping
|
||||
Reference in new issue
Block a user