Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Adding QueryEscape to support spaces in City and Country references in the API. #2

Merged
merged 2 commits into from
Jun 8, 2019

Conversation

simplyzee
Copy link
Contributor

This PR resolves the issue with spaces in the City and Country reference by escaping the string.

A city such as New York will become New%20York when the API does the request to successfully return the data.

The example has also been updated to use City and Country instead of Longitude and Latitude. The start and end date was amended to support users who use the free tier api key.

@alljames alljames merged commit 10eaef3 into alljames:master Jun 8, 2019
@alljames
Copy link
Owner

alljames commented Jun 8, 2019

Thank you so much for the contribution @zee-ahmed !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants