diff options
author | loit <michael.foiani@gmail.com> | 2025-07-30 23:05:10 -0400 |
---|---|---|
committer | loit <michael.foiani@gmail.com> | 2025-07-30 23:05:10 -0400 |
commit | de9b1d2297e02a71e06f386066c106406a9477f3 (patch) | |
tree | a7c44acbd5bbc57c69aa41f4dcdd3ed043ed56b1 | |
parent | 65cba4a565c0546da0baf6b625f4d0fb369cf409 (diff) |
test using another api
-rw-r--r-- | test.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +import requests + +url = "https://data.alpaca.markets/v1beta3/crypto/us/quotes?limit=1000&sort=asc" + +headers = {"accept": "application/json"} + +response = requests.get(url, headers=headers) + +print(response.text)
\ No newline at end of file |