Advertisement
Guest User

sampleInaturalistAPIresponse

a guest
Nov 11th, 2020
43
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const x = {
  2.   quality_grade: "research",
  3.   time_observed_at: "2020-10-05T18:46:21+11:00",
  4.   taxon_geoprivacy: "open",
  5.   annotations: [],
  6.   uuid: "ab0be27f-1c38-439e-8faa-a9ccc4e82e17",
  7.   observed_on_details: {
  8.     date: "2020-10-05",
  9.     week: 41,
  10.     month: 10,
  11.     hour: 18,
  12.     year: 2020,
  13.     day: 5,
  14.   },
  15.   id: 61760869,
  16.   cached_votes_total: 0,
  17.   identifications_most_agree: true,
  18.   created_at_details: {
  19.     date: "2020-10-05",
  20.     week: 41,
  21.     month: 10,
  22.     hour: 18,
  23.     year: 2020,
  24.     day: 5,
  25.   },
  26.   species_guess: "Red-capped Plover",
  27.   identifications_most_disagree: false,
  28.   tags: [],
  29.   positional_accuracy: 980,
  30.   comments_count: 0,
  31.   site_id: 9,
  32.   created_time_zone: "Asia/Magadan",
  33.   license_code: "cc-by-nc",
  34.   observed_time_zone: "Asia/Magadan",
  35.   quality_metrics: [],
  36.   public_positional_accuracy: 980,
  37.   reviewed_by: [11060, 1175154, 2223254],
  38.   oauth_application_id: 2,
  39.   flags: [],
  40.   created_at: "2020-10-05T18:59:16+11:00",
  41.   description:
  42.     "I wandered a little to close to this one's nest and it started running towards me then laying out its wings to scare me off. Eventually i saw the eggs and went around.",
  43.   time_zone_offset: "+11:00",
  44.   project_ids_with_curator_id: [],
  45.   observed_on: "2020-10-05",
  46.   observed_on_string: "2020-10-05 6:46:21 PM GMT+11:00",
  47.   updated_at: "2020-10-05T19:32:58+11:00",
  48.   sounds: [],
  49.   place_ids: [6744, 6825, 49028, 68734, 97393, 117951, 117996, 143923],
  50.   captive: false,
  51.   taxon: {
  52.     is_active: true,
  53.     ancestry: "48460/1/2/355675/3/67561/4783/4784",
  54.     min_species_ancestry: "48460,1,2,355675,3,67561,4783,4784,4803",
  55.     endemic: false,
  56.     iconic_taxon_id: 3,
  57.     min_species_taxon_id: 4803,
  58.     threatened: false,
  59.     rank_level: 10,
  60.     introduced: false,
  61.     native: true,
  62.     parent_id: 4784,
  63.     name: "Charadrius ruficapillus",
  64.     rank: "species",
  65.     extinct: false,
  66.     id: 4803,
  67.     ancestor_ids: [48460, 1, 2, 355675, 3, 67561, 4783, 4784, 4803],
  68.     photos_locked: false,
  69.     taxon_schemes_count: 8,
  70.     wikipedia_url: "http://en.wikipedia.org/wiki/Red-capped_plover",
  71.     current_synonymous_taxon_ids: null,
  72.     created_at: "2008-03-13T02:46:27+00:00",
  73.     taxon_changes_count: 0,
  74.     complete_species_count: null,
  75.     universal_search_rank: 573,
  76.     observations_count: 573,
  77.     flag_counts: { unresolved: 0, resolved: 0 },
  78.     atlas_id: null,
  79.     complete_rank: "subspecies",
  80.     default_photo: {
  81.       square_url:
  82.         "https://static.inaturalist.org/photos/23649/square.jpg?1545406802",
  83.       attribution: "(c) Leo, algunos derechos reservados (CC BY-NC-SA)",
  84.       flags: [],
  85.       medium_url:
  86.         "https://static.inaturalist.org/photos/23649/medium.jpg?1545406802",
  87.       id: 23649,
  88.       license_code: "cc-by-nc-sa",
  89.       original_dimensions: [Object],
  90.       url: "https://static.inaturalist.org/photos/23649/square.jpg?1545406802",
  91.     },
  92.     iconic_taxon_name: "Aves",
  93.     preferred_common_name: "Red-capped Plover",
  94.     wikipedia_summary:
  95.       "The <b>red-capped plover</b> (<i>Charadrius ruficapillus</i>), also known as the <b>red-capped dotterel</b>, is a small plover.",
  96.   },
  97.   ident_taxon_ids: [48460, 1, 2, 355675, 3, 67561, 4783, 4784, 4803],
  98.   outlinks: [],
  99.   faves_count: 0,
  100.   ofvs: [],
  101.   num_identification_agreements: 2,
  102.   preferences: { prefers_community_taxon: null },
  103.   comments: [],
  104.   map_scale: null,
  105.   uri: "https://www.inaturalist.org/observations/61760869",
  106.   project_ids: [],
  107.   community_taxon_id: 4803,
  108.   geojson: { coordinates: [153.0386351421, -31.0822528682], type: "Point" },
  109.   owners_identification_from_vision: false,
  110.   identifications_count: 2,
  111.   obscured: false,
  112.   num_identification_disagreements: 0,
  113.   geoprivacy: null,
  114.   location: "-31.0822528682,153.0386351421",
  115.   votes: [],
  116.   spam: false,
  117.   user: {
  118.     site_id: 9,
  119.     created_at: "2018-08-31T12:18:29+00:00",
  120.     id: 1175154,
  121.     login: "tayloredtotaylor",
  122.     spam: false,
  123.     suspended: false,
  124.     preferences: {},
  125.     login_autocomplete: "tayloredtotaylor",
  126.     login_exact: "tayloredtotaylor",
  127.     name: "Taylor",
  128.     name_autocomplete: "Taylor",
  129.     orcid: null,
  130.     icon:
  131.       "https://static.inaturalist.org/attachments/users/icons/1175154/thumb.jpg?1536140767",
  132.     observations_count: 981,
  133.     identifications_count: 8,
  134.     journal_posts_count: 0,
  135.     activity_count: 989,
  136.     species_count: 500,
  137.     universal_search_rank: 981,
  138.     roles: [],
  139.     icon_url:
  140.       "https://static.inaturalist.org/attachments/users/icons/1175154/medium.jpg?1536140767",
  141.   },
  142.   mappable: true,
  143.   identifications_some_agree: true,
  144.   project_ids_without_curator_id: [],
  145.   place_guess: "Hat Head NSW 2440, Australia",
  146.   identifications: [
  147.     {
  148.       id: 134674264,
  149.       uuid: "497b748b-4da9-43f2-966e-0a6951d1a0d7",
  150.       user: [Object],
  151.       created_at: "2020-10-05T18:59:16+11:00",
  152.       created_at_details: [Object],
  153.       body: null,
  154.       category: "improving",
  155.       current: true,
  156.       flags: [],
  157.       own_observation: true,
  158.       taxon_change: null,
  159.       vision: false,
  160.       disagreement: null,
  161.       previous_observation_taxon_id: 4803,
  162.       spam: false,
  163.       taxon_id: 4803,
  164.       hidden: false,
  165.       moderator_actions: [],
  166.       taxon: [Object],
  167.       previous_observation_taxon: [Object],
  168.     },
  169.     {
  170.       id: 134674322,
  171.       uuid: "8e51c7d3-9c5e-422b-b541-9582f9876baf",
  172.       user: [Object],
  173.       created_at: "2020-10-05T19:00:27+11:00",
  174.       created_at_details: [Object],
  175.       body: null,
  176.       category: "supporting",
  177.       current: true,
  178.       flags: [],
  179.       own_observation: false,
  180.       taxon_change: null,
  181.       vision: false,
  182.       disagreement: false,
  183.       previous_observation_taxon_id: 4803,
  184.       spam: false,
  185.       taxon_id: 4803,
  186.       hidden: false,
  187.       moderator_actions: [],
  188.       taxon: [Object],
  189.       previous_observation_taxon: [Object],
  190.     },
  191.     {
  192.       id: 134677263,
  193.       uuid: "8ef5d81e-9780-455e-a201-fab5bcb9dbb9",
  194.       user: [Object],
  195.       created_at: "2020-10-05T19:32:58+11:00",
  196.       created_at_details: [Object],
  197.       body: null,
  198.       category: "supporting",
  199.       current: true,
  200.       flags: [],
  201.       own_observation: false,
  202.       taxon_change: null,
  203.       vision: false,
  204.       disagreement: false,
  205.       previous_observation_taxon_id: 4803,
  206.       spam: false,
  207.       taxon_id: 4803,
  208.       hidden: false,
  209.       moderator_actions: [],
  210.       taxon: [Object],
  211.       previous_observation_taxon: [Object],
  212.     },
  213.   ],
  214.   project_observations: [],
  215.   photos: [
  216.     {
  217.       id: 98866489,
  218.       license_code: "cc-by-nc",
  219.       url:
  220.         "https://static.inaturalist.org/photos/98866489/square.jpeg?1601884765",
  221.       attribution: "(c) Taylor, some rights reserved (CC BY-NC)",
  222.       original_dimensions: [Object],
  223.       flags: [],
  224.     },
  225.     {
  226.       id: 98866495,
  227.       license_code: "cc-by-nc",
  228.       url:
  229.         "https://static.inaturalist.org/photos/98866495/square.jpeg?1601884773",
  230.       attribution: "(c) Taylor, some rights reserved (CC BY-NC)",
  231.       original_dimensions: [Object],
  232.       flags: [],
  233.     },
  234.     {
  235.       id: 98866509,
  236.       license_code: "cc-by-nc",
  237.       url:
  238.         "https://static.inaturalist.org/photos/98866509/square.jpeg?1601884782",
  239.       attribution: "(c) Taylor, some rights reserved (CC BY-NC)",
  240.       original_dimensions: [Object],
  241.       flags: [],
  242.     },
  243.     {
  244.       id: 98866513,
  245.       license_code: "cc-by-nc",
  246.       url:
  247.         "https://static.inaturalist.org/photos/98866513/square.jpeg?1601884792",
  248.       attribution: "(c) Taylor, some rights reserved (CC BY-NC)",
  249.       original_dimensions: [Object],
  250.       flags: [],
  251.     },
  252.     {
  253.       id: 98866524,
  254.       license_code: "cc-by-nc",
  255.       url:
  256.         "https://static.inaturalist.org/photos/98866524/square.jpeg?1601884802",
  257.       attribution: "(c) Taylor, some rights reserved (CC BY-NC)",
  258.       original_dimensions: [Object],
  259.       flags: [],
  260.     },
  261.     {
  262.       id: 98866530,
  263.       license_code: "cc-by-nc",
  264.       url:
  265.         "https://static.inaturalist.org/photos/98866530/square.jpeg?1601884813",
  266.       attribution: "(c) Taylor, some rights reserved (CC BY-NC)",
  267.       original_dimensions: [Object],
  268.       flags: [],
  269.     },
  270.     {
  271.       id: 98866537,
  272.       license_code: "cc-by-nc",
  273.       url:
  274.         "https://static.inaturalist.org/photos/98866537/square.jpeg?1601884820",
  275.       attribution: "(c) Taylor, some rights reserved (CC BY-NC)",
  276.       original_dimensions: [Object],
  277.       flags: [],
  278.     },
  279.   ],
  280.   observation_photos: [
  281.     {
  282.       id: 92195965,
  283.       position: 0,
  284.       uuid: "f21b46cf-08f3-4555-9d7d-bea0a951baf9",
  285.       photo: [Object],
  286.     },
  287.     {
  288.       id: 92195970,
  289.       position: 1,
  290.       uuid: "298f20ce-0087-48e4-b5eb-5b9e6c3e3779",
  291.       photo: [Object],
  292.     },
  293.     {
  294.       id: 92195980,
  295.       position: 2,
  296.       uuid: "17e87ae5-d97d-4b9f-92bf-24af4b274f0b",
  297.       photo: [Object],
  298.     },
  299.     {
  300.       id: 92195982,
  301.       position: 3,
  302.       uuid: "dc3c9d7d-6f2e-4de0-baa1-532dfa2fd3f9",
  303.       photo: [Object],
  304.     },
  305.     {
  306.       id: 92195990,
  307.       position: 4,
  308.       uuid: "eab8d133-0199-4e35-8d34-f91f8d1755c0",
  309.       photo: [Object],
  310.     },
  311.     {
  312.       id: 92195996,
  313.       position: 5,
  314.       uuid: "8e9756da-ea17-4177-b6f9-9bc889570464",
  315.       photo: [Object],
  316.     },
  317.     {
  318.       id: 92196003,
  319.       position: 6,
  320.       uuid: "d2894e0b-89c2-41d5-9ac2-e65a49103bea",
  321.       photo: [Object],
  322.     },
  323.   ],
  324.   application: {
  325.     id: 2,
  326.     name: "iNaturalist Android App",
  327.     url:
  328.       "https://play.google.com/store/apps/details?id=org.inaturalist.android",
  329.     icon: "https://www.google.com/s2/favicons?domain=play.google.com",
  330.   },
  331.   community_taxon: {
  332.     id: 4803,
  333.     rank: "species",
  334.     rank_level: 10,
  335.     iconic_taxon_id: 3,
  336.     ancestor_ids: [48460, 1, 2, 355675, 3, 67561, 4783, 4784, 4803],
  337.     is_active: true,
  338.     min_species_taxon_id: 4803,
  339.     name: "Charadrius ruficapillus",
  340.     parent_id: 4784,
  341.     ancestry: "48460/1/2/355675/3/67561/4783/4784",
  342.     min_species_ancestry: "48460,1,2,355675,3,67561,4783,4784,4803",
  343.     extinct: false,
  344.     created_at: "2008-03-13T02:46:27+00:00",
  345.     default_photo: {
  346.       id: 23649,
  347.       license_code: "cc-by-nc-sa",
  348.       attribution: "(c) Leo, algunos derechos reservados (CC BY-NC-SA)",
  349.       url: "https://static.inaturalist.org/photos/23649/square.jpg?1545406802",
  350.       original_dimensions: [Object],
  351.       flags: [],
  352.       square_url:
  353.         "https://static.inaturalist.org/photos/23649/square.jpg?1545406802",
  354.       medium_url:
  355.         "https://static.inaturalist.org/photos/23649/medium.jpg?1545406802",
  356.     },
  357.     taxon_changes_count: 0,
  358.     taxon_schemes_count: 8,
  359.     observations_count: 573,
  360.     photos_locked: false,
  361.     universal_search_rank: 573,
  362.     flag_counts: { resolved: 0, unresolved: 0 },
  363.     current_synonymous_taxon_ids: null,
  364.     taxon_photos: [
  365.       [Object],
  366.       [Object],
  367.       [Object],
  368.       [Object],
  369.       [Object],
  370.       [Object],
  371.       [Object],
  372.       [Object],
  373.       [Object],
  374.       [Object],
  375.     ],
  376.     atlas_id: null,
  377.     complete_species_count: null,
  378.     wikipedia_url: "http://en.wikipedia.org/wiki/Red-capped_plover",
  379.     complete_rank: "subspecies",
  380.     iconic_taxon_name: "Aves",
  381.     preferred_common_name: "Red-capped Plover",
  382.   },
  383.   faves: [],
  384.   non_owner_ids: [
  385.     {
  386.       id: 134674322,
  387.       uuid: "8e51c7d3-9c5e-422b-b541-9582f9876baf",
  388.       user: [Object],
  389.       created_at: "2020-10-05T19:00:27+11:00",
  390.       created_at_details: [Object],
  391.       body: null,
  392.       category: "supporting",
  393.       current: true,
  394.       flags: [],
  395.       own_observation: false,
  396.       taxon_change: null,
  397.       vision: false,
  398.       disagreement: false,
  399.       previous_observation_taxon_id: 4803,
  400.       spam: false,
  401.       taxon_id: 4803,
  402.       hidden: false,
  403.       moderator_actions: [],
  404.       taxon: [Object],
  405.       previous_observation_taxon: [Object],
  406.     },
  407.     {
  408.       id: 134677263,
  409.       uuid: "8ef5d81e-9780-455e-a201-fab5bcb9dbb9",
  410.       user: [Object],
  411.       created_at: "2020-10-05T19:32:58+11:00",
  412.       created_at_details: [Object],
  413.       body: null,
  414.       category: "supporting",
  415.       current: true,
  416.       flags: [],
  417.       own_observation: false,
  418.       taxon_change: null,
  419.       vision: false,
  420.       disagreement: false,
  421.       previous_observation_taxon_id: 4803,
  422.       spam: false,
  423.       taxon_id: 4803,
  424.       hidden: false,
  425.       moderator_actions: [],
  426.       taxon: [Object],
  427.       previous_observation_taxon: [Object],
  428.     },
  429.   ],
  430. };
  431.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement