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

Convert Yahoo to GeoBoss #148

Open
DenisCarriere opened this issue Aug 9, 2015 · 1 comment
Open

Convert Yahoo to GeoBoss #148

DenisCarriere opened this issue Aug 9, 2015 · 1 comment

Comments

@DenisCarriere
Copy link
Owner

Must include OAuth 2 for credentials

https://developer.yahoo.com/oauth2/guide/

Documentation for GeoBoss & PlaceFinder

https://developer.yahoo.com/boss/geo/docs/pfrequests.html

@DenisCarriere
Copy link
Owner Author

code example

import requests

url = 'http://yboss.yahooapis.com/geo/placefinder'

params = {
    'location': "Ottawa, ON",
    'locale': 'en-CA',
    'flags': 'J'
}

r = requests.get(url, params=params)
print r.content

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

No branches or pull requests

1 participant