{"id":28355,"date":"2022-07-20T07:12:01","date_gmt":"2022-07-20T11:12:01","guid":{"rendered":"https:\/\/globalfishingwatch.org\/?post_type=ht_kb&#038;p=28355"},"modified":"2022-07-20T07:12:01","modified_gmt":"2022-07-20T11:12:01","slug":"que-es-un-token-de-acceso-a-la-api","status":"publish","type":"ht_kb","link":"https:\/\/globalfishingwatch.org\/es\/faqs\/que-es-un-token-de-acceso-a-la-api\/","title":{"rendered":"\u00bfQu\u00e9 es un token de acceso a la API?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">El token de acceso a una API (interfaz de programaci\u00f3n de aplicaciones) es el mecanismo que utiliza la computadora para otorgar o rechazar el acceso a los datos de Global Fishing Watch (GFW).\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Por ejemplo, <\/span><b>los desarrolladores de la organizaci\u00f3n \u00abA<\/b><span style=\"font-weight: 400;\">\u00bb tienen un token de acceso a la API compuesto por n\u00fameros y letras, se parece a esto: <\/span><i><span style=\"font-weight: 400;\">lrN4w3r5t6y7u8imeqwcH9ATN2US8IxxWhwKj87C7jYfJh2p9YU_D8JhVwtK4UAPS9LWFfnrXLCVIwo_QqZdKiwxoFwfJn2YEiO10JI4MRkDDuae0I38r1olbWofz6nEYLW-tOBNG1suOPhqe3IzNFf4CmjnSIvJVoB4HrVRFgpuVrt0xNSB6XYz46hMLyuFErVtiX96gwMDaRIveNC4dE\u201d<\/span><\/i><\/p>\n<p><span style=\"font-weight: 400;\">Tambi\u00e9n hay<\/span><b> otros desarrolladores de la organizaci\u00f3n \u201cB\u201d<\/b><span style=\"font-weight: 400;\"> que no tienen un token de acceso a la API.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Cuando<\/span><b> los desarrolladores de la organizaci\u00f3n \u00abA<\/b><span style=\"font-weight: 400;\">\u00bb desean obtener actividad pesquera de la API de Global Fishing Watch, deben enviar ese token de acceso a la API de GFW y la computadora verificar\u00e1 si tienen acceso a esos datos.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Si tienen acceso, la computadora devolver\u00e1 los detalles del esfuerzo pesquero<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Si no tienen acceso, la computadora devolver\u00e1 un error \u201cNot authorized\u00bb ( es espa\u00f1ol \u00abNo autorizado\u00bb)<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Si <\/span><b>los desarrolladores de la organizaci\u00f3n \u00abB\u00bb<\/b><span style=\"font-weight: 400;\"> desean obtener actividad pesquera de la API de Global Fishing Watch y realizan una solicitud a la API sin un token de acceso, al igual que antes, la computadora verificar\u00e1 si tienen acceso a esos datos.<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Como no enviaron el token de acceso a la API, la computadora no puede verificar qui\u00e9nes son y, en consecuencia, devolver\u00e1 un error\u00a0 \u201cNot authorized\u00bb ( es espa\u00f1ol \u00abNo autorizado\u00bb)<\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>El token de acceso a una API (interfaz de programaci\u00f3n de aplicaciones) es el mecanismo que utiliza la computadora para otorgar o rechazar el acceso a los datos de Global Fishing Watch (GFW).\u00a0 Por ejemplo, los desarrolladores de la organizaci\u00f3n \u00abA\u00bb tienen un token de acceso a la API compuesto por n\u00fameros y letras, se [&hellip;]<\/p>\n","protected":false},"author":12,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"ht-kb-category":[850],"ht-kb-tag":[],"class_list":["post-28355","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-apis-2"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v28.4 (Yoast SEO v28.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>\u00bfQu\u00e9 es un token de acceso a la API? - Global Fishing Watch<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/globalfishingwatch.org\/es\/faqs\/que-es-un-token-de-acceso-a-la-api\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u00bfQu\u00e9 es un token de acceso a la API?\" \/>\n<meta property=\"og:description\" content=\"El token de acceso a una API (interfaz de programaci\u00f3n de aplicaciones) es el mecanismo que utiliza la computadora para otorgar o rechazar el acceso a los datos de Global Fishing Watch (GFW).\u00a0 Por ejemplo, los desarrolladores de la organizaci\u00f3n \u00abA\u00bb tienen un token de acceso a la API compuesto por n\u00fameros y letras, se [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/globalfishingwatch.org\/es\/faqs\/que-es-un-token-de-acceso-a-la-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Global Fishing Watch\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GlobalFishingWatch\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/globalfishingwatch.org\/wp-content\/uploads\/high_res-1-1400x788.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1400\" \/>\n\t<meta property=\"og:image:height\" content=\"788\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@GlobalFishWatch\" \/>\n<meta name=\"twitter:label1\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuto\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u00bfQu\u00e9 es un token de acceso a la API? - Global Fishing Watch","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/globalfishingwatch.org\/es\/faqs\/que-es-un-token-de-acceso-a-la-api\/","og_locale":"es_ES","og_type":"article","og_title":"\u00bfQu\u00e9 es un token de acceso a la API?","og_description":"El token de acceso a una API (interfaz de programaci\u00f3n de aplicaciones) es el mecanismo que utiliza la computadora para otorgar o rechazar el acceso a los datos de Global Fishing Watch (GFW).\u00a0 Por ejemplo, los desarrolladores de la organizaci\u00f3n \u00abA\u00bb tienen un token de acceso a la API compuesto por n\u00fameros y letras, se [&hellip;]","og_url":"https:\/\/globalfishingwatch.org\/es\/faqs\/que-es-un-token-de-acceso-a-la-api\/","og_site_name":"Global Fishing Watch","article_publisher":"https:\/\/www.facebook.com\/GlobalFishingWatch\/","og_image":[{"width":1400,"height":788,"url":"https:\/\/globalfishingwatch.org\/wp-content\/uploads\/high_res-1-1400x788.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_site":"@GlobalFishWatch","twitter_misc":{"Tiempo de lectura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/globalfishingwatch.org\/es\/faqs\/que-es-un-token-de-acceso-a-la-api\/","url":"https:\/\/globalfishingwatch.org\/es\/faqs\/que-es-un-token-de-acceso-a-la-api\/","name":"\u00bfQu\u00e9 es un token de acceso a la API? - Global Fishing Watch","isPartOf":{"@id":"https:\/\/globalfishingwatch.org\/es\/#website"},"datePublished":"2022-07-20T11:12:01+00:00","breadcrumb":{"@id":"https:\/\/globalfishingwatch.org\/es\/faqs\/que-es-un-token-de-acceso-a-la-api\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/globalfishingwatch.org\/es\/faqs\/que-es-un-token-de-acceso-a-la-api\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/globalfishingwatch.org\/es\/faqs\/que-es-un-token-de-acceso-a-la-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Inicio","item":"https:\/\/globalfishingwatch.org\/es\/"},{"@type":"ListItem","position":2,"name":"\u00bfQu\u00e9 es un token de acceso a la API?"}]},{"@type":"WebSite","@id":"https:\/\/globalfishingwatch.org\/es\/#website","url":"https:\/\/globalfishingwatch.org\/es\/","name":"Global Fishing Watch","description":"Publicly sharing knowledge about human activity at sea","publisher":{"@id":"https:\/\/globalfishingwatch.org\/es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/globalfishingwatch.org\/es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/globalfishingwatch.org\/es\/#organization","name":"Global Fishing Watch","url":"https:\/\/globalfishingwatch.org\/es\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/globalfishingwatch.org\/es\/#\/schema\/logo\/image\/","url":"https:\/\/globalfishingwatch.org\/wp-content\/uploads\/GFW_logo_secondary_RGB_Final.png","contentUrl":"https:\/\/globalfishingwatch.org\/wp-content\/uploads\/GFW_logo_secondary_RGB_Final.png","width":3606,"height":2192,"caption":"Global Fishing Watch"},"image":{"@id":"https:\/\/globalfishingwatch.org\/es\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/GlobalFishingWatch\/","https:\/\/x.com\/GlobalFishWatch","https:\/\/www.linkedin.com\/company\/global-fishing-watch","https:\/\/www.youtube.com\/channel\/UCFMjCB4uesIrCmO2G5II5zw","https:\/\/www.instagram.com\/globalfishingwatch\/"],"description":"Our purpose is to create and publicly share knowledge about human activity at sea to enable fair and sustainable use of our ocean. We use cutting-edge technology to turn big data into actionable information. We believe human activity at sea should be common knowledge in order to safeguard the global ocean for the good of all.","email":"info@globalfishingwatch.org","legalName":"Global Fishing Watch","foundingDate":"2015-06-01","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"51","maxValue":"200"}}]}},"_links":{"self":[{"href":"https:\/\/globalfishingwatch.org\/es\/wp-json\/wp\/v2\/ht-kb\/28355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/globalfishingwatch.org\/es\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/globalfishingwatch.org\/es\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/globalfishingwatch.org\/es\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/globalfishingwatch.org\/es\/wp-json\/wp\/v2\/comments?post=28355"}],"version-history":[{"count":1,"href":"https:\/\/globalfishingwatch.org\/es\/wp-json\/wp\/v2\/ht-kb\/28355\/revisions"}],"predecessor-version":[{"id":28356,"href":"https:\/\/globalfishingwatch.org\/es\/wp-json\/wp\/v2\/ht-kb\/28355\/revisions\/28356"}],"wp:attachment":[{"href":"https:\/\/globalfishingwatch.org\/es\/wp-json\/wp\/v2\/media?parent=28355"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/globalfishingwatch.org\/es\/wp-json\/wp\/v2\/ht-kb-category?post=28355"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/globalfishingwatch.org\/es\/wp-json\/wp\/v2\/ht-kb-tag?post=28355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}