Coder Social home page Coder Social logo

clarity_finder's Introduction

clarity_finder

query honda API to find all dealerships that are stocking 2020 Clarity by zip code

Why

2020 Clarity is only being sold in California despite demand elsewhere and is difficult to find. Someone on a Facebook post recommended finding zip codes of major cities and checking each one. I figured we could brute force that problem and maintain a list. The list in clarity_dealers.txt was last updated 2020-03-06.

Usage

pip3 install -r requirements.txt
python3 clarity_finder.py
python3 clarity_finder.py --year=2019 #use this to switch model year
open clarity_dealers.txt

I just want to see the data

check out the most recent list

Caveats

If Honda changes or limits their API, this might no longer work. The data in the text file is only as good as the last time it was run. It takes a while to run, I let it go overnight. The count may be inaccurate, but all of the ones listed should have or be expecting at least one Clarity. There also may be a few that are missed if there's ever a case where there are more than one dealer in the same zip+4 area. This is probably unlikely.

clarity_finder's People

Contributors

bensmith83 avatar bentenable avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.