{ "info": { "author": "Leonardo Gatica", "author_email": "lgatica@protonmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "cne\n===\n\n.. image:: https://img.shields.io/pypi/v/cne.svg?style=flat-square\n :target: https://pypi.python.org/pypi/cne\n\n.. image:: https://img.shields.io/pypi/dm/cne.svg?style=flat-square\n :target: https://pypi.python.org/pypi/cne\n\n.. image:: https://img.shields.io/pypi/wheel/cne.svg?style=flat-square\n :target: https://pypi.python.org/pypi/cne\n\n.. image:: https://img.shields.io/pypi/format/cne.svg?style=flat-square\n :target: https://pypi.python.org/pypi/cne\n\n.. image:: https://img.shields.io/pypi/pyversions/cne.svg?style=flat-square\n :target: https://pypi.python.org/pypi/cne\n\n.. image:: https://img.shields.io/pypi/status/cne.svg?style=flat-square\n :target: https://pypi.python.org/pypi/cne\n\n.. image:: https://img.shields.io/pypi/l/cne.svg?style=flat-square\n :target: https://raw.githubusercontent.com/lgaticaq/python-cne/master/LICENSE\n\n.. image:: https://img.shields.io/travis/lgaticaq/python-cne.svg?style=flat-square\n :target: https://travis-ci.org/lgaticaq/python-cne\n\n.. image:: https://img.shields.io/badge/gitter-join%20chat%20%E2%86%92-brightgreen.svg?style=flat-square\n :target: https://gitter.im/lgaticaq/python-cne?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge\n\nGet fuel price from cne api\n\nInstallation\n------------\n\n.. code-block:: bash\n\n $ pip install cne\n\n\nUse\n---\n\n.. code-block:: python\n\n >>> import cne\n >>> data = cne.get(fuelType='gasolina_95', commune='santiago')\n >>> print(data)\n {\n id: 'ul1510101',\n fecha: '2015-07-24 20:29:23',\n direccion_calle: 'Barros Arana',\n direccion_numero: '3081',\n latitud: -18.458676528284,\n longitud: -70.288939476013,\n nombre_comuna: 'Arica',\n nombre_distribuidor: 'Uligas',\n tienda_conveniencia: '',\n farmacia: '',\n bano_publico: '1',\n servicios_mantencion: '',\n autoservicio: '',\n horario_atencion: 'HH',\n precio_por_combustible: {\n glp_vehicular: 393\n },\n metodos_de_pago: {\n efectivo: '1'\n }\n }\n\nFuel types availables\n---------------------\n\n.. code-block:: bash\n\n gasolina_93, gasolina_95, gasolina_97, glp_vehicular, gnc, kerosene, petroleo_diesel\n\n\nCommunes availables\n-------------------\n\n.. code-block:: bash\n\n Ais\u00e9n, Algarrobo, Alhu\u00e9, Alto Hospicio, Ancud, Andacollo, Angol, Antofagasta, Antuco, Arauco, Arica, Buin, Bulnes, Cabildo, Cabo de Hornos, Cabrero, Calama, Calbuco, Caldera, Calera de Tango, Calera, Calle Larga, Canela, Carahue, Cartagena, Casablanca, Castro, Catemu, Cauquenes, Ca\u00f1ete, Cerrillos, Cerro Navia, Chait\u00e9n, Chanco, Cha\u00f1aral, Chiguayante, Chile Chico, Chill\u00e1n Viejo, Chill\u00e1n, Chimbarongo, Cholchol, Chonchi, Ch\u00e9pica, Cisnes, Cobquecura, Cocham\u00f3, Cochrane, Coelemu, Coihaique, Coihueco, Colb\u00fan, Colina, Collipulli, Coltauco, Combarbal\u00e1, Concepci\u00f3n, Conchal\u00ed, Conc\u00f3n, Constituci\u00f3n, Contulmo, Copiap\u00f3, Coquimbo, Coronel, Corral, Cunco, Curacaut\u00edn, Curacav\u00ed, Curanilahue, Curarrehue, Curepto, Curic\u00f3, Dalcahue, Diego de Almagro, Do\u00f1ihue, El Bosque, El Carmen, El Monte, El Quisco, Empedrado, Ercilla, Estaci\u00f3n Central, Florida, Freire, Fresia, Frutillar, Futrono, Galvarino, Gorbea, Graneros, Guaitecas, Hijuelas, Hualaihu\u00e9, Huala\u00f1\u00e9, Hualp\u00e9n, Huasco, Huechuraba, Illapel, Independencia, Iquique, Isla de Maipo, Isla de Pascua, La Cisterna, La Cruz, La Estrella, La Florida, La Granja, La Ligua, La Pintana, La Reina, La Serena, La Uni\u00f3n, Lago Ranco, Laja, Lampa, Lanco, Las Cabras, Las Condes, Lautaro, Lebu, Licant\u00e9n, Limache, Linares, Litueche, Llaillay, Llanquihue, Lo Barnechea, Lo Espejo, Lo Prado, Lolol, Loncoche, Longav\u00ed, Lonquimay, Los Andes, Los Lagos, Los Muermos, Los Sauces, Los Vilos, Los \u00c1lamos, Los \u00c1ngeles, Lota, Lumaco, Machal\u00ed, Macul, Maip\u00fa, Malloa, Marchihue, Mariquina, Mar\u00eda Elena, Mar\u00eda Pinto, Maule, Maull\u00edn, Mejillones, Melipeuco, Melipilla, Molina, Monte Patria, Mostazal, Mulch\u00e9n, M\u00e1fil, Nacimiento, Nancagua, Natales, Navidad, Negrete, Ninhue, Nogales, Nueva Imperial, \u00d1iqu\u00e9n, \u00d1u\u00f1oa, Olivar, Olmu\u00e9, Osorno, Ovalle, O\u0092Higgins, Padre Hurtado, Padre las Casas, Paillaco, Paine, Palena, Palmilla, Panguipulli, Panquehue, Papudo, Paredones, Parral, Pedro Aguirre Cerda, Pelarco, Pelluhue, Pemuco, Pencahue, Penco, Peralillo, Perquenco, Petorca, Peumo, Pe\u00f1aflor, Pe\u00f1alol\u00e9n, Pica, Pichidegua, Pichilemu, Pinto, Pirque, Pitrufqu\u00e9n, Placilla, Porvenir, Pozo Almonte, Primavera, Providencia, Puchuncav\u00ed, Puc\u00f3n, Pudahuel, Puente Alto, Puerto Montt, Puerto Octay, Puerto Varas, Pumanque, Punitaqui, Punta Arenas, Purranque, Pur\u00e9n, Putaendo, Puyehue, Queil\u00e9n, Quell\u00f3n, Quilicura, Quillota, Quill\u00f3n, Quilpu\u00e9, Quinchao, Quinta Normal, Quinta de Tilcoco, Quintero, Quirihue, Rancagua, Rauco, Recoleta, Renaico, Renca, Rengo, Requ\u00ednoa, Retiro, Rinconada, Romeral, R\u00e1nquil, R\u00edo Bueno, R\u00edo Claro, R\u00edo Ib\u00e1\u00f1ez, R\u00edo Negro, Saavedra, Sagrada Familia, Salamanca, San Antonio, San Bernardo, San Carlos, San Clemente, San Esteban, San Felipe, San Fernando, San Gregorio, San Ignacio, San Javier, San Joaqu\u00edn, San Jos\u00e9 de Maipo, San Miguel, San Nicol\u00e1s, San Pablo, San Pedro de Atacama, San Pedro de la Paz, San Rafael, San Ram\u00f3n, San Vicente, Santa B\u00e1rbara, Santa Cruz, Santa Juana, Santa Mar\u00eda, Santiago, Santo Domingo, Sierra Gorda, Talagante, Talca, Talcahuano, Taltal, Temuco, Teno, Teodoro Schmidt, Tierra Amarilla, Tiltil, Tir\u00faa, Tocopilla, Tolt\u00e9n, Tom\u00e9, Traigu\u00e9n, Tucapel, Valdivia, Vallenar, Valpara\u00edso, Victoria, Vicu\u00f1a, Vilc\u00fan, Villa Alegre, Villa Alemana, Villarrica, Vitacura, Vi\u00f1a del Mar, Yerbas Buenas, Yumbel, Yungay, Zapallar\n\n\nDistributors availables\n-----------------------\n\n.. code-block:: bash\n\n ABASTIBLE, APEX, ATT, AUTOGASCO, BALTOLU, CAVE, CHILIN, COC, COMBUSTIBLES AMADE, COMBUSTIBLES JCD, COMERCIAL MAQUI, COPEC, CUSTOM SERVICE, Combustible Alhue, Combustibles Endless.com, Combustibles Ortiz, Coopeserau, Cremaschi, DELPA, ECCO, ECOGREEN LTDA., EL HUIQUE, ENERSUR S.A., FACAZ, HN, HOLA!, J Allel, JLC, LIDER S.A., LIPIGAS, PETROBRAS, PETROJAC, PETRONEXT, Puma Verde, Rafael Letelier Ya\u00f1ez y Cia Ltda, SERVICENTRO LEAL, SERVICENTRO SAN MIGUEL, SERVICENTROS RABALME, SESA, SHELL, SINHEL, SOCORRO, SUAREZ COMBUSTIBLES, SURENERGY, Sin Bandera, TERPEL, Uligas, VIVA COMBUSTIBLES", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/lgaticaq/python-cne", "keywords": "cne fuel api", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "cne", "package_url": "https://pypi.org/project/cne/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cne/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/lgaticaq/python-cne" }, "release_url": "https://pypi.org/project/cne/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "Get fuel price from cne api", "version": "0.1.4" }, "last_serial": 1699968, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0683c321a6866c01fd8e27fbcef7ded9", "sha256": "2481b67e24524775d9638dd5ce825f9d8dc6a840be487e83c6eab440d83fd84a" }, "downloads": -1, "filename": "cne-0.0.1.tar.gz", "has_sig": false, "md5_digest": "0683c321a6866c01fd8e27fbcef7ded9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1993, "upload_time": "2015-08-21T20:49:49", "url": "https://files.pythonhosted.org/packages/7f/6b/52f7908c16589c448a7419aaf5c02deb0097bbf46fe0a9c3d0e0cdd6b86c/cne-0.0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "aa840a09ff0f30051799ce081087dc5e", "sha256": "f281d559d0fb3efd3925145ff6d38655d2aab4307dfc333399ac3fb5f04afbc8" }, "downloads": -1, "filename": "cne-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "aa840a09ff0f30051799ce081087dc5e", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10546, "upload_time": "2015-08-30T06:04:35", "url": "https://files.pythonhosted.org/packages/fd/c3/8b187e83da1a55d9407a5b3da61a5b59804e9d97377c1ed3ead21725b62f/cne-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2ef2a2ef1df1b022c561cee3aea5aebc", "sha256": "d5ec40b062b48f7f93bf20f0c3ea1762c491b53144a312938cb0bb8f504d4b84" }, "downloads": -1, "filename": "cne-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2ef2a2ef1df1b022c561cee3aea5aebc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6545, "upload_time": "2015-08-30T06:04:20", "url": "https://files.pythonhosted.org/packages/7d/51/bc592559c09f4aa6510266a1739f9915eec13545c7835493a2a0bc2f9442/cne-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "8358b14d0e54b7e163db4b9d7f182cca", "sha256": "7f1704e77e9b7cbace0c259876f9c91385ed64e0383f95115b9cd653093b6efb" }, "downloads": -1, "filename": "cne-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8358b14d0e54b7e163db4b9d7f182cca", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10578, "upload_time": "2015-08-30T06:12:15", "url": "https://files.pythonhosted.org/packages/ab/2d/150ad311a26a7e35dd66e22b6c3ee10f0c2f188fc0d9f912641a60e51dc2/cne-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dc366d4dee7af631ef66847f89dc21af", "sha256": "74c8578010ecccb705e090a96071dac03c6e30d06bbf6d3b115735e825cb78ce" }, "downloads": -1, "filename": "cne-0.1.2.tar.gz", "has_sig": false, "md5_digest": "dc366d4dee7af631ef66847f89dc21af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6566, "upload_time": "2015-08-30T06:12:07", "url": "https://files.pythonhosted.org/packages/66/c2/a569ccb66638f95762dafd219cb1dc0b50aa4c644b85ef7e5ece8d3bc518/cne-0.1.2.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "b5ae21173303cc527f465a3e768baed9", "sha256": "843a550c5f63f62dfe509ca361252172d7576a3917543fc1c3b365b15e9a8faa" }, "downloads": -1, "filename": "cne-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b5ae21173303cc527f465a3e768baed9", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 8461, "upload_time": "2015-08-30T06:38:51", "url": "https://files.pythonhosted.org/packages/0e/7a/7101c6c644b87cb6df0edb35d73c7ed8730126e70463c75f1a513f211d0d/cne-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "05c33196b8a633859e15ad5a1e02a0c6", "sha256": "6d3813cabb4ff08ac092b68f3481410b64bb3e18c6d635239aae95f3678ecc65" }, "downloads": -1, "filename": "cne-0.1.4.tar.gz", "has_sig": false, "md5_digest": "05c33196b8a633859e15ad5a1e02a0c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4980, "upload_time": "2015-08-30T06:38:39", "url": "https://files.pythonhosted.org/packages/52/47/72d5b6813cd365e597d764e87e2e6e1085cf22811d21c1f1f92d40fb979b/cne-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b5ae21173303cc527f465a3e768baed9", "sha256": "843a550c5f63f62dfe509ca361252172d7576a3917543fc1c3b365b15e9a8faa" }, "downloads": -1, "filename": "cne-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b5ae21173303cc527f465a3e768baed9", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 8461, "upload_time": "2015-08-30T06:38:51", "url": "https://files.pythonhosted.org/packages/0e/7a/7101c6c644b87cb6df0edb35d73c7ed8730126e70463c75f1a513f211d0d/cne-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "05c33196b8a633859e15ad5a1e02a0c6", "sha256": "6d3813cabb4ff08ac092b68f3481410b64bb3e18c6d635239aae95f3678ecc65" }, "downloads": -1, "filename": "cne-0.1.4.tar.gz", "has_sig": false, "md5_digest": "05c33196b8a633859e15ad5a1e02a0c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4980, "upload_time": "2015-08-30T06:38:39", "url": "https://files.pythonhosted.org/packages/52/47/72d5b6813cd365e597d764e87e2e6e1085cf22811d21c1f1f92d40fb979b/cne-0.1.4.tar.gz" } ] }