Giter VIP home page Giter VIP logo

scrape-kbb's Introduction

scrape-kbb


The primary goal of the project is to capture Kelly Blue Book (KBB) value information to use for depreciation ananalysis.

This will be accomplished by querying KBB for several configuraiton of a particular make and movel of vehicle. Price information is updated weekly on KBB and will be captured on weekly intervals. The program will query the site for the make, model, style (trim), and mileage. The program will capture price information for one of three purchasing intents, and for a variety of vehicle conditions.

Design


Mainly this excercise is to use requests, beautifulsoup, pandas and matplotlib along with collaborating with @nettns who is new to python/github and these technologies.

Specifically it would be nice to do analysis like the following:

  • How is my depreciation changing week to week (requires weekly scraping)
  • What is the depreciation curve for a given used vehicle
  • What is the optimal mileage point to sell you used vehicle

Behavior


Took a while poking around on the site to make the following list. In general the site isn't very clear as to what rabbit hole you have gone down to yield a specific or set of cost(s). There seems to be three intents, outlined below with example option queries and example yields.

All base urls appear as:

http://www.kbb.com/<make>/<model>/<year>-<make>-<model>/<style>/?intent=<intent>&pricetype=<pricetype>

Intent : buy-new

pricetype : none
yields : MSRP, Fair Purchase Price, Dealer Invoice

Intent : buy-used

pricetype : Certified Pre Owned (cpo) (?intent=buy-used&amp;pricetype=cpo)
yields : Single Price [Excellent]

pricetype : Suggested Retail (retail) (?intent=buy-used&amp;pricetype=retail)
yields : Single Price [Excellent]

pricetype : Private Party (private-party) (?intent=buy-used&amp;pricetype=private-party)
yields : List of Prices, [Excellent, Very Good, Good, Fair] 

Intent : trade-in-sell

pricetype : Trade In Value (trade-in) (?intent=trade-in-sell&amp;pricetype=trade-in)
yields : List of Prices, [Excellent, Very Good, Good, Fair] 

pricetype : Private Party (private-party) (?intent=trade-in-sell&amp;pricetype=private-party)
yields : List of Prices, [Excellent, Very Good, Good, Fair] 

References

scrape-kbb's People

Contributors

nettns 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.