Advertisement
Joze

Untitled

Dec 19th, 2011
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Ejemplo de búsqueda de la API pública de 4square:
  2. https://api.foursquare.com/v2/venues/search?intent=match&ll=41.338559,1.995075&query=iz3
  3. {
  4.    * meta: {
  5.       * code: 200
  6. }
  7.    * notifications: [
  8.       * {
  9.          * type: "notificationTray"
  10.          * item: {
  11.             * unreadCount: 0
  12. }
  13. }
  14. ]
  15.    * response: {
  16.       * venues: [
  17.          * {
  18.             * id: "4edcf826d3e346be375f891c"
  19.             * name: "iZ3"
  20.             * contact: { }
  21.             * location: {
  22.                * lat: 41.338436
  23.                * lng: 1.995268
  24.                * distance: 21
  25. }
  26.             * categories: [ ]
  27.             * verified: false
  28.             * stats: {
  29.                * checkinsCount: 0
  30.                * usersCount: 0
  31.                * tipCount: 0
  32. }
  33.             * hereNow: {
  34.                * count: 0
  35. }
  36. }
  37.          * {
  38.             * id: "4edcf84c722e1da3054d778c"
  39.             * name: "iZ3"
  40.             * contact: { }
  41.             * location: {
  42.                * lat: 41.338436
  43.                * lng: 1.995268
  44.                * distance: 21
  45. }
  46.             * categories: [ ]
  47.             * verified: false
  48.             * stats: {
  49.                * checkinsCount: 0
  50.                * usersCount: 0
  51.                * tipCount: 0
  52. }
  53.             * hereNow: {
  54.                * count: 0
  55. }
  56. }
  57.          * {
  58.             * id: "4ee8f14829c284f4bb49ea3b"
  59.             * name: "iZ3 / iZ3Solutions"
  60.             * contact: {
  61.                * twitter: "iz3solutions"
  62. }
  63.             * location: {
  64.                * address: "Costafustera 10"
  65.                * lat: 41.338429
  66.                * lng: 1.995108
  67.                * distance: 14
  68.                * postalCode: "08849"
  69.                * city: "Sant Climent del Llobregat"
  70.                * state: "Barcelona"
  71. }
  72.             * categories: [
  73.                * {
  74.                   * id: "4bf58dd8d48988d125941735"
  75.                   * name: "Tech Startup"
  76.                   * pluralName: "Tech Startups"
  77.                   * shortName: "Tech Startup"
  78.                   * icon: {
  79.                      * prefix: "https://foursquare.com/img/categories/shops/technology_"
  80.                      * sizes: [
  81.                         * 32
  82.                         * 44
  83.                         * 64
  84.                         * 88
  85.                         * 256
  86. ]
  87.                      * name: ".png"
  88. }
  89.                   * primary: true
  90. }
  91. ]
  92.             * verified: false
  93.             * stats: {
  94.                * checkinsCount: 0
  95.                * usersCount: 0
  96.                * tipCount: 0
  97. }
  98.             * hereNow: {
  99.                * count: 0
  100. }
  101. }
  102.          * {
  103.             * id: "4ee8f1d60e019eee5ea4d29b"
  104.             * name: "iZ3 / iZ3Solutions"
  105.             * contact: {
  106.                * twitter: "iz3solutions"
  107. }
  108.             * location: {
  109.                * address: "Costafustera 10"
  110.                * lat: 41.338416
  111.                * lng: 1.995068
  112.                * distance: 15
  113.                * postalCode: "08849"
  114.                * state: "Barcelona"
  115. }
  116.             * categories: [
  117.                * {
  118.                   * id: "4bf58dd8d48988d125941735"
  119.                   * name: "Tech Startup"
  120.                   * pluralName: "Tech Startups"
  121.                   * shortName: "Tech Startup"
  122.                   * icon: {
  123.                      * prefix: "https://foursquare.com/img/categories/shops/technology_"
  124.                      * sizes: [
  125.                         * 32
  126.                         * 44
  127.                         * 64
  128.                         * 88
  129.                         * 256
  130. ]
  131.                      * name: ".png"
  132. }
  133.                   * primary: true
  134. }
  135. ]
  136.             * verified: false
  137.             * stats: {
  138.                * checkinsCount: 1
  139.                * usersCount: 1
  140.                * tipCount: 1
  141. }
  142.             * hereNow: {
  143.                * count: 0
  144. }
  145. }
  146. ]
  147. }
  148. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement