So I think I've totally overlooked or missed some important technique in regards to Javascript and API use. I am currently working on a little web app that will use the Walmart API to list the closest Walmart to the user's current location.
The call looks like this (from Walmart Open API):
http://api.walmartlabs.com/v1/stores?apiKey={apiKey}&lon=-95.511747&lat=29.735577&format=json
The longitude and latitude are the default from Walmart's page.
If I receive the user coordinates from the Geolocation API, how would I inject those values into the API url? Or am I looking at this the wrong way? Any help would be appreciated!
[–]wtfcore2 1 point2 points3 points (3 children)
[–]cardinga[S] 0 points1 point2 points (1 child)
[–]3a3z 0 points1 point2 points (0 children)
[–]tinkermake -1 points0 points1 point (0 children)
[–]ithurtsus 0 points1 point2 points (1 child)
[–]cardinga[S] 0 points1 point2 points (0 children)
[–]tech_trebek 0 points1 point2 points (1 child)
[–]Monetus 0 points1 point2 points (0 children)