Skip to content
dirtyvagabond edited this page Jun 1, 2012 · 6 revisions

Crosswalk

The crosswalk function provides a translation between Factual IDs, third party IDs, and URLs that represent the same entity across the internet.

Examples:

;; Return all Crosswalk data for the place identified by the specified Factual ID
(fact/crosswalk :factual_id "97598010-433f-4946-8fd5-4a6dd1639d77")
;; Return Loopt.com Crosswalk data for the place identified by the specified Factual ID
(fact/crosswalk :factual_id "97598010-433f-4946-8fd5-4a6dd1639d77" :only "loopt")
;; Return all Crosswalk data for the place identified by the specified Foursquare ID
(fact/crosswalk :namespace "foursquare" :namespace_id "4ae4df6df964a520019f21e3")
;; Return the Yelp.com Crosswalk data for the place identified by a Foursquare ID:
(fact/crosswalk :namespace "foursquare" :namespace_id "4ae4df6df964a520019f21e3" :only "yelp")
Clone this wiki locally