Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed urllib uses in services. #71

Merged
merged 10 commits into from
Feb 1, 2018
Merged

fixed urllib uses in services. #71

merged 10 commits into from
Feb 1, 2018

Conversation

Buffer0x7cd
Copy link
Contributor

No description provided.

import requests


CALC_BASEURL = "https://encrypted.google.com/search?"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you need the ? at the end? I am assuming its added automatically.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for others too

query = quote(name)
link = "https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol={0}&interval=1min&apikey="+ALPHA_VANTAGE_STOCK_API
url = link.format(query)
# query = quote(name)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should not be here

Copy link
Member

@vicky002 vicky002 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM.

@vicky002 vicky002 merged commit 621f035 into master Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants