Skip to main content

Get fuel price from cne api

Project description

https://img.shields.io/pypi/v/cne.svg https://img.shields.io/pypi/dm/cne.svg https://img.shields.io/pypi/dm/cne.svg https://img.shields.io/badge/license-MIT-blue.svg https://codeship.com/projects/4d6ff4e0-2a72-0133-0222-622b866f1c07/status?branch=master

Get fuel price from cne api

Installation

$ pip install cne

Use

>>> import cne
>>> data = cne.get()
>>> print(data)
{'gasolina_97': 842, 'gasolina_95': 805, 'kerosene': 578, 'gasolina_93': 769, 'petroleo_diesel': 494}
>>> data = cne.get(fuel_type='gasolina_93')
>>> print(data)
769

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cne, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size cne-0.0.1.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page