{"id":1758,"date":"2021-05-18T17:26:04","date_gmt":"2021-05-18T23:26:04","guid":{"rendered":"https:\/\/tecsify.com\/blog\/?post_type=codigos&#038;p=1758"},"modified":"2021-05-19T08:57:34","modified_gmt":"2021-05-19T14:57:34","slug":"python-criptomonedas","status":"publish","type":"codigos","link":"https:\/\/tecsify.com\/blog\/codigo\/python-criptomonedas\/","title":{"rendered":"Python: Obten el precio de criptomonedas en tiempo real"},"featured_media":1760,"menu_order":0,"template":"","format":"standard","categories":[],"class_list":["post-1758","codigos","type-codigos","status-publish","format-standard","has-post-thumbnail"],"acf":{"titulo":"Python: Obten el precio de criptomonedas en tiempo real","descripcion":"Aprende como obtener los precios en tiempo real e hist\u00f3ricos, hacer conversiones y comparaciones de las diferentes criptomonedas del mercado con la librer\u00eda \u201ccryptocompare\u201d\r\n<br><br>\r\n<strong>Requerimientos para este c\u00f3digo:<\/strong>\r\n<br><br>\r\nPuedes realizar este c\u00f3digo desde un IDE en tu computadora, primero debes instalar la librer\u00eda 'cryptocompare' mediante el siguiente c\u00f3digo en la l\u00ednea de comandos: <br>\r\n<span style='color:blue'>pip install cryptocompare<\/span>\r\n<br><br>\r\n<strong>\u00bfTe gustar\u00eda saber m\u00e1s?<\/strong>\r\n<br><br>\r\nEn este ejemplo te hemos ense\u00f1ado como obtener precios y hacer conversiones de criptomonedas utilizando la librer\u00eda \u2018cryptocompare\u2019, estos datos pueden ser utilizados de diferentes maneras, puedes crear gr\u00e1ficas estadisticas sobre datos hist\u00f3ricos con librer\u00edas como matplotlib, puedes tambi\u00e9n hacer predicciones mediante procesos de machine learning con regresiones lineales (no recomendable si vas a tomarlo como base para invertir) entre otras cosas s\u00faper geniales.\r\n<br><br>\r\nPuedes ver la documentaci\u00f3n de la librer\u00eda en el siguiente enlace: <span style='color:blue'> <a href='https:\/\/pypi.org\/project\/cryptocompare\/' target='_blank'>Documentaci\u00f3n oficial de la librer\u00eda de cryptocompare<\/a><\/span>","imagen":1760,"videoyt":"","lenguaje":"Python","codigo_git":"<script src=\"https:\/\/gist.github.com\/tecsify\/ecbe2f7dcb5dc797a0c2926e5b993397.js\"><\/script>","nivel":false,"idea_clave":"N\/A"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Python: Obten el precio de criptomonedas en tiempo real | Tecsify Blog<\/title>\n<meta name=\"description\" content=\"Aprende a convertir criptomonedas con cryptocompare y unas simples l\u00edneas de c\u00f3digo en Python con Tecsify \u00a1Totalmente gratis!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tecsify.com\/blog\/codigos\/python-criptomonedas\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python: Obten el precio de criptomonedas en tiempo real | Tecsify Blog\" \/>\n<meta property=\"og:description\" content=\"Aprende a convertir criptomonedas con cryptocompare y unas simples l\u00edneas de c\u00f3digo en Python con Tecsify \u00a1Totalmente gratis!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tecsify.com\/blog\/codigos\/python-criptomonedas\/\" \/>\n<meta property=\"og:site_name\" content=\"Tecsify Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Tecsify\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-19T14:57:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/05\/PythonCrypto.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1100\" \/>\n\t<meta property=\"og:image:height\" content=\"1100\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@tecsify\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/codigos\\\/python-criptomonedas\\\/\",\"url\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/codigos\\\/python-criptomonedas\\\/\",\"name\":\"Python: Obten el precio de criptomonedas en tiempo real | Tecsify Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/codigos\\\/python-criptomonedas\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/codigos\\\/python-criptomonedas\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/PythonCrypto.jpg\",\"datePublished\":\"2021-05-18T23:26:04+00:00\",\"dateModified\":\"2021-05-19T14:57:34+00:00\",\"description\":\"Aprende a convertir criptomonedas con cryptocompare y unas simples l\u00edneas de c\u00f3digo en Python con Tecsify \u00a1Totalmente gratis!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/codigos\\\/python-criptomonedas\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/tecsify.com\\\/blog\\\/codigos\\\/python-criptomonedas\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/codigos\\\/python-criptomonedas\\\/#primaryimage\",\"url\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/PythonCrypto.jpg\",\"contentUrl\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/PythonCrypto.jpg\",\"width\":1100,\"height\":1100,\"caption\":\"Python Crypto\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/codigos\\\/python-criptomonedas\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Inicio\",\"item\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Codigos\",\"item\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/codigo\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python: Obten el precio de criptomonedas en tiempo real\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/\",\"name\":\"Tecsify Blog\",\"description\":\"Tecnolog\u00eda, IA y Desarrollo de Software\",\"publisher\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#organization\"},\"alternateName\":\"Tecsify Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#organization\",\"name\":\"Tecsify\",\"alternateName\":\"Tecsify Blog\",\"url\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/bluenew.png\",\"contentUrl\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/bluenew.png\",\"width\":830,\"height\":443,\"caption\":\"Tecsify\"},\"image\":{\"@id\":\"https:\\\/\\\/tecsify.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Tecsify\",\"https:\\\/\\\/x.com\\\/tecsify\",\"https:\\\/\\\/www.instagram.com\\\/tecsify\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCalG-fWPHHWG-XTzhcCn0_A\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/tecsify\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python: Obten el precio de criptomonedas en tiempo real | Tecsify Blog","description":"Aprende a convertir criptomonedas con cryptocompare y unas simples l\u00edneas de c\u00f3digo en Python con Tecsify \u00a1Totalmente gratis!","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:\/\/tecsify.com\/blog\/codigos\/python-criptomonedas\/","og_locale":"es_ES","og_type":"article","og_title":"Python: Obten el precio de criptomonedas en tiempo real | Tecsify Blog","og_description":"Aprende a convertir criptomonedas con cryptocompare y unas simples l\u00edneas de c\u00f3digo en Python con Tecsify \u00a1Totalmente gratis!","og_url":"https:\/\/tecsify.com\/blog\/codigos\/python-criptomonedas\/","og_site_name":"Tecsify Blog","article_publisher":"https:\/\/www.facebook.com\/Tecsify","article_modified_time":"2021-05-19T14:57:34+00:00","og_image":[{"width":1100,"height":1100,"url":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/05\/PythonCrypto.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@tecsify","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tecsify.com\/blog\/codigos\/python-criptomonedas\/","url":"https:\/\/tecsify.com\/blog\/codigos\/python-criptomonedas\/","name":"Python: Obten el precio de criptomonedas en tiempo real | Tecsify Blog","isPartOf":{"@id":"https:\/\/tecsify.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tecsify.com\/blog\/codigos\/python-criptomonedas\/#primaryimage"},"image":{"@id":"https:\/\/tecsify.com\/blog\/codigos\/python-criptomonedas\/#primaryimage"},"thumbnailUrl":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/05\/PythonCrypto.jpg","datePublished":"2021-05-18T23:26:04+00:00","dateModified":"2021-05-19T14:57:34+00:00","description":"Aprende a convertir criptomonedas con cryptocompare y unas simples l\u00edneas de c\u00f3digo en Python con Tecsify \u00a1Totalmente gratis!","breadcrumb":{"@id":"https:\/\/tecsify.com\/blog\/codigos\/python-criptomonedas\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tecsify.com\/blog\/codigos\/python-criptomonedas\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/tecsify.com\/blog\/codigos\/python-criptomonedas\/#primaryimage","url":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/05\/PythonCrypto.jpg","contentUrl":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/05\/PythonCrypto.jpg","width":1100,"height":1100,"caption":"Python Crypto"},{"@type":"BreadcrumbList","@id":"https:\/\/tecsify.com\/blog\/codigos\/python-criptomonedas\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Inicio","item":"https:\/\/tecsify.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Codigos","item":"https:\/\/tecsify.com\/blog\/codigo\/"},{"@type":"ListItem","position":3,"name":"Python: Obten el precio de criptomonedas en tiempo real"}]},{"@type":"WebSite","@id":"https:\/\/tecsify.com\/blog\/#website","url":"https:\/\/tecsify.com\/blog\/","name":"Tecsify Blog","description":"Tecnolog\u00eda, IA y Desarrollo de Software","publisher":{"@id":"https:\/\/tecsify.com\/blog\/#organization"},"alternateName":"Tecsify Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tecsify.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/tecsify.com\/blog\/#organization","name":"Tecsify","alternateName":"Tecsify Blog","url":"https:\/\/tecsify.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/tecsify.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/05\/bluenew.png","contentUrl":"https:\/\/tecsify.com\/blog\/wp-content\/uploads\/2021\/05\/bluenew.png","width":830,"height":443,"caption":"Tecsify"},"image":{"@id":"https:\/\/tecsify.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Tecsify","https:\/\/x.com\/tecsify","https:\/\/www.instagram.com\/tecsify","https:\/\/www.youtube.com\/channel\/UCalG-fWPHHWG-XTzhcCn0_A\/","https:\/\/www.linkedin.com\/company\/tecsify\/"]}]}},"_links":{"self":[{"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/codigo\/1758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/codigo"}],"about":[{"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/types\/codigos"}],"version-history":[{"count":0,"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/codigo\/1758\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/media\/1760"}],"wp:attachment":[{"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/media?parent=1758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tecsify.com\/blog\/wp-json\/wp\/v2\/categories?post=1758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}