Is it possible to perform searches?
Is the Search API implemented here? https://eodhistoricaldata.com/api/search/{query_string}
Yes, you are right, the Search API is implemented here.
I'm sorry, I did not find the function in the documentation nor in the code. Can you point me in the right direction or provide a code sample, please?
I would like to perform this: https://eodhistoricaldata.com/api/search/GB0008706128?api_token={API_TOKEN}
Hello Matheus, this API endpoint had been developed recently and we did not update Python code for this API feed, we will do it soon, and as a quick workaround I can recommend using import JSON, basically, there is only two lines of the code:
import urllib.request, json
with urllib.request.urlopen("https://eodhistoricaldata.com/api/search/GB0008706128?api_token={API_TOKEN}") as url:
data = json.loads(url.read().decode())
print(data)
Hi, thanks for answering. No problem. I am already doing that. I was just looking for a more concise way to do it.
Thank you for the response, we also will publish the updated code for our new APIs.