Skip to content

About

Che168 API client for Python and JavaScript: Chinese used-car listings from Che168 as JSON. From the apiauto.space team, not affiliated with Che168 or Autohome

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Che168 API clients for Python and JavaScript

Chinese used-car listings from Che168 as clean JSON through the apiauto.space REST API: search by make, model, year, price and mileage, fetch one listing by its number, follow new cars and price changes. No scraper to write or maintain.

Language Package Install Folder
Python 3.10+ che168-api on PyPI pip install che168-api python/
JavaScript / TypeScript che168-api on npm npm install che168-api js/
import che168_api

with che168_api.Client() as client:  # reads APIAUTO_KEY
    for car in client.cars(brand="BYD", year_min=2020, limit=20)["items"]:
        print(car["id"], car["title"], car["price"]["amount"])
import { Che168Api } from "che168-api";

const page = await new Che168Api().cars({ brand: "BYD", year_min: 2020, limit: 20 });

Both are thin layers over the general apiauto.space clients (Python, JavaScript) with the market preset to cn. A key comes from the Telegram bot @apiautospace_bot; see each package's README.

More: Che168 API page, API documentation, examples in curl, Python, JavaScript and PHP. Clients for the other sources: encar-api, che168-api, copart-api, iaai-api.

From the apiauto.space team. Not affiliated with Che168 or Autohome; Che168 is a trademark of its owner and is named here only to say which listings the clients return. MIT license.

About

Che168 API client for Python and JavaScript: Chinese used-car listings from Che168 as JSON. From the apiauto.space team, not affiliated with Che168 or Autohome

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages