Git Product home page Git Product logo

cnmc_client's People

Contributors

aruaibrahim avatar destanyol avatar eberloso avatar ecarreras avatar giscegit avatar guillejb avatar xavitorello avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

aruaibrahim

cnmc_client's Issues

Rename "cnmc" package

Will be interesting to rename the "cncm" maing package to "cnmc_client" to avoid collisions with other "cnmc" libraries

Limited queries per hour

Fetch massive might block cnmc api as it has a limited query/hour.
An option to wait between calls is needed

Add fetch_massive method

A method to download massively a huge list of CUPS must be provided.

The expected result is a list of files (CSV or binary, like the fetch()) for all partial chunk of CUPS

Provide MVP of the CNCM client

It must provide an easy way to interact with the CNCM API, being able to:

  • list files
  • filter from available and already downloaded files
  • download files

Also it must handle transparently for the user the OAuth1 session handling based on the key and the secret tokens.

All must be tested and be created over py3.6 with py2.7 compatibility.

Provide a tool to update SIPS based on their zipcode

Will be needed to provide a script that:

  • find all CUPS that own a particular zipcode
  • for each one, reach their SIPS information using the CNMC client
  • save it to a new collection

CUPS data will be inside a MongoDB collection, and must be saved to a different collection

Humanize SIPS updater by ZIP tool tariff

So far the tariff parsed by the SIPS updater by ZIP tool return just the OCSUM code.

Will be interesting to replace it with the related tariff label:

TARIFFS_OCSUM = {
'001': "2.0A",
'003': "3.0A",
'004': "2.0DHA",
'005': "2.1A",
'006': "2.1DHA",
'007': "2.0DHS",
'008': "2.1DHS",
'011': "3.1A",
'012': "6.1",
'013': "6.2",
'014': "6.3",
'015': "6.4",
'016': "6.5",
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.