skip to Main Content

Select specific values from JSON output

I am querying a REST API and I need to select 2 fields from the adapter output below. I basically need to make variables from OUT_Detailed Description and OUT_Vendor Ticket Number: Code: headers = {'content-type': 'application/json', 'Authentication-Token': authToken} response =…

VIEW QUESTION

Requesting JSON data in python for web-scraping

I use the code below to fetch the JSON data for some of the stocks (e.g. https://www.tipranks.com/stocks/tsla/forecast ): import json import requests url = " https://tr-frontend-cdn.azureedge.net/bff/prod/stock/tsla/payload.json?ver=1678406987078" req = requests.get(url) data = req.json() But the website also has the data for…

VIEW QUESTION
Back To Top
Search