fetch_content¶
- swpy.swds.request.fetch_content(url)¶
-
It fetches
JSON
data from the given URL. If an exception occurs during the request, it prints an error message and returnsNone
. - Parameters
str
) – URL containing the data to be fetched.
requests.json()
.