List of API's
https://github.com/fawazahmed0/currency-api#readme
https://api.chucknorris.io/
https://github.com/public-apis/public-apis?tab=readme-ov-file#social
How to start ?
Json output
Code
cat http_bin.py
import requests
mydata = requests.get("https://httpbin.org/get")
print(mydata)
data = mydata.json()
print(data)
result=data['headers']["Host"]
print(result)
Output
Links :
https://gitlab.com/parameshwar_a/pyfordevops/-/tree/main?ref_type=heads
https://gitlab.com/parameshwar_a/pyfordevops
Top comments (0)