Skip to content
Crawls the official Tesla CPO (certified pre-owned) inventory and posts to Slack. DEPRECATED: see instead
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore include summary counts by badge Nov 2, 2016

Tesla Crawler CPO w/ Slack Client

This crawls the official Tesla CPO (certified pre-owned) inventory based on some criteria and posts the results to a Slack channel.

The default filter just checks for P85 with Autopilot -- modifying the filter is trivial:

def filter_p85_autopilot(df):
    return df[df['isAutopilot'] & df['Badge'].isin(['P85', 'P85+'])]

Lastly, the URL hit has a metroId -- the value of 3 corresponds to SF; removing it shows Teslas for the entire country. The only country code I had success with was 'US'.


$ python --slack-webhook="https://.../"
You can’t perform that action at this time.