Archives du tag : programming
Flickr, Foursquare, oauth, géolocalisation: notes
Voici quelques notes en vue de jouer avec la geolocalisation, et quelques API « géolocalisées ». Flickr: http://www.flickr.com/services/api/flickr.photos.search.html Nécessite une API key recherche par tags possible, donc possible de rechercher foursquare:venue=XXXX Limite de requêtes (par jour/heures/??): ??? OAuth: Zend_OAuth: incubator pour l’Instant http://blog.astrumfutura.com/archives/411-Writing-A-Simple-Twitter-Client-Using-the-PHP-Zend-Frameworks-OAuth-Library-Zend_Oauth.html … Lire la suite
geocoding, latitude, longitude and distance
from http://code.google.com/intl/fr-FR/apis/maps/articles/phpsqlsearch.html: Here’s the SQL statement that will find the closest 20 locations that are within a radius of 25 miles to the 37, -122 coordinate. It calculates the distance based on the latitude/longitude of that row and the target latitude/longitude, … Lire la suite