Giter Site home page Giter Site logo

samurai016 / comuni-ita-legacy Goto Github PK

View Code? Open in Web Editor NEW
23.0 1.0 3.0 4.23 MB

Semplice API che permette di ottenere in formato JSON i comuni italiani.

Home Page: https://comuni-ita.herokuapp.com/

JavaScript 100.00%
api comuni-italiani heroku nodejs redoc rest-api telegram telegram-bot

comuni-ita-legacy's Issues

Wrong postal codes

Please overview the postal codes, as they seem to be not correct in some cases. E.g. Appiano sulla strada del vino return 39050 as postal code. This was once its postal code, but now the correct one would be 39057

Richiesta province

Ciao, potrebbe essere interessante , passando la regione, avere la lista delle provincie e poi passando la provicnia avere la lista dei comuni, in modo da caricare meno dati

Prendere tutti i comuni di una regione

Salve, con la nuova versione come è possibile richiedere tutti i comuni di una determinata regione?
Usavo questo url https://comuni-ita.herokuapp.com/api/comuni/sicilia?onlyname=true
Ma mi da Regione inesistente

Errore Deserializzazione Coordinate

cioa, ho notato che alcune coordinate sono tra apici e altri no quindi quando faccio il deserialize va in errore:

esempio:

{"nome":"Zafferana Etnea","codice":"087055","regione":"sicilia","provincia":"catania","sigla":"CT","codiceCatastale":"M139","cap":"95019","coordinate":{"lat":37.690411,"lng":15.1051709}}

{"nome":"Alì","codice":"083002","regione":"sicilia","provincia":"messina","sigla":"ME","codiceCatastale":"A194","cap":"98020","coordinate":{"lat":"38.02694065","lng":"15.41797276"}}

Coordinate

ciao , chiedevo se per caso non era interessante anche inserire le coordinate relative al cap

Possibilità di cercare un comune tramite key

Non so se sia già possibile ma sarebbe comodo poter ottenere un singolo comune tramite query come ad esempio
https://comuni-ita.herokuapp.com/api/comuni?nome=milano

Con risposta

{
        "codice": "015146",
        "nome": "Milano",
        "nomeStraniero": null,
        "codiceCatastale": "F205",
        "cap": "20141",
        "prefisso": "02",
        "provincia": "015",
        "coordinate": {
            "lat": 45.46694564819336,
            "lng": 9.1899995803833
        }
},

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.